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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002068/0.002068, allocations: 190.2 kB / 8.136 MB, free: 2.215 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.302/1.302, allocations: 194.2 MB / 202.8 MB, free: 8.766 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00183/0.00183, allocations: 124.3 kB / 247.8 MB, free: 6.262 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 6.001e-06/6.011e-06, allocations: 0 / 297.6 MB, free: 8.012 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07503/0.07505, allocations: 44.49 MB / 342.1 MB, free: 11.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1999/0.275, allocations: 78.17 MB / 420.2 MB, free: 17.2 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001967/0.2753, allocations: 80.34 kB / 420.3 MB, free: 17.16 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.07411/0.3494, allocations: 37.19 MB / 457.5 MB, free: 15.45 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001339/0.3496, allocations: 36 kB / 457.5 MB, free: 15.41 MB / 346.7 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.002415/0.352, allocations: 1.994 MB / 459.5 MB, free: 13.48 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.352, allocations: 8.031 kB / 459.5 MB, free: 13.48 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003656/0.3524, allocations: 276.4 kB / 459.8 MB, free: 13.2 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002927/0.3553, allocations: 1.861 MB / 461.7 MB, free: 11.6 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.886e-05/0.3554, allocations: 46.42 kB / 461.7 MB, free: 11.54 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001676/0.3556, allocations: 35.89 kB / 461.8 MB, free: 11.51 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004978/0.3561, allocations: 278.7 kB / 462 MB, free: 11.33 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005213/0.3566, allocations: 323.9 kB / 462.3 MB, free: 11.08 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.3567, allocations: 4 kB / 462.3 MB, free: 11.07 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.171e-05/0.3567, allocations: 0 / 462.3 MB, free: 11.07 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.3567, allocations: 8 kB / 462.4 MB, free: 11.07 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004095/0.3608, allocations: 3.006 MB / 465.4 MB, free: 8.688 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002866/0.3611, allocations: 181.5 kB / 465.5 MB, free: 8.551 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002125/0.3614, allocations: 142.1 kB / 465.7 MB, free: 8.457 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.628e-05/0.3614, allocations: 4 kB / 465.7 MB, free: 8.453 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.3614, allocations: 41.73 kB / 465.7 MB, free: 8.406 MB / 346.7 MB Notification: Performance of pre-optimization done (n=37): time 1.883e-06/0.3614, allocations: 0 / 465.7 MB, free: 8.406 MB / 346.7 MB Notification: Performance of matching and sorting (n=48): time 0.003346/0.3648, allocations: 2.027 MB / 467.7 MB, free: 6.527 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.727e-05/0.3648, allocations: 81.55 kB / 467.8 MB, free: 6.43 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008019/0.3729, allocations: 4.679 MB / 472.5 MB, free: 3.035 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.478e-05/0.3729, allocations: 29.73 kB / 472.5 MB, free: 3 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003963/0.3733, allocations: 495.6 kB / 473 MB, free: 2.625 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001197/0.3735, allocations: 154.4 kB / 473.2 MB, free: 2.492 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.295e-05/0.3735, allocations: 3.984 kB / 473.2 MB, free: 2.488 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.3736, allocations: 326 kB / 473.5 MB, free: 2.172 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000268/0.3739, allocations: 131 kB / 473.6 MB, free: 2.094 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002873/0.3742, allocations: 199.1 kB / 473.8 MB, free: 1.934 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002934/0.3745, allocations: 161.2 kB / 474 MB, free: 1.836 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3745, allocations: 0 / 474 MB, free: 1.836 MB / 346.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001131/0.3756, allocations: 0.6946 MB / 474.7 MB, free: 1.254 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.3757, allocations: 10.61 kB / 474.7 MB, free: 1.246 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.3757, allocations: 4 kB / 474.7 MB, free: 1.242 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005645/0.3762, allocations: 139.9 kB / 474.8 MB, free: 1.133 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004449/0.3767, allocations: 94.75 kB / 474.9 MB, free: 1.043 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009129/0.3776, allocations: 0.782 MB / 475.7 MB, free: 344 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000522/0.3782, allocations: 4 kB / 475.7 MB, free: 340 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.335e-05/0.3782, allocations: 21.55 kB / 475.7 MB, free: 324 kB / 346.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: core.Hstat:VARIABLE(unit = "A/m" ) "Static (ferromagnetic) portion of the magnetic field strength" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 2 * 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 14} Notification: Performance of prepare postOptimizeDAE: time 0.0001551/0.3784, allocations: 116.8 kB / 475.8 MB, free: 200 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003943/0.3788, allocations: 268.5 kB / 476.1 MB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00129/0.3801, allocations: 0.7261 MB / 476.8 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.3801, allocations: 7.906 kB / 476.8 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.3801, allocations: 0 / 476.8 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/0.3801, allocations: 7.984 kB / 476.8 MB, free: 15.35 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001919/0.382, allocations: 1.611 MB / 478.4 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.3821, allocations: 0 / 478.4 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005211/0.3826, allocations: 99.88 kB / 478.5 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002645/0.3829, allocations: 88.8 kB / 478.6 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.238e-05/0.3829, allocations: 4 kB / 478.6 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006506/0.3836, allocations: 0.6537 MB / 479.3 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.3836, allocations: 4 kB / 479.3 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001376/0.385, allocations: 1.018 MB / 480.3 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001172/0.3861, allocations: 0.6732 MB / 481 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003015/0.3865, allocations: 3.984 kB / 481 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005672/0.387, allocations: 12 kB / 481 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.736e-05/0.3871, allocations: 24.39 kB / 481 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.409e-05/0.3872, allocations: 23.98 kB / 481 MB, free: 11.28 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.004798/0.392, allocations: 3.629 MB / 484.7 MB, free: 7.656 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009797/0.393, allocations: 296 kB / 485 MB, free: 7.367 MB / 362.7 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 () * 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.0007154/0.3937, allocations: 315 kB / 485.3 MB, free: 7.105 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007541/0.3944, allocations: 410.6 kB / 485.7 MB, free: 6.695 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.3945, allocations: 7.938 kB / 485.7 MB, free: 6.688 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003289/0.3948, allocations: 193.5 kB / 485.9 MB, free: 6.5 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008342/0.3956, allocations: 157.2 kB / 486 MB, free: 6.344 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007809/0.4035, allocations: 4.783 MB / 490.8 MB, free: 1.5 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002222/0.4057, allocations: 1.985 MB / 492.8 MB, free: 15.48 MB / 378.7 MB Notification: Performance of SimCode: time 4.4e-07/0.4057, allocations: 0 / 492.8 MB, free: 15.48 MB / 378.7 MB Notification: Performance of Templates: time 0.03251/0.4382, allocations: 13.27 MB / 0.4942 GB, free: 2.172 MB / 378.7 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)