Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench") translateModel(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="empty",numberOfIntervals=200,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 86.95 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009281/0.0009282, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.771/1.771, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004946/0.000495, allocations: 16 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2952/0.2957, allocations: 47.59 MB / 326.5 MB, free: 1.426 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench): time 0.0277/0.3234, allocations: 25.52 MB / 352 MB, free: 9.93 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01925/0.3427, allocations: 6.816 MB / 358.8 MB, free: 3.094 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007687/0.3505, allocations: 207.3 kB / 359 MB, free: 2.891 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006448/0.357, allocations: 1.413 MB / 360.4 MB, free: 1.469 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01393/0.3709, allocations: 2.558 MB / 363 MB, free: 14.89 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006875/0.3778, allocations: 1.4 MB / 364.4 MB, free: 13.5 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.03422/0.4121, allocations: 23.93 MB / 388.3 MB, free: 5.484 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0814/0.4935, allocations: 35.79 MB / 424.1 MB, free: 1.562 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01457/0.5081, allocations: 7.055 MB / 431.2 MB, free: 10.48 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01602/0.5242, allocations: 8.199 MB / 439.4 MB, free: 2.254 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005558/0.5298, allocations: 1.172 MB / 440.5 MB, free: 1.082 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009127/0.5389, allocations: 1.406 MB / 441.9 MB, free: 15.68 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008519/0.5475, allocations: 3.461 MB / 445.4 MB, free: 12.2 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009671/0.5572, allocations: 3.716 MB / 449.1 MB, free: 8.473 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4621/1.019, allocations: 33.71 MB / 482.8 MB, free: 38.46 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.147e-06/1.019, allocations: 0 / 482.8 MB, free: 38.46 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.206e-06/1.019, allocations: 0 / 482.8 MB, free: 38.46 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.001456/1.021, allocations: 0 / 482.8 MB, free: 38.46 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5161 * Number of variables: 5161 Notification: Performance of Generate backend data structure: time 0.0624/1.083, allocations: 18.99 MB / 0.4901 GB, free: 29.38 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.851e-05/1.083, allocations: 7.125 kB / 0.4901 GB, free: 29.38 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06334/1.147, allocations: 12.33 MB / 0.5021 GB, free: 23.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03113/1.178, allocations: 10.45 MB / 0.5123 GB, free: 17.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002314/1.18, allocations: 1.393 MB / 0.5137 GB, free: 16.45 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01033/1.191, allocations: 1.83 MB / 0.5155 GB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1054/1.296, allocations: 30.73 MB / 0.5455 GB, free: 7.523 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001153/1.297, allocations: 23.8 kB / 0.5455 GB, free: 7.5 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01078/1.308, allocations: 0.7587 MB / 0.5462 GB, free: 6.758 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001366/1.309, allocations: 0.9859 MB / 0.5472 GB, free: 5.773 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07828/1.388, allocations: 27.76 MB / 0.5743 GB, free: 9.992 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5354/1.923, allocations: 94.55 MB / 0.6666 GB, free: 103.9 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03782/1.961, allocations: 53.35 MB / 0.7187 GB, free: 52.57 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01155/1.973, allocations: 5.894 MB / 0.7245 GB, free: 49.64 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03902/2.012, allocations: 16.88 MB / 0.741 GB, free: 34.14 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.508e-05/2.012, allocations: 77.95 kB / 0.7411 GB, free: 34.05 MB / 462.1 MB Notification: Performance of pre-optimization done (n=439): time 8.756e-06/2.012, allocations: 4 kB / 0.7411 GB, free: 34.05 MB / 462.1 MB Notification: Performance of matching and sorting (n=439): time 0.03486/2.047, allocations: 13.12 MB / 0.7539 GB, free: 20.89 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.544e-05/2.047, allocations: 132.4 kB / 0.754 GB, free: 20.74 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02064/2.068, allocations: 7.43 MB / 0.7613 GB, free: 13.32 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001084/2.069, allocations: 93.7 kB / 0.7613 GB, free: 13.22 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.007626/2.076, allocations: 8.52 MB / 0.7697 GB, free: 4.66 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002495/2.079, allocations: 1.593 MB / 0.7712 GB, free: 3.078 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001966/2.081, allocations: 216 kB / 0.7714 GB, free: 2.867 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.001214/2.082, allocations: 0.7648 MB / 0.7722 GB, free: 2.098 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008912/2.091, allocations: 4.735 MB / 0.7768 GB, free: 13.36 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01506/2.106, allocations: 10.44 MB / 0.787 GB, free: 164 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01388/2.12, allocations: 7.314 MB / 0.7941 GB, free: 8.801 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002022/2.12, allocations: 60 kB / 0.7942 GB, free: 8.742 MB / 494.1 MB Notification: Performance of matching and sorting (n=1411) (initialization): time 0.3122/2.432, allocations: 16.07 MB / 0.8099 GB, free: 159.7 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000148/2.433, allocations: 87.38 kB / 0.81 GB, free: 159.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004043/2.433, allocations: 198.1 kB / 0.8102 GB, free: 159.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005512/2.439, allocations: 1.73 MB / 0.8119 GB, free: 159.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009654/2.448, allocations: 2.496 MB / 0.8143 GB, free: 159.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01364/2.462, allocations: 10.78 MB / 0.8248 GB, free: 156 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01126/2.473, allocations: 1.554 MB / 0.8263 GB, free: 155.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002571/2.476, allocations: 0.6017 MB / 0.8269 GB, free: 155.2 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 898 * 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 (1318): * Single equations (assignments): 1309 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 {(6,77.8%) 80} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01425/2.49, allocations: 7.395 MB / 0.8341 GB, free: 152 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001385/2.491, allocations: 0.6266 MB / 0.8348 GB, free: 151.6 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.012/2.504, allocations: 8.25 MB / 0.8428 GB, free: 148.3 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007788/2.511, allocations: 6.613 MB / 0.8493 GB, free: 142.7 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.956e-05/2.511, allocations: 12 kB / 0.8493 GB, free: 142.7 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-05/2.511, allocations: 23.25 kB / 0.8493 GB, free: 142.7 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04217/2.554, allocations: 20.98 MB / 0.8698 GB, free: 124.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.702e-05/2.554, allocations: 0 / 0.8698 GB, free: 124.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00316/2.557, allocations: 0.7645 MB / 0.8705 GB, free: 123.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004442/2.561, allocations: 1.453 MB / 0.872 GB, free: 122.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006588/2.562, allocations: 91.98 kB / 0.872 GB, free: 122.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01129/2.573, allocations: 10.43 MB / 0.8822 GB, free: 111.6 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/2.573, allocations: 4 kB / 0.8822 GB, free: 111.6 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01537/2.589, allocations: 11.93 MB / 0.8939 GB, free: 99.58 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003101/2.592, allocations: 1.378 MB / 0.8952 GB, free: 98.17 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001031/2.593, allocations: 80.25 kB / 0.8953 GB, free: 98.09 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00245/2.595, allocations: 303.6 kB / 0.8956 GB, free: 97.8 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005274/2.596, allocations: 303.9 kB / 0.8959 GB, free: 97.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002401/2.596, allocations: 124 kB / 0.896 GB, free: 97.38 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.007821/2.604, allocations: 4.871 MB / 0.9007 GB, free: 92.52 MB / 494.1 MB Notification: Performance of sort global known variables: time 5.71e-07/2.604, allocations: 4 kB / 0.9008 GB, free: 92.52 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01561/2.62, allocations: 4.184 MB / 0.9048 GB, free: 88.32 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (source.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 (387): * Single equations (assignments): 378 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 {(6,75.0%) 80} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001302/2.621, allocations: 282.3 kB / 0.9051 GB, free: 88.05 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01491/2.636, allocations: 11.06 MB / 0.9159 GB, free: 77.02 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/2.636, allocations: 8.125 kB / 0.9159 GB, free: 77.01 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004941/2.641, allocations: 4.011 MB / 0.9198 GB, free: 72.98 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00707/2.648, allocations: 1.477 MB / 0.9213 GB, free: 71.5 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06268/2.711, allocations: 35.97 MB / 0.9564 GB, free: 35.53 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02194/2.733, allocations: 11.61 MB / 0.9677 GB, free: 23.88 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.01213/2.745, allocations: 3.984 MB / 0.9716 GB, free: 19.88 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002004/2.747, allocations: 0.5072 MB / 0.9721 GB, free: 19.38 MB / 494.1 MB Notification: Performance of SimCode: time 1.222e-06/2.747, allocations: 0 / 0.9721 GB, free: 19.38 MB / 494.1 MB Notification: Performance of Templates: time 0.435/3.182, allocations: 93.2 MB / 1.063 GB, free: 90.63 MB / 494.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.makefile (rm -f Modelica_3.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_3.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.sim & ./Modelica_3.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.QuasiStationary.Machines.Examples.TransformerTestbench.pipe 2>&1)