Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.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.FundamentalWave.Examples.Components.MultiPhaseInductance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.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.0009803/0.0009802, allocations: 184 kB / 8.354 MB, free: 0.7305 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.314/1.314, allocations: 194.3 MB / 203.1 MB, free: 13.02 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.001588/0.001588, allocations: 116.7 kB / 248.1 MB, free: 32 kB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.575e-05/1.578e-05, allocations: 4 kB / 298.1 MB, free: 35.51 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07467/0.0747, allocations: 44.5 MB / 342.6 MB, free: 7 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2987/0.3735, allocations: 79.7 MB / 422.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002122/0.3738, allocations: 77.39 kB / 422.3 MB, free: 10.69 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06679/0.4406, allocations: 30.38 MB / 452.7 MB, free: 13.28 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.4406, allocations: 0 / 452.7 MB, free: 13.28 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001089/0.4407, allocations: 32 kB / 452.8 MB, free: 13.25 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.004383/0.4451, allocations: 1.687 MB / 454.4 MB, free: 11.63 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.4452, allocations: 12.03 kB / 454.5 MB, free: 11.62 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001592/0.4468, allocations: 317.3 kB / 454.8 MB, free: 11.33 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00199/0.4488, allocations: 1.081 MB / 455.8 MB, free: 10.45 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.013e-05/0.4488, allocations: 44 kB / 455.9 MB, free: 10.4 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002716/0.4491, allocations: 80 kB / 456 MB, free: 10.32 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002345/0.4515, allocations: 1.435 MB / 457.4 MB, free: 9.426 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002635/0.4541, allocations: 1.592 MB / 459 MB, free: 8.266 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.699e-05/0.4542, allocations: 0 / 459 MB, free: 8.266 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001123/0.4543, allocations: 4 kB / 459 MB, free: 8.262 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.428e-05/0.4544, allocations: 47.45 kB / 459 MB, free: 8.215 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008404/0.4628, allocations: 5.341 MB / 464.4 MB, free: 3.082 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002808/0.4656, allocations: 2.814 MB / 467.2 MB, free: 15.82 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005568/0.4662, allocations: 447.7 kB / 467.6 MB, free: 15.37 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002233/0.4684, allocations: 1.497 MB / 469.1 MB, free: 13.82 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.4685, allocations: 47.06 kB / 469.2 MB, free: 13.77 MB / 330.7 MB Notification: Performance of pre-optimization done (n=52): time 2.425e-06/0.4685, allocations: 0 / 469.2 MB, free: 13.77 MB / 330.7 MB Notification: Performance of matching and sorting (n=52): time 0.001547/0.47, allocations: 0.8157 MB / 470 MB, free: 12.95 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.895e-05/0.4701, allocations: 89.05 kB / 470.1 MB, free: 12.84 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001107/0.4712, allocations: 0.8478 MB / 470.9 MB, free: 11.98 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.315e-05/0.4713, allocations: 25.7 kB / 471 MB, free: 11.95 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004388/0.4717, allocations: 0.6774 MB / 471.6 MB, free: 11.27 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001371/0.4719, allocations: 185.3 kB / 471.8 MB, free: 11.08 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.155e-05/0.4719, allocations: 0 / 471.8 MB, free: 11.08 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.472, allocations: 334 kB / 472.1 MB, free: 10.75 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004027/0.4724, allocations: 309.4 kB / 472.4 MB, free: 10.45 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005431/0.473, allocations: 473.8 kB / 472.9 MB, free: 9.914 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007163/0.4737, allocations: 449.1 kB / 473.3 MB, free: 9.477 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/0.4737, allocations: 4 kB / 473.3 MB, free: 9.473 MB / 330.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001449/0.4752, allocations: 0.9159 MB / 474.3 MB, free: 8.555 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/0.4752, allocations: 8.062 kB / 474.3 MB, free: 8.547 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.4752, allocations: 8 kB / 474.3 MB, free: 8.539 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.252e-05/0.4752, allocations: 12 kB / 474.3 MB, free: 8.527 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008011/0.4761, allocations: 183.8 kB / 474.5 MB, free: 8.348 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.921e-05/0.4761, allocations: 11.94 kB / 474.5 MB, free: 8.336 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005637/0.4767, allocations: 79.3 kB / 474.6 MB, free: 8.258 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-05/0.4767, allocations: 24 kB / 474.6 MB, free: 8.234 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001586/0.4769, allocations: 128.5 kB / 474.7 MB, free: 8.102 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001662/0.4771, allocations: 86.97 kB / 474.8 MB, free: 8.016 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001414/0.4785, allocations: 0.662 MB / 475.5 MB, free: 7.34 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.4785, allocations: 7.953 kB / 475.5 MB, free: 7.332 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.4785, allocations: 4 kB / 475.5 MB, free: 7.328 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/0.4785, allocations: 7.984 kB / 475.5 MB, free: 7.32 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00209/0.4806, allocations: 1.422 MB / 476.9 MB, free: 5.855 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.4806, allocations: 4 kB / 476.9 MB, free: 5.852 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004639/0.4811, allocations: 95.88 kB / 477 MB, free: 5.758 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000393/0.4815, allocations: 154.4 kB / 477.1 MB, free: 5.605 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.467e-05/0.4816, allocations: 15.97 kB / 477.2 MB, free: 5.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002706/0.4843, allocations: 2.511 MB / 479.7 MB, free: 2.961 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.4843, allocations: 0 / 479.7 MB, free: 2.961 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002002/0.4863, allocations: 1.429 MB / 481.1 MB, free: 1.477 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002301/0.4866, allocations: 188 kB / 481.3 MB, free: 1.273 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001119/0.4867, allocations: 11.98 kB / 481.3 MB, free: 1.262 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005446/0.4872, allocations: 59.94 kB / 481.3 MB, free: 1.203 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001165/0.4874, allocations: 55.75 kB / 481.4 MB, free: 1.148 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.861e-05/0.4874, allocations: 16 kB / 481.4 MB, free: 1.133 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000863/0.4883, allocations: 0.6552 MB / 482.1 MB, free: 496 kB / 330.7 MB Notification: Performance of sort global known variables: time 1.994e-06/0.4883, allocations: 0 / 482.1 MB, free: 496 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.001019/0.4893, allocations: 354.3 kB / 482.4 MB, free: 140 kB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (inductor_e.inductor[1].i,inductor_e.inductor[2].i,inductor_e.inductor[3].i,converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].Phi.im) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002399/0.4896, allocations: 135 kB / 482.6 MB, free: 0 / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009961/0.4906, allocations: 0.6687 MB / 483.2 MB, free: 15.33 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/0.4906, allocations: 4.125 kB / 483.2 MB, free: 15.33 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008652/0.4915, allocations: 0.515 MB / 483.7 MB, free: 14.8 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007806/0.4922, allocations: 147.3 kB / 483.9 MB, free: 14.66 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003803/0.4961, allocations: 2.22 MB / 486.1 MB, free: 12.39 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001169/0.4972, allocations: 1.518 MB / 487.6 MB, free: 10.84 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005941/0.4978, allocations: 230.5 kB / 487.8 MB, free: 10.61 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001668/0.498, allocations: 59.42 kB / 487.9 MB, free: 10.55 MB / 346.7 MB Notification: Performance of SimCode: time 3.81e-07/0.498, allocations: 0 / 487.9 MB, free: 10.55 MB / 346.7 MB Notification: Performance of Templates: time 0.01664/0.5147, allocations: 9.138 MB / 497 MB, free: 1.418 MB / 346.7 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.sim & ./Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe 2>&1)