Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001067/0.001067, allocations: 179.2 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.281/1.281, allocations: 194.5 MB / 211.6 MB, free: 3.047 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001542/0.001542, allocations: 125.5 kB / 256.9 MB, free: 4.336 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002784/0.0002784, allocations: 8 kB / 310.6 MB, free: 14.92 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07317/0.07346, allocations: 44.49 MB / 355.1 MB, free: 2.324 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2325/0.3061, allocations: 90.23 MB / 445.3 MB, free: 15.5 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000196/0.3063, allocations: 84.14 kB / 445.4 MB, free: 15.45 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7933/1.1, allocations: 312.8 MB / 0.7404 GB, free: 66.23 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.504e-06/1.1, allocations: 4 kB / 0.7404 GB, free: 66.23 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004204/1.1, allocations: 180.4 kB / 0.7406 GB, free: 66.22 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2549 * Number of variables: 2549 Notification: Performance of Generate backend data structure: time 0.02557/1.126, allocations: 9.861 MB / 0.7502 GB, free: 62.91 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/1.126, allocations: 14.59 kB / 0.7502 GB, free: 62.9 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02718/1.153, allocations: 5.551 MB / 0.7557 GB, free: 62.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01292/1.166, allocations: 6.128 MB / 0.7616 GB, free: 58.68 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006135/1.166, allocations: 0.6273 MB / 0.7623 GB, free: 58.4 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002619/1.169, allocations: 0.8072 MB / 0.763 GB, free: 57.63 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0253/1.194, allocations: 16.82 MB / 0.7795 GB, free: 40.61 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001459/1.195, allocations: 19.83 kB / 0.7795 GB, free: 40.6 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001017/1.196, allocations: 351.2 kB / 0.7798 GB, free: 40.26 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004952/1.196, allocations: 0.7129 MB / 0.7805 GB, free: 39.55 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02188/1.218, allocations: 16.18 MB / 0.7963 GB, free: 23.35 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2528/1.471, allocations: 51.26 MB / 0.8464 GB, free: 51.4 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01683/1.488, allocations: 13.8 MB / 0.8599 GB, free: 49.14 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00111/1.489, allocations: 315.3 kB / 0.8602 GB, free: 49.01 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.451e-05/1.489, allocations: 115 kB / 0.8603 GB, free: 48.96 MB / 410.7 MB Notification: Performance of pre-optimization done (n=968): time 1.327e-05/1.489, allocations: 2.75 kB / 0.8603 GB, free: 48.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=968): time 0.06887/1.558, allocations: 39.63 MB / 0.899 GB, free: 34.95 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.665e-05/1.558, allocations: 155.1 kB / 0.8991 GB, free: 34.84 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002016/1.56, allocations: 1.636 MB / 0.9007 GB, free: 34.28 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008351/1.561, allocations: 150 kB / 0.9009 GB, free: 34.16 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009656/1.562, allocations: 2.536 MB / 0.9033 GB, free: 32.73 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002146/1.564, allocations: 3.149 MB / 0.9064 GB, free: 30.37 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004808/1.564, allocations: 133.1 kB / 0.9065 GB, free: 30.27 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.00036/1.565, allocations: 0.6443 MB / 0.9072 GB, free: 29.82 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007144/1.572, allocations: 6.511 MB / 0.9135 GB, free: 27.25 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007709/1.58, allocations: 7.13 MB / 0.9205 GB, free: 24.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008675/1.588, allocations: 7.512 MB / 0.9278 GB, free: 21.04 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.899e-05/1.588, allocations: 3.812 kB / 0.9278 GB, free: 21.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=1038) (initialization): time 0.02041/1.609, allocations: 18.11 MB / 0.9455 GB, free: 7.195 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.963e-05/1.609, allocations: 11.69 kB / 0.9455 GB, free: 7.188 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.859e-05/1.609, allocations: 7.969 kB / 0.9455 GB, free: 7.184 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01014/1.619, allocations: 6.638 MB / 0.952 GB, free: 1.918 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004882/1.624, allocations: 1.167 MB / 0.9531 GB, free: 1.059 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01737/1.641, allocations: 13.06 MB / 0.9659 GB, free: 6.539 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004281/1.646, allocations: 0.7857 MB / 0.9667 GB, free: 5.867 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006711/1.646, allocations: 269.1 kB / 0.9669 GB, free: 5.633 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (599): * Single equations (assignments): 520 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 75 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {10 25,10 63,10 25,10 95} Notification: Performance of prepare postOptimizeDAE: time 0.006363/1.653, allocations: 3.585 MB / 0.9704 GB, free: 2.73 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000924/1.654, allocations: 409.3 kB / 0.9708 GB, free: 2.328 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2052/1.859, allocations: 20.22 MB / 0.9906 GB, free: 79.56 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000252/1.859, allocations: 279.8 kB / 0.9908 GB, free: 79.56 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.049e-05/1.859, allocations: 0.5625 kB / 0.9908 GB, free: 79.56 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-05/1.859, allocations: 42.05 kB / 0.9909 GB, free: 79.56 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05076/1.91, allocations: 34.21 MB / 1.024 GB, free: 74.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.504e-05/1.91, allocations: 0.5625 kB / 1.024 GB, free: 74.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004679/1.915, allocations: 1.107 MB / 1.025 GB, free: 74.86 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01095/1.926, allocations: 6.639 MB / 1.032 GB, free: 73.1 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001414/1.927, allocations: 211.9 kB / 1.032 GB, free: 72.99 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01262/1.94, allocations: 12.73 MB / 1.044 GB, free: 66.61 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/1.94, allocations: 3.969 kB / 1.044 GB, free: 66.61 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03814/1.978, allocations: 28.74 MB / 1.073 GB, free: 50.86 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005487/1.983, allocations: 2.077 MB / 1.075 GB, free: 49.12 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001111/1.985, allocations: 138.6 kB / 1.075 GB, free: 49 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002991/1.988, allocations: 418.2 kB / 1.075 GB, free: 48.71 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00109/1.989, allocations: 0.7041 MB / 1.076 GB, free: 48.27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005672/1.989, allocations: 264.4 kB / 1.076 GB, free: 48.04 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001436/1.991, allocations: 1.271 MB / 1.077 GB, free: 46.99 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.91e-07/1.991, allocations: 0 / 1.077 GB, free: 46.99 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005143/1.996, allocations: 2.397 MB / 1.08 GB, free: 44.8 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (resistor_m.plug_p.reference.gamma,resistor_e.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (574): * Single equations (assignments): 495 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 75 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {10 25,10 63,10 25,10 95} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008556/1.997, allocations: 326.6 kB / 1.08 GB, free: 44.55 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01852/2.015, allocations: 15.68 MB / 1.095 GB, free: 31.1 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.87e-06/2.015, allocations: 4 kB / 1.095 GB, free: 31.1 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01093/2.026, allocations: 8.415 MB / 1.103 GB, free: 23.95 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00414/2.03, allocations: 0.5955 MB / 1.104 GB, free: 23.48 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02996/2.06, allocations: 25.33 MB / 1.129 GB, free: 0.8672 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006352/2.067, allocations: 6.336 MB / 1.135 GB, free: 11.98 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.005194/2.072, allocations: 1.813 MB / 1.137 GB, free: 10.73 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001238/2.073, allocations: 326.7 kB / 1.137 GB, free: 10.43 MB / 442.7 MB Notification: Performance of SimCode: time 6.91e-07/2.073, allocations: 0 / 1.137 GB, free: 10.43 MB / 442.7 MB Notification: Performance of Templates: time 0.341/2.414, allocations: 139 MB / 1.273 GB, free: 18.8 MB / 442.7 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.sim & ./Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe 2>&1)