Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001083/0.001083, allocations: 96.23 kB / 16.3 MB, free: 6.461 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.0009946/0.0009947, allocations: 173.4 kB / 17.19 MB, free: 6.348 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.61/1.61, allocations: 205.4 MB / 223.4 MB, free: 13.17 MB / 190.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.0005334/0.0005336, allocations: 12 kB / 280.1 MB, free: 3.738 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1094, allocations: 47.58 MB / 327.7 MB, free: 4.086 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.004285/0.1137, allocations: 3.473 MB / 331.2 MB, free: 0.5938 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00269/0.1164, allocations: 1.557 MB / 332.7 MB, free: 15.02 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003083/0.1168, allocations: 11.94 kB / 332.7 MB, free: 15.01 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002775/0.117, allocations: 91.34 kB / 332.8 MB, free: 14.92 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007492/0.1178, allocations: 342.9 kB / 333.2 MB, free: 14.59 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000356/0.1182, allocations: 143.8 kB / 333.3 MB, free: 14.45 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006941/0.1189, allocations: 0.598 MB / 333.9 MB, free: 13.85 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003213/0.1192, allocations: 190 kB / 334.1 MB, free: 13.66 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003572/0.1196, allocations: 298.9 kB / 334.4 MB, free: 13.37 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000413/0.12, allocations: 358.5 kB / 334.7 MB, free: 13.02 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.689e-05/0.1201, allocations: 44 kB / 334.8 MB, free: 12.97 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003318/0.1204, allocations: 159.9 kB / 334.9 MB, free: 12.82 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001271/0.1206, allocations: 143.5 kB / 335.1 MB, free: 12.68 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001218/0.1207, allocations: 153.4 kB / 335.2 MB, free: 12.52 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007613/0.1215, allocations: 0.8844 MB / 336.1 MB, free: 11.63 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1215, allocations: 0 / 336.1 MB, free: 11.63 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.674e-06/0.1215, allocations: 0 / 336.1 MB, free: 11.63 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.229e-05/0.1215, allocations: 0 / 336.1 MB, free: 11.63 MB / 286.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.002044/0.1236, allocations: 0.9857 MB / 337.1 MB, free: 10.59 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.1236, allocations: 11.97 kB / 337.1 MB, free: 10.58 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001398/0.1237, allocations: 79.06 kB / 337.2 MB, free: 10.5 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007124/0.1245, allocations: 0.4902 MB / 337.7 MB, free: 9.973 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.696e-05/0.1246, allocations: 75.02 kB / 337.7 MB, free: 9.895 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001855/0.1248, allocations: 63.98 kB / 337.8 MB, free: 9.832 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00105/0.1258, allocations: 0.6058 MB / 338.4 MB, free: 9.207 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.92e-05/0.1259, allocations: 3.984 kB / 338.4 MB, free: 9.203 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.66e-05/0.1259, allocations: 24 kB / 338.4 MB, free: 9.18 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.352e-05/0.1259, allocations: 12 kB / 338.5 MB, free: 9.168 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001062/0.127, allocations: 0.536 MB / 339 MB, free: 8.629 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003377/0.1304, allocations: 2.33 MB / 341.3 MB, free: 6.188 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009511/0.1314, allocations: 485.7 kB / 341.8 MB, free: 5.695 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.062e-05/0.1314, allocations: 8 kB / 341.8 MB, free: 5.688 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.164e-05/0.1314, allocations: 38.56 kB / 341.8 MB, free: 5.641 MB / 286.1 MB Notification: Performance of pre-optimization done (n=45): time 2.785e-06/0.1315, allocations: 0 / 341.8 MB, free: 5.641 MB / 286.1 MB Notification: Performance of matching and sorting (n=61): time 0.01243/0.1439, allocations: 3.692 MB / 345.5 MB, free: 1.855 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.605e-05/0.144, allocations: 89.61 kB / 345.6 MB, free: 1.75 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007234/0.1447, allocations: 0.537 MB / 346.2 MB, free: 1.203 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.299e-05/0.1448, allocations: 37.7 kB / 346.2 MB, free: 1.16 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002072/0.145, allocations: 308.3 kB / 346.5 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001678/0.1452, allocations: 212.9 kB / 346.7 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.655e-05/0.1452, allocations: 16 kB / 346.7 MB, free: 0.625 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.1454, allocations: 366.8 kB / 347.1 MB, free: 264 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005277/0.1459, allocations: 253.2 kB / 347.3 MB, free: 12 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006067/0.1465, allocations: 360.5 kB / 347.7 MB, free: 15.62 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005905/0.1471, allocations: 290.1 kB / 348 MB, free: 15.34 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.1472, allocations: 0 / 348 MB, free: 15.34 MB / 302.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001481/0.1486, allocations: 0.7569 MB / 348.7 MB, free: 14.57 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/0.1487, allocations: 11.95 kB / 348.7 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.1487, allocations: 0 / 348.7 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001803/0.1489, allocations: 36.83 kB / 348.8 MB, free: 14.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007744/0.1497, allocations: 171.8 kB / 348.9 MB, free: 14.35 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001128/0.1508, allocations: 1.335 MB / 350.3 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005374/0.1514, allocations: 43.89 kB / 350.3 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.889e-05/0.1514, allocations: 23.98 kB / 350.3 MB, free: 12.81 MB / 302.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 (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%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000307/0.1517, allocations: 206 kB / 350.5 MB, free: 12.6 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001286/0.1519, allocations: 67.28 kB / 350.6 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001781/0.1537, allocations: 0.8569 MB / 351.5 MB, free: 11.67 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/0.1537, allocations: 12 kB / 351.5 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.1537, allocations: 0 / 351.5 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.14e-05/0.1537, allocations: 3.984 kB / 351.5 MB, free: 11.65 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003631/0.1573, allocations: 1.889 MB / 353.4 MB, free: 9.707 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.1574, allocations: 7.938 kB / 353.4 MB, free: 9.699 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005075/0.1579, allocations: 107.9 kB / 353.5 MB, free: 9.594 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002345/0.1602, allocations: 0.5 MB / 354 MB, free: 9.094 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.534e-05/0.1603, allocations: 15.98 kB / 354 MB, free: 9.078 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005278/0.1656, allocations: 3.029 MB / 357 MB, free: 5.914 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.1656, allocations: 0 / 357 MB, free: 5.914 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003444/0.1691, allocations: 1.426 MB / 358.4 MB, free: 4.465 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004904/0.1696, allocations: 208.3 kB / 358.7 MB, free: 4.242 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.161e-05/0.1697, allocations: 12 kB / 358.7 MB, free: 4.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006069/0.1703, allocations: 47.97 kB / 358.7 MB, free: 4.184 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002079/0.1705, allocations: 56.44 kB / 358.8 MB, free: 4.125 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.702e-05/0.1706, allocations: 16 kB / 358.8 MB, free: 4.109 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006607/0.1712, allocations: 386.8 kB / 359.2 MB, free: 3.734 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.1713, allocations: 0 / 359.2 MB, free: 3.734 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009022/0.1722, allocations: 192.1 kB / 359.3 MB, free: 3.547 MB / 302.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 (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: 0 * Non-linear torn systems: 1 {2 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003581/0.1725, allocations: 147.5 kB / 359.5 MB, free: 3.395 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001508/0.1741, allocations: 0.7521 MB / 360.2 MB, free: 2.629 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.1741, allocations: 0 / 360.2 MB, free: 2.629 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009163/0.175, allocations: 0.5256 MB / 360.8 MB, free: 2.094 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005671/0.1756, allocations: 77.88 kB / 360.8 MB, free: 2.012 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003194/0.1788, allocations: 1.822 MB / 362.7 MB, free: 168 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005002/0.1793, allocations: 0.9124 MB / 363.6 MB, free: 15.23 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003363/0.1796, allocations: 76.8 kB / 363.7 MB, free: 15.15 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001673/0.1798, allocations: 55.36 kB / 363.7 MB, free: 15.09 MB / 318.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1798, allocations: 0 / 363.7 MB, free: 15.09 MB / 318.1 MB Notification: Performance of Templates: time 0.01722/0.1971, allocations: 9.293 MB / 373 MB, free: 5.797 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.sim & ./Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe 2>&1) Environment - environmentSimulation: