Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.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.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005672/0.005672, allocations: 97.61 kB / 15.73 MB, free: 6.047 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.001249/0.001249, allocations: 193.6 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.457/1.457, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.00146/0.00146, allocations: 54.06 kB / 326.5 MB, free: 14.26 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1052, allocations: 46.62 MB / 373.2 MB, free: 1.336 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.006696/0.112, allocations: 4.292 MB / 377.5 MB, free: 13.02 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003397/0.1154, allocations: 1.629 MB / 379.1 MB, free: 11.38 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006053/0.116, allocations: 12 kB / 379.1 MB, free: 11.36 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000524/0.1166, allocations: 134.7 kB / 379.2 MB, free: 11.23 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001167/0.1178, allocations: 373.6 kB / 379.6 MB, free: 10.86 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005264/0.1183, allocations: 223.7 kB / 379.8 MB, free: 10.64 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00118/0.1195, allocations: 0.9783 MB / 380.8 MB, free: 9.664 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004021/0.1199, allocations: 249.3 kB / 381 MB, free: 9.414 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005828/0.1205, allocations: 386.6 kB / 381.4 MB, free: 9.035 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006763/0.1212, allocations: 426.2 kB / 381.8 MB, free: 8.617 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001972/0.1214, allocations: 96 kB / 381.9 MB, free: 8.523 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00049/0.1219, allocations: 215.9 kB / 382.1 MB, free: 8.312 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002106/0.1222, allocations: 199.3 kB / 382.3 MB, free: 8.117 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000614/0.1228, allocations: 414.1 kB / 382.7 MB, free: 7.711 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001654/0.1244, allocations: 1.164 MB / 383.9 MB, free: 6.543 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.1245, allocations: 0 / 383.9 MB, free: 6.543 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.178e-06/0.1245, allocations: 3.984 kB / 383.9 MB, free: 6.539 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.838e-05/0.1245, allocations: 0 / 383.9 MB, free: 6.539 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.003266/0.1278, allocations: 1.121 MB / 385 MB, free: 5.367 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.1279, allocations: 11.89 kB / 385 MB, free: 5.355 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001945/0.1281, allocations: 80.47 kB / 385.1 MB, free: 5.277 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008839/0.1289, allocations: 0.5149 MB / 385.6 MB, free: 4.719 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.751e-05/0.129, allocations: 71.58 kB / 385.7 MB, free: 4.645 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002135/0.1293, allocations: 76.42 kB / 385.8 MB, free: 4.57 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001145/0.1304, allocations: 0.5981 MB / 386.4 MB, free: 3.953 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.108e-05/0.1305, allocations: 3.938 kB / 386.4 MB, free: 3.949 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.852e-05/0.1305, allocations: 28 kB / 386.4 MB, free: 3.922 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.811e-05/0.1306, allocations: 12 kB / 386.4 MB, free: 3.91 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001138/0.1317, allocations: 0.5282 MB / 386.9 MB, free: 3.383 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003449/0.1352, allocations: 2.284 MB / 389.2 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009739/0.1362, allocations: 481.3 kB / 389.7 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005159/0.1367, allocations: 258.1 kB / 389.9 MB, free: 252 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.644e-05/0.1367, allocations: 4 kB / 390 MB, free: 248 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.956e-05/0.1368, allocations: 38.56 kB / 390 MB, free: 200 kB / 318.1 MB Notification: Performance of pre-optimization done (n=45): time 3.757e-06/0.1368, allocations: 4 kB / 390 MB, free: 196 kB / 318.1 MB Notification: Performance of matching and sorting (n=61): time 0.0129/0.1497, allocations: 3.564 MB / 393.6 MB, free: 12.53 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.356e-05/0.1498, allocations: 93.67 kB / 393.6 MB, free: 12.42 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007124/0.1505, allocations: 0.537 MB / 394.2 MB, free: 11.88 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.445e-05/0.1506, allocations: 37.7 kB / 394.2 MB, free: 11.83 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002205/0.1508, allocations: 313 kB / 394.5 MB, free: 11.52 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001719/0.151, allocations: 218.1 kB / 394.7 MB, free: 11.31 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002081/0.1512, allocations: 122.2 kB / 394.9 MB, free: 11.18 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.1514, allocations: 366.8 kB / 395.2 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005817/0.152, allocations: 245.2 kB / 395.5 MB, free: 10.57 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006315/0.1526, allocations: 352.4 kB / 395.8 MB, free: 10.2 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001221/0.1538, allocations: 0.5942 MB / 396.4 MB, free: 9.57 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.1539, allocations: 4 kB / 396.4 MB, free: 9.566 MB / 334.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001603/0.1555, allocations: 0.7494 MB / 397.1 MB, free: 8.809 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.1555, allocations: 8.062 kB / 397.2 MB, free: 8.801 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.1555, allocations: 4 kB / 397.2 MB, free: 8.797 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001805/0.1557, allocations: 40.72 kB / 397.2 MB, free: 8.754 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007906/0.1565, allocations: 167.8 kB / 397.4 MB, free: 8.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001139/0.1577, allocations: 1.436 MB / 398.8 MB, free: 7.008 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000606/0.1583, allocations: 43.98 kB / 398.8 MB, free: 6.965 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.167e-05/0.1583, allocations: 23.98 kB / 398.9 MB, free: 6.941 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 1 (transformer.core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003853/0.1587, allocations: 197.7 kB / 399.1 MB, free: 6.738 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001315/0.1589, allocations: 59.62 kB / 399.1 MB, free: 6.68 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001848/0.1607, allocations: 0.8452 MB / 400 MB, free: 5.828 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.1607, allocations: 7.938 kB / 400 MB, free: 5.82 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.1608, allocations: 4 kB / 400 MB, free: 5.816 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.1608, allocations: 7.984 kB / 400 MB, free: 5.809 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003834/0.1646, allocations: 1.849 MB / 401.8 MB, free: 3.898 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.1646, allocations: 0 / 401.8 MB, free: 3.898 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005366/0.1652, allocations: 107.9 kB / 401.9 MB, free: 3.793 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002335/0.1675, allocations: 472.3 kB / 402.4 MB, free: 3.328 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.487e-05/0.1676, allocations: 16 kB / 402.4 MB, free: 3.312 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005335/0.173, allocations: 3.15 MB / 405.6 MB, free: 20 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.173, allocations: 4 kB / 405.6 MB, free: 16 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003025/0.176, allocations: 1.375 MB / 406.9 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003469/0.1764, allocations: 216.7 kB / 407.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.496e-05/0.1765, allocations: 12 kB / 407.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005871/0.1771, allocations: 40.06 kB / 407.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001419/0.1772, allocations: 56.47 kB / 407.3 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.283e-05/0.1773, allocations: 16 kB / 407.3 MB, free: 14.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004946/0.1778, allocations: 386.9 kB / 407.7 MB, free: 13.89 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1778, allocations: 0 / 407.7 MB, free: 13.89 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000782/0.1786, allocations: 191.9 kB / 407.8 MB, free: 13.71 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (transformer.winding1.i,transformer.winding2.i,transformer.core.B,transformer.core.MagRel) * Number of discrete variables: 1 (transformer.core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002815/0.1789, allocations: 147 kB / 408 MB, free: 13.55 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001533/0.1804, allocations: 0.7326 MB / 408.7 MB, free: 12.8 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.1804, allocations: 0 / 408.7 MB, free: 12.8 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008934/0.1813, allocations: 0.5255 MB / 409.2 MB, free: 12.27 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006867/0.182, allocations: 93.83 kB / 409.3 MB, free: 12.18 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002771/0.1848, allocations: 1.478 MB / 410.8 MB, free: 10.67 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005657/0.1854, allocations: 0.9042 MB / 411.7 MB, free: 9.734 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003784/0.1858, allocations: 72.8 kB / 411.8 MB, free: 9.664 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001759/0.186, allocations: 51.42 kB / 411.8 MB, free: 9.617 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.186, allocations: 0 / 411.8 MB, free: 9.617 MB / 350.1 MB Notification: Performance of Templates: time 0.01803/0.204, allocations: 10.4 MB / 422.2 MB, free: 15.2 MB / 366.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.sim & ./Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe 2>&1)