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.001392/0.001392, allocations: 182.3 kB / 13.64 MB, free: 1.676 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.352/1.352, allocations: 194.3 MB / 208.4 MB, free: 6.707 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.001653/0.001653, allocations: 128.6 kB / 253.5 MB, free: 9.582 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.151e-05/2.153e-05, allocations: 3.984 kB / 304.9 MB, free: 29.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06599/0.06602, allocations: 44.5 MB / 349.4 MB, free: 1.242 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3284/0.3945, allocations: 80.36 MB / 429.8 MB, free: 9.766 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001896/0.3947, allocations: 79.3 kB / 429.9 MB, free: 9.754 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06671/0.4614, allocations: 30.73 MB / 460.6 MB, free: 5.488 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4615, allocations: 0 / 460.6 MB, free: 5.488 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.685e-05/0.4616, allocations: 32 kB / 460.6 MB, free: 5.457 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.003455/0.465, allocations: 1.686 MB / 462.3 MB, free: 3.836 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.4651, allocations: 8.031 kB / 462.3 MB, free: 3.828 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001336/0.4664, allocations: 323.6 kB / 462.6 MB, free: 3.527 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001852/0.4683, allocations: 1.083 MB / 463.7 MB, free: 2.625 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.576e-05/0.4684, allocations: 100.9 kB / 463.8 MB, free: 2.566 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000197/0.4686, allocations: 133 kB / 464 MB, free: 2.48 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002709/0.4713, allocations: 1.786 MB / 465.7 MB, free: 1.246 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.341e-05/0.4713, allocations: 0 / 465.7 MB, free: 1.246 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001238/0.4714, allocations: 59.38 kB / 465.8 MB, free: 1.23 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.056e-05/0.4715, allocations: 45.98 kB / 465.8 MB, free: 1.188 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002147/0.4737, allocations: 1.513 MB / 467.4 MB, free: 216 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00876/0.4824, allocations: 5.588 MB / 472.9 MB, free: 10.66 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002832/0.4853, allocations: 2.85 MB / 475.8 MB, free: 7.359 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006388/0.486, allocations: 471.7 kB / 476.3 MB, free: 6.891 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002786/0.4888, allocations: 1.529 MB / 477.8 MB, free: 5.293 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.507e-05/0.4889, allocations: 38.84 kB / 477.8 MB, free: 5.246 MB / 330.7 MB Notification: Performance of pre-optimization done (n=52): time 3.407e-06/0.4889, allocations: 0 / 477.8 MB, free: 5.246 MB / 330.7 MB Notification: Performance of matching and sorting (n=52): time 0.00143/0.4903, allocations: 0.7945 MB / 478.6 MB, free: 4.445 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.288e-05/0.4904, allocations: 85.05 kB / 478.7 MB, free: 4.344 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00137/0.4918, allocations: 0.9182 MB / 479.6 MB, free: 3.418 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.452e-05/0.4918, allocations: 37.7 kB / 479.7 MB, free: 3.375 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004943/0.4923, allocations: 0.6777 MB / 480.3 MB, free: 2.688 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001565/0.4925, allocations: 181.4 kB / 480.5 MB, free: 2.508 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.401e-05/0.4925, allocations: 12 kB / 480.5 MB, free: 2.496 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.4927, allocations: 345.8 kB / 480.9 MB, free: 2.152 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004678/0.4932, allocations: 321.4 kB / 481.2 MB, free: 1.836 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005464/0.4937, allocations: 491.4 kB / 481.7 MB, free: 1.289 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005497/0.4943, allocations: 401.2 kB / 482 MB, free: 0.8984 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/0.4943, allocations: 7.938 kB / 482.1 MB, free: 0.8906 MB / 330.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001349/0.4956, allocations: 0.9277 MB / 483 MB, free: 15.96 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.4957, allocations: 12.09 kB / 483 MB, free: 15.95 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.4957, allocations: 8 kB / 483 MB, free: 15.94 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.175e-05/0.4957, allocations: 8 kB / 483 MB, free: 15.93 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007772/0.4965, allocations: 179.8 kB / 483.2 MB, free: 15.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.687e-05/0.4965, allocations: 15.92 kB / 483.2 MB, free: 15.74 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005942/0.4971, allocations: 91.34 kB / 483.3 MB, free: 15.65 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.988e-05/0.4972, allocations: 24 kB / 483.3 MB, free: 15.62 MB / 346.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.0001588/0.4974, allocations: 144.8 kB / 483.5 MB, free: 15.48 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001437/0.4975, allocations: 94.86 kB / 483.5 MB, free: 15.38 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001179/0.4987, allocations: 0.6501 MB / 484.2 MB, free: 14.71 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.447e-06/0.4987, allocations: 8 kB / 484.2 MB, free: 14.7 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/0.4987, allocations: 0 / 484.2 MB, free: 14.7 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.4987, allocations: 3.984 kB / 484.2 MB, free: 14.7 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002381/0.5011, allocations: 1.618 MB / 485.8 MB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.5012, allocations: 0 / 485.8 MB, free: 13.02 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004354/0.5016, allocations: 91.97 kB / 485.9 MB, free: 12.93 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004025/0.502, allocations: 152.6 kB / 486.1 MB, free: 12.77 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.879e-05/0.5021, allocations: 23.98 kB / 486.1 MB, free: 12.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00279/0.5049, allocations: 2.598 MB / 488.7 MB, free: 10.02 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.184e-05/0.5049, allocations: 7.891 kB / 488.7 MB, free: 10.02 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00184/0.5067, allocations: 1.417 MB / 490.1 MB, free: 8.543 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003082/0.5071, allocations: 180 kB / 490.3 MB, free: 8.348 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/0.5072, allocations: 27.94 kB / 490.3 MB, free: 8.32 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005313/0.5077, allocations: 63.94 kB / 490.4 MB, free: 8.258 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000124/0.5079, allocations: 55.86 kB / 490.4 MB, free: 8.203 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.614e-05/0.5079, allocations: 16 kB / 490.4 MB, free: 8.188 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0009658/0.5089, allocations: 0.7177 MB / 491.2 MB, free: 7.477 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5089, allocations: 0 / 491.2 MB, free: 7.477 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009597/0.5099, allocations: 366.3 kB / 491.5 MB, free: 7.117 MB / 346.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.0002665/0.5101, allocations: 158.9 kB / 491.7 MB, free: 6.953 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001002/0.5111, allocations: 0.7066 MB / 492.4 MB, free: 6.242 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.5111, allocations: 0 / 492.4 MB, free: 6.242 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008589/0.512, allocations: 0.547 MB / 492.9 MB, free: 5.684 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007742/0.5128, allocations: 160.6 kB / 493.1 MB, free: 5.523 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003524/0.5163, allocations: 2.258 MB / 495.3 MB, free: 3.219 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001097/0.5175, allocations: 1.522 MB / 496.9 MB, free: 1.668 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006275/0.5181, allocations: 234.7 kB / 497.1 MB, free: 1.434 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001625/0.5183, allocations: 59.38 kB / 497.2 MB, free: 1.375 MB / 346.7 MB Notification: Performance of SimCode: time 6.41e-07/0.5183, allocations: 4 kB / 497.2 MB, free: 1.371 MB / 346.7 MB Notification: Performance of Templates: time 0.01875/0.537, allocations: 10.79 MB / 0.496 GB, free: 6.574 MB / 362.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)