Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.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.SinglePhaseTransformerWithHysteresis1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 97.78 kB / 16.3 MB, free: 5.656 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.001406/0.001406, allocations: 183.4 kB / 17.2 MB, free: 5.59 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.678/1.678, allocations: 205.4 MB / 223.4 MB, free: 13.16 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.0005266/0.0005267, allocations: 20.2 kB / 280.1 MB, free: 3.73 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1066, allocations: 47.58 MB / 327.7 MB, free: 4.082 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.003758/0.1104, allocations: 2.72 MB / 330.4 MB, free: 1.344 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002535/0.113, allocations: 1.319 MB / 331.7 MB, free: 16 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002544/0.1133, allocations: 8 kB / 331.7 MB, free: 8 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002607/0.1159, allocations: 2.101 MB / 333.9 MB, free: 13.9 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005172/0.1164, allocations: 171.5 kB / 334 MB, free: 13.73 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006808/0.1171, allocations: 231.5 kB / 334.2 MB, free: 13.51 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001924/0.1191, allocations: 1.467 MB / 335.7 MB, free: 12.04 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002362/0.1193, allocations: 98.69 kB / 335.8 MB, free: 11.94 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004383/0.1198, allocations: 295.1 kB / 336.1 MB, free: 11.65 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000387/0.1202, allocations: 299 kB / 336.4 MB, free: 11.36 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.035e-05/0.1202, allocations: 24 kB / 336.4 MB, free: 11.33 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001526/0.1204, allocations: 47.92 kB / 336.5 MB, free: 11.29 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007495/0.1211, allocations: 0.822 MB / 337.3 MB, free: 10.46 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002834/0.1214, allocations: 384.3 kB / 337.7 MB, free: 10.08 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00196/0.1234, allocations: 2.093 MB / 339.7 MB, free: 7.98 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1234, allocations: 0 / 339.7 MB, free: 7.98 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.534e-06/0.1234, allocations: 0 / 339.7 MB, free: 7.98 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.801e-05/0.1235, allocations: 3.938 kB / 339.8 MB, free: 7.977 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: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.004381/0.1279, allocations: 2.434 MB / 342.2 MB, free: 5.48 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.577e-05/0.1279, allocations: 8.031 kB / 342.2 MB, free: 5.473 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006052/0.1286, allocations: 280.3 kB / 342.5 MB, free: 5.195 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003223/0.1318, allocations: 1.689 MB / 344.2 MB, free: 3.449 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.649e-05/0.1319, allocations: 54.7 kB / 344.2 MB, free: 3.391 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002309/0.1322, allocations: 55.97 kB / 344.3 MB, free: 3.336 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008679/0.133, allocations: 391 kB / 344.6 MB, free: 2.941 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.842e-05/0.1331, allocations: 0 / 344.6 MB, free: 2.941 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.987e-05/0.1331, allocations: 16 kB / 344.7 MB, free: 2.926 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.314e-05/0.1331, allocations: 8 kB / 344.7 MB, free: 2.918 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007059/0.1339, allocations: 327.7 kB / 345 MB, free: 2.598 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005158/0.139, allocations: 2.915 MB / 347.9 MB, free: 15.58 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006389/0.1397, allocations: 324.9 kB / 348.2 MB, free: 15.25 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.291e-05/0.1398, allocations: 7.984 kB / 348.2 MB, free: 15.24 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/0.1398, allocations: 34.56 kB / 348.3 MB, free: 15.2 MB / 302.1 MB Notification: Performance of pre-optimization done (n=37): time 2.575e-06/0.1398, allocations: 0 / 348.3 MB, free: 15.2 MB / 302.1 MB Notification: Performance of matching and sorting (n=48): time 0.005169/0.145, allocations: 2.379 MB / 350.6 MB, free: 12.75 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.508e-05/0.1451, allocations: 85.55 kB / 350.7 MB, free: 12.65 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007325/0.1524, allocations: 5.442 MB / 356.2 MB, free: 7.203 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 8.837e-05/0.1525, allocations: 37.7 kB / 356.2 MB, free: 7.16 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00115/0.1537, allocations: 1.203 MB / 357.4 MB, free: 5.953 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001901/0.1539, allocations: 173.5 kB / 357.6 MB, free: 5.781 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.541e-05/0.1539, allocations: 12 kB / 357.6 MB, free: 5.77 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.1541, allocations: 326 kB / 357.9 MB, free: 5.445 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003673/0.1545, allocations: 141.1 kB / 358 MB, free: 5.305 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003607/0.1548, allocations: 221.6 kB / 358.3 MB, free: 5.062 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003591/0.1552, allocations: 168.8 kB / 358.4 MB, free: 4.895 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.1552, allocations: 0 / 358.4 MB, free: 4.895 MB / 302.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001365/0.1566, allocations: 0.684 MB / 359.1 MB, free: 4.203 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.1566, allocations: 4 kB / 359.1 MB, free: 4.199 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/0.1567, allocations: 4 kB / 359.1 MB, free: 4.195 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.845e-05/0.1567, allocations: 4 kB / 359.1 MB, free: 4.191 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000518/0.1572, allocations: 124.1 kB / 359.2 MB, free: 4.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/0.1572, allocations: 4 kB / 359.2 MB, free: 4.066 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005178/0.1578, allocations: 27.84 kB / 359.3 MB, free: 4.039 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.242e-05/0.1578, allocations: 16 kB / 359.3 MB, free: 4.023 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 62 * 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.00139/0.1592, allocations: 0.9192 MB / 360.2 MB, free: 3.094 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003325/0.1595, allocations: 268.5 kB / 360.5 MB, free: 2.828 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001445/0.161, allocations: 0.7747 MB / 361.2 MB, free: 2.043 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/0.161, allocations: 7.938 kB / 361.3 MB, free: 2.035 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.161, allocations: 0 / 361.3 MB, free: 2.035 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.025e-05/0.1611, allocations: 7.984 kB / 361.3 MB, free: 2.027 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001837/0.1629, allocations: 1.469 MB / 362.7 MB, free: 0.5078 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.1629, allocations: 0 / 362.7 MB, free: 0.5078 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004511/0.1634, allocations: 103.9 kB / 362.8 MB, free: 416 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003297/0.1637, allocations: 88.69 kB / 362.9 MB, free: 324 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.226e-05/0.1638, allocations: 15.98 kB / 362.9 MB, free: 308 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005751/0.1643, allocations: 0.6305 MB / 363.6 MB, free: 15.64 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1644, allocations: 0 / 363.6 MB, free: 15.64 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001702/0.1661, allocations: 1.086 MB / 364.7 MB, free: 14.53 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001049/0.1671, allocations: 497.5 kB / 365.1 MB, free: 14.02 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001775/0.1673, allocations: 15.95 kB / 365.2 MB, free: 14 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004562/0.1678, allocations: 19.98 kB / 365.2 MB, free: 13.98 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.368e-05/0.1679, allocations: 36.33 kB / 365.2 MB, free: 13.95 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-05/0.1679, allocations: 16 kB / 365.2 MB, free: 13.93 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.005666/0.1736, allocations: 3.977 MB / 369.2 MB, free: 9.965 MB / 318.1 MB Notification: Performance of sort global known variables: time 6.01e-07/0.1736, allocations: 0 / 369.2 MB, free: 9.965 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001294/0.1749, allocations: 208 kB / 369.4 MB, free: 9.762 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (core.MagRel,winding1.i,winding2.i,core.Hstat,core.B) * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 40 * 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 {1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009837/0.1759, allocations: 412.7 kB / 369.8 MB, free: 9.359 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009398/0.1769, allocations: 376.9 kB / 370.2 MB, free: 8.992 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.491e-06/0.1769, allocations: 0 / 370.2 MB, free: 8.992 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004484/0.1773, allocations: 222.8 kB / 370.4 MB, free: 8.777 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001185/0.1785, allocations: 179.3 kB / 370.6 MB, free: 8.598 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008704/0.1873, allocations: 5.927 MB / 376.5 MB, free: 2.641 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001638/0.1889, allocations: 1.865 MB / 378.4 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0007791/0.1897, allocations: 271.6 kB / 378.6 MB, free: 484 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002574/0.19, allocations: 87.42 kB / 378.7 MB, free: 396 kB / 318.1 MB Notification: Performance of SimCode: time 1.202e-06/0.19, allocations: 0 / 378.7 MB, free: 396 kB / 318.1 MB Notification: Performance of Templates: time 0.2628/0.4528, allocations: 13.89 MB / 392.6 MB, free: 47.28 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & ./Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) Environment - environmentSimulation: