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.009165/0.009164, allocations: 96.22 kB / 15.73 MB, free: 6.043 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.001769/0.001769, allocations: 195.2 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.414/1.414, allocations: 205.1 MB / 222.6 MB, free: 4.488 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.001164/0.001164, allocations: 49.83 kB / 326.5 MB, free: 14.45 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09474/0.09592, allocations: 46.63 MB / 373.2 MB, free: 1.316 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.005525/0.1015, allocations: 4.292 MB / 377.5 MB, free: 13 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002689/0.1042, allocations: 1.629 MB / 379.1 MB, free: 11.36 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002952/0.1045, allocations: 11.94 kB / 379.1 MB, free: 11.34 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003782/0.1049, allocations: 130.7 kB / 379.2 MB, free: 11.21 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007836/0.1057, allocations: 361.6 kB / 379.6 MB, free: 10.86 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004429/0.1062, allocations: 239.6 kB / 379.8 MB, free: 10.62 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009209/0.1071, allocations: 0.9744 MB / 380.8 MB, free: 9.648 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000369/0.1075, allocations: 245.4 kB / 381 MB, free: 9.402 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004216/0.1079, allocations: 374.6 kB / 381.4 MB, free: 9.035 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005479/0.1085, allocations: 422.3 kB / 381.8 MB, free: 8.621 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001306/0.1086, allocations: 96 kB / 381.9 MB, free: 8.527 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003797/0.109, allocations: 219.9 kB / 382.1 MB, free: 8.312 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001758/0.1092, allocations: 199.3 kB / 382.3 MB, free: 8.117 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003159/0.1095, allocations: 414.1 kB / 382.7 MB, free: 7.711 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001049/0.1106, allocations: 1.164 MB / 383.9 MB, free: 6.543 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.1106, allocations: 3.984 kB / 383.9 MB, free: 6.539 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1106, allocations: 0 / 383.9 MB, free: 6.539 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.622e-05/0.1106, 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.002262/0.1129, allocations: 1.117 MB / 385 MB, free: 5.371 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.1129, allocations: 15.89 kB / 385 MB, free: 5.355 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001441/0.1131, allocations: 80.47 kB / 385.1 MB, free: 5.277 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008097/0.1139, allocations: 0.5188 MB / 385.6 MB, free: 4.715 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.979e-05/0.114, allocations: 75.58 kB / 385.7 MB, free: 4.637 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000198/0.1142, allocations: 64.48 kB / 385.8 MB, free: 4.574 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001074/0.1153, allocations: 0.6097 MB / 386.4 MB, free: 3.945 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.107e-05/0.1153, allocations: 3.938 kB / 386.4 MB, free: 3.941 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.045e-05/0.1154, allocations: 24 kB / 386.4 MB, free: 3.918 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.376e-05/0.1154, allocations: 16 kB / 386.4 MB, free: 3.902 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001104/0.1165, allocations: 0.5243 MB / 386.9 MB, free: 3.379 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003214/0.1197, allocations: 2.28 MB / 389.2 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009691/0.1207, allocations: 477.5 kB / 389.7 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005357/0.1213, allocations: 270 kB / 389.9 MB, free: 244 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.992e-05/0.1213, allocations: 4 kB / 389.9 MB, free: 240 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/0.1213, allocations: 42.55 kB / 390 MB, free: 188 kB / 318.1 MB Notification: Performance of pre-optimization done (n=45): time 3.266e-06/0.1213, allocations: 3.984 kB / 390 MB, free: 184 kB / 318.1 MB Notification: Performance of matching and sorting (n=61): time 0.01247/0.1338, allocations: 3.567 MB / 393.6 MB, free: 12.52 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.862e-05/0.1339, allocations: 81.67 kB / 393.6 MB, free: 12.42 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006792/0.1346, allocations: 0.5409 MB / 394.2 MB, free: 11.87 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.689e-05/0.1346, allocations: 37.7 kB / 394.2 MB, free: 11.82 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002023/0.1348, allocations: 313 kB / 394.5 MB, free: 11.52 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001502/0.135, allocations: 222.1 kB / 394.7 MB, free: 11.3 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001944/0.1352, allocations: 118.3 kB / 394.9 MB, free: 11.18 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.1353, allocations: 366.8 kB / 395.2 MB, free: 10.81 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00055/0.1359, allocations: 245.2 kB / 395.4 MB, free: 10.57 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006021/0.1365, allocations: 348.4 kB / 395.8 MB, free: 10.2 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001154/0.1377, allocations: 0.6059 MB / 396.4 MB, free: 9.555 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1377, allocations: 0 / 396.4 MB, free: 9.555 MB / 334.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001485/0.1392, allocations: 0.7492 MB / 397.1 MB, free: 8.797 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.1392, allocations: 8 kB / 397.2 MB, free: 8.789 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.1392, allocations: 4 kB / 397.2 MB, free: 8.785 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001694/0.1394, allocations: 29.09 kB / 397.2 MB, free: 8.754 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007726/0.1402, allocations: 163.8 kB / 397.3 MB, free: 8.594 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001139/0.1413, allocations: 1.436 MB / 398.8 MB, free: 7.012 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005425/0.1419, allocations: 35.92 kB / 398.8 MB, free: 6.977 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.176e-05/0.142, allocations: 31.92 kB / 398.8 MB, free: 6.945 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.0002758/0.1422, allocations: 201.8 kB / 399 MB, free: 6.738 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001312/0.1424, allocations: 59.62 kB / 399.1 MB, free: 6.68 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00179/0.1442, allocations: 0.8413 MB / 399.9 MB, free: 5.832 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/0.1442, allocations: 11.94 kB / 400 MB, free: 5.82 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.1442, allocations: 0 / 400 MB, free: 5.82 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.1442, allocations: 3.984 kB / 400 MB, free: 5.816 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003557/0.1478, allocations: 1.857 MB / 401.8 MB, free: 3.898 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.1478, allocations: 4 kB / 401.8 MB, free: 3.895 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005081/0.1483, allocations: 107.8 kB / 401.9 MB, free: 3.789 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00219/0.1505, allocations: 472.3 kB / 402.4 MB, free: 3.324 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.495e-05/0.1506, allocations: 16 kB / 402.4 MB, free: 3.309 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00474/0.1553, allocations: 3.15 MB / 405.6 MB, free: 16 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.1553, allocations: 4.062 kB / 405.6 MB, free: 12 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002869/0.1582, allocations: 1.367 MB / 406.9 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002975/0.1585, allocations: 216.7 kB / 407.1 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.833e-05/0.1586, allocations: 12 kB / 407.1 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005721/0.1592, allocations: 39.97 kB / 407.2 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001344/0.1594, allocations: 52.42 kB / 407.2 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-05/0.1594, allocations: 20 kB / 407.3 MB, free: 14.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004563/0.1599, allocations: 390.9 kB / 407.6 MB, free: 13.89 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1599, allocations: 0 / 407.6 MB, free: 13.89 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007393/0.1606, allocations: 187.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.0003231/0.161, allocations: 147.1 kB / 408 MB, free: 13.56 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001604/0.1626, allocations: 0.7286 MB / 408.7 MB, free: 12.81 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.1626, allocations: 0 / 408.7 MB, free: 12.81 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008906/0.1635, allocations: 0.5334 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.0006618/0.1641, allocations: 97.81 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.002637/0.1668, allocations: 1.482 MB / 410.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004449/0.1673, allocations: 0.9081 MB / 411.7 MB, free: 9.723 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003025/0.1676, allocations: 68.81 kB / 411.8 MB, free: 9.656 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001741/0.1677, allocations: 43.42 kB / 411.8 MB, free: 9.617 MB / 350.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1678, allocations: 0 / 411.8 MB, free: 9.617 MB / 350.1 MB Notification: Performance of Templates: time 0.01708/0.1848, allocations: 10.4 MB / 422.2 MB, free: 15.19 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)