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.000802/0.000802, allocations: 89.14 kB / 16.65 MB, free: 6.535 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.0008286/0.0008286, allocations: 178.5 kB / 17.56 MB, free: 6.18 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.386/1.386, allocations: 205.4 MB / 223.7 MB, free: 13.07 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.0004613/0.0004614, allocations: 8 kB / 280.7 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09972/0.1002, allocations: 47.59 MB / 328.3 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.004074/0.1043, allocations: 2.994 MB / 331.3 MB, free: 0.7383 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002433/0.1068, allocations: 1.365 MB / 332.7 MB, free: 15.36 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001953/0.107, allocations: 8 kB / 332.7 MB, free: 15.36 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002235/0.1092, allocations: 1.848 MB / 334.5 MB, free: 13.5 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004466/0.1097, allocations: 147.1 kB / 334.7 MB, free: 13.36 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006648/0.1104, allocations: 251.6 kB / 334.9 MB, free: 13.11 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001971/0.1123, allocations: 1.694 MB / 336.6 MB, free: 11.41 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000236/0.1126, allocations: 119.9 kB / 336.7 MB, free: 11.29 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003657/0.113, allocations: 281 kB / 337 MB, free: 11.02 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000409/0.1134, allocations: 290.9 kB / 337.3 MB, free: 10.73 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.881e-05/0.1135, allocations: 24 kB / 337.3 MB, free: 10.71 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001793/0.1137, allocations: 55.92 kB / 337.4 MB, free: 10.65 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007256/0.1144, allocations: 0.8141 MB / 338.2 MB, free: 9.836 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007393/0.1151, allocations: 0.9167 MB / 339.1 MB, free: 8.906 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001968/0.1171, allocations: 2.487 MB / 341.6 MB, free: 6.41 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.1171, allocations: 8 kB / 341.6 MB, free: 6.402 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1171, allocations: 0 / 341.6 MB, free: 6.402 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.231e-05/0.1172, allocations: 0 / 341.6 MB, free: 6.402 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.004238/0.1214, allocations: 2.403 MB / 344 MB, free: 3.938 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.1215, allocations: 8.031 kB / 344 MB, free: 3.93 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005558/0.1221, allocations: 281.3 kB / 344.3 MB, free: 3.652 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004299/0.1264, allocations: 1.824 MB / 346.1 MB, free: 1.77 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000117/0.1265, allocations: 59.27 kB / 346.2 MB, free: 1.707 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002618/0.1268, allocations: 51.92 kB / 346.2 MB, free: 1.656 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001144/0.128, allocations: 395 kB / 346.6 MB, free: 1.258 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.313e-05/0.128, allocations: 0 / 346.6 MB, free: 1.258 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.27e-05/0.1281, allocations: 16 kB / 346.6 MB, free: 1.242 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.102e-05/0.1281, allocations: 12 kB / 346.6 MB, free: 1.23 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001077/0.1292, allocations: 335.7 kB / 347 MB, free: 0.9023 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007425/0.1366, allocations: 2.911 MB / 349.9 MB, free: 13.89 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000963/0.1377, allocations: 324.9 kB / 350.2 MB, free: 13.55 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005023/0.1382, allocations: 161.7 kB / 350.4 MB, free: 13.39 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.547e-05/0.1383, allocations: 12 kB / 350.4 MB, free: 13.38 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.187e-05/0.1383, allocations: 43.03 kB / 350.4 MB, free: 13.33 MB / 302.1 MB Notification: Performance of pre-optimization done (n=37): time 3.166e-06/0.1383, allocations: 0 / 350.4 MB, free: 13.33 MB / 302.1 MB Notification: Performance of matching and sorting (n=48): time 0.008518/0.1468, allocations: 2.381 MB / 352.8 MB, free: 10.88 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.117e-05/0.147, allocations: 85.53 kB / 352.9 MB, free: 10.78 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0154/0.1624, allocations: 5.439 MB / 358.3 MB, free: 5.336 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001329/0.1626, allocations: 33.7 kB / 358.3 MB, free: 5.297 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00231/0.1649, allocations: 1.203 MB / 359.5 MB, free: 4.09 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000314/0.1653, allocations: 177.4 kB / 359.7 MB, free: 3.914 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001442/0.1654, allocations: 45.69 kB / 359.8 MB, free: 3.863 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001811/0.1656, allocations: 329.9 kB / 360.1 MB, free: 3.535 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007067/0.1664, allocations: 141 kB / 360.2 MB, free: 3.398 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007182/0.1671, allocations: 221.7 kB / 360.4 MB, free: 3.152 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001384/0.1685, allocations: 384.3 kB / 360.8 MB, free: 2.75 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.1685, allocations: 4 kB / 360.8 MB, free: 2.746 MB / 302.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.002626/0.1712, allocations: 0.6801 MB / 361.5 MB, free: 2.055 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.221e-05/0.1712, allocations: 8 kB / 361.5 MB, free: 2.047 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.1713, allocations: 4.25 kB / 361.5 MB, free: 2.043 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.881e-05/0.1713, allocations: 8 kB / 361.5 MB, free: 2.035 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009839/0.1723, allocations: 119.8 kB / 361.6 MB, free: 1.918 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.95e-05/0.1723, allocations: 7.938 kB / 361.6 MB, free: 1.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001086/0.1734, allocations: 27.83 kB / 361.7 MB, free: 1.883 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.303e-05/0.1735, allocations: 16 kB / 361.7 MB, free: 1.867 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002355/0.1759, allocations: 0.9192 MB / 362.6 MB, free: 0.9375 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008595/0.1767, allocations: 272.5 kB / 362.9 MB, free: 0.668 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002984/0.1797, allocations: 0.7747 MB / 363.6 MB, free: 15.89 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.979e-05/0.1798, allocations: 4 kB / 363.6 MB, free: 15.88 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.1798, allocations: 4 kB / 363.7 MB, free: 15.88 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.527e-06/0.1798, allocations: 4 kB / 363.7 MB, free: 15.88 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004046/0.1839, allocations: 1.477 MB / 365.1 MB, free: 14.34 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.517e-06/0.1839, allocations: 0 / 365.1 MB, free: 14.34 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009127/0.1849, allocations: 95.89 kB / 365.2 MB, free: 14.25 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005621/0.1855, allocations: 80.7 kB / 365.3 MB, free: 14.17 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.816e-05/0.1855, allocations: 19.98 kB / 365.3 MB, free: 14.15 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001011/0.1866, allocations: 0.6343 MB / 366 MB, free: 13.49 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.1866, allocations: 32 / 366 MB, free: 13.49 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003345/0.1899, allocations: 1.065 MB / 367 MB, free: 12.4 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001895/0.1919, allocations: 0.4897 MB / 367.5 MB, free: 11.89 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006027/0.1925, allocations: 12 kB / 367.5 MB, free: 11.88 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001135/0.1936, allocations: 19.98 kB / 367.5 MB, free: 11.86 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001438/0.1938, allocations: 36.38 kB / 367.6 MB, free: 11.82 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.298e-05/0.1939, allocations: 12 kB / 367.6 MB, free: 11.81 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0108/0.2047, allocations: 3.974 MB / 371.6 MB, free: 7.848 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.202e-06/0.2048, allocations: 0 / 371.6 MB, free: 7.848 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002042/0.2068, allocations: 208 kB / 371.8 MB, free: 7.645 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 (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 {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001989/0.2088, allocations: 425.2 kB / 372.2 MB, free: 7.23 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00167/0.2105, allocations: 380.8 kB / 372.6 MB, free: 6.855 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.2105, allocations: 0 / 372.6 MB, free: 6.855 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009246/0.2115, allocations: 218.9 kB / 372.8 MB, free: 6.645 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002616/0.2141, allocations: 187.2 kB / 373 MB, free: 6.457 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01528/0.2294, allocations: 6.156 MB / 379.1 MB, free: 272 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.153/0.3824, allocations: 1.81 MB / 380.9 MB, free: 50.71 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006412/0.3831, allocations: 274 kB / 381.2 MB, free: 50.69 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002908/0.3834, allocations: 93.42 kB / 381.3 MB, free: 50.69 MB / 318.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3834, allocations: 2.844 kB / 381.3 MB, free: 50.69 MB / 318.1 MB Notification: Performance of Templates: time 0.02965/0.4131, allocations: 14.19 MB / 395.5 MB, free: 46.09 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile (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)