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/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.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/Complex 3.2.2+maint.om/package.mo): time 0.0009684/0.0009684, allocations: 179.5 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.089/1.089, allocations: 194.5 MB / 211.6 MB, free: 3.051 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.00159/0.00159, allocations: 117.1 kB / 256.9 MB, free: 4.363 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003215/0.0003215, allocations: 8 kB / 310.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07061/0.07095, allocations: 44.5 MB / 355.1 MB, free: 2.328 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.206/0.2769, allocations: 85.3 MB / 440.4 MB, free: 4.355 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000172/0.2772, allocations: 81.7 kB / 440.4 MB, free: 4.312 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03991/0.3171, allocations: 15.53 MB / 456 MB, free: 7.25 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3171, allocations: 4 kB / 456 MB, free: 7.246 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.972e-05/0.3172, allocations: 16 kB / 456 MB, free: 7.23 MB / 330.7 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.001835/0.319, allocations: 0.966 MB / 457 MB, free: 6.223 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.319, allocations: 12.03 kB / 457 MB, free: 6.211 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001304/0.3192, allocations: 79.02 kB / 457.1 MB, free: 6.133 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006756/0.3199, allocations: 0.4903 MB / 457.5 MB, free: 5.602 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.982e-05/0.32, allocations: 71.02 kB / 457.6 MB, free: 5.527 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001801/0.3201, allocations: 63.89 kB / 457.7 MB, free: 5.465 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009962/0.3212, allocations: 0.6064 MB / 458.3 MB, free: 4.84 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.3212, allocations: 0 / 458.3 MB, free: 4.84 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-05/0.3213, allocations: 24 kB / 458.3 MB, free: 4.816 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/0.3213, allocations: 16 kB / 458.3 MB, free: 4.801 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001034/0.3223, allocations: 0.5321 MB / 458.9 MB, free: 4.266 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00306/0.3254, allocations: 2.32 MB / 461.2 MB, free: 1.844 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008991/0.3263, allocations: 495.4 kB / 461.7 MB, free: 1.34 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.62e-05/0.3263, allocations: 4 kB / 461.7 MB, free: 1.336 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.3264, allocations: 46.52 kB / 461.7 MB, free: 1.281 MB / 330.7 MB Notification: Performance of pre-optimization done (n=45): time 1.923e-06/0.3264, allocations: 0 / 461.7 MB, free: 1.281 MB / 330.7 MB Notification: Performance of matching and sorting (n=61): time 0.01278/0.3392, allocations: 3.705 MB / 465.4 MB, free: 13.48 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.09e-05/0.3392, allocations: 81.67 kB / 465.5 MB, free: 13.39 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006074/0.3399, allocations: 489.2 kB / 466 MB, free: 12.9 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.102e-05/0.3399, allocations: 33.7 kB / 466 MB, free: 12.86 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001829/0.3401, allocations: 312.3 kB / 466.3 MB, free: 12.55 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001443/0.3403, allocations: 208.9 kB / 466.5 MB, free: 12.35 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.416e-05/0.3403, allocations: 8 kB / 466.5 MB, free: 12.34 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.3404, allocations: 374.8 kB / 466.9 MB, free: 11.96 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005163/0.341, allocations: 253.1 kB / 467.1 MB, free: 11.71 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005559/0.3415, allocations: 347.6 kB / 467.5 MB, free: 11.35 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005652/0.3421, allocations: 290.1 kB / 467.8 MB, free: 11.06 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.3421, allocations: 4 kB / 467.8 MB, free: 11.06 MB / 346.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001403/0.3435, allocations: 0.7527 MB / 468.5 MB, free: 10.29 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.3435, allocations: 5.25 kB / 468.5 MB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.3436, allocations: 12.19 kB / 468.5 MB, free: 10.28 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001493/0.3437, allocations: 36.83 kB / 468.6 MB, free: 10.24 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007936/0.3445, allocations: 163.8 kB / 468.7 MB, free: 10.08 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009797/0.3455, allocations: 1.338 MB / 470.1 MB, free: 8.613 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006234/0.3461, allocations: 44.05 kB / 470.1 MB, free: 8.57 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.887e-05/0.3462, allocations: 25.39 kB / 470.1 MB, free: 8.547 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (75): * Single equations (assignments): 74 * 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.0003047/0.3465, allocations: 205.6 kB / 470.3 MB, free: 8.336 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001205/0.3466, allocations: 59.3 kB / 470.4 MB, free: 8.277 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001735/0.3484, allocations: 0.865 MB / 471.3 MB, free: 7.402 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.3484, allocations: 4 kB / 471.3 MB, free: 7.398 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.3484, allocations: 3.984 kB / 471.3 MB, free: 7.395 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-06/0.3484, allocations: 7.984 kB / 471.3 MB, free: 7.387 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003582/0.352, allocations: 1.881 MB / 473.1 MB, free: 5.445 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.352, allocations: 0 / 473.1 MB, free: 5.445 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005475/0.3526, allocations: 121.6 kB / 473.3 MB, free: 5.328 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002629/0.3552, allocations: 0.5003 MB / 473.8 MB, free: 4.824 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.276e-05/0.3553, allocations: 15.95 kB / 473.8 MB, free: 4.809 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004765/0.3601, allocations: 3.018 MB / 476.8 MB, free: 1.652 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3601, allocations: 0 / 476.8 MB, free: 1.652 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002916/0.363, allocations: 1.419 MB / 478.2 MB, free: 216 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003362/0.3634, allocations: 212.3 kB / 478.4 MB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.834e-05/0.3635, allocations: 23.27 kB / 478.5 MB, free: 15.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006142/0.3641, allocations: 51.97 kB / 478.5 MB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001465/0.3643, allocations: 44.48 kB / 478.5 MB, free: 15.87 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-05/0.3643, allocations: 23.98 kB / 478.6 MB, free: 15.84 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004568/0.3648, allocations: 390.9 kB / 479 MB, free: 15.46 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.3648, allocations: 0 / 479 MB, free: 15.46 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007493/0.3655, allocations: 188 kB / 479.1 MB, free: 15.28 MB / 362.7 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.0003088/0.3659, allocations: 155.8 kB / 479.3 MB, free: 15.12 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001416/0.3673, allocations: 0.7493 MB / 480 MB, free: 14.36 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.3673, allocations: 4 kB / 480 MB, free: 14.36 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008315/0.3681, allocations: 0.5355 MB / 480.6 MB, free: 13.81 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005064/0.3687, allocations: 82.66 kB / 480.7 MB, free: 13.73 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002659/0.3713, allocations: 1.823 MB / 482.5 MB, free: 11.88 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004052/0.3717, allocations: 0.9123 MB / 483.4 MB, free: 10.95 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003458/0.3721, allocations: 72.73 kB / 483.5 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001703/0.3723, allocations: 47.42 kB / 483.5 MB, free: 10.83 MB / 362.7 MB Notification: Performance of SimCode: time 4.71e-07/0.3723, allocations: 0 / 483.5 MB, free: 10.83 MB / 362.7 MB Notification: Performance of Templates: time 0.01414/0.3864, allocations: 9.418 MB / 492.9 MB, free: 1.473 MB / 362.7 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.makefile (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)