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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009956/0.0009957, allocations: 179.5 kB / 16.38 MB, free: 5.762 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.117/1.117, allocations: 194.5 MB / 211.6 MB, free: 3.055 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.00155/0.00155, allocations: 113.3 kB / 256.9 MB, free: 4.352 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002821/0.0002822, allocations: 8 kB / 310.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07135/0.07164, allocations: 44.49 MB / 355.1 MB, free: 2.336 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2056/0.2773, allocations: 79 MB / 434.1 MB, free: 10.65 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002081/0.2775, allocations: 90.02 kB / 434.1 MB, free: 10.61 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06844/0.346, allocations: 38.56 MB / 472.7 MB, free: 6.352 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.346, allocations: 0 / 472.7 MB, free: 6.352 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002152/0.3462, allocations: 32.19 kB / 472.7 MB, free: 6.32 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.004373/0.3506, allocations: 2.64 MB / 475.4 MB, free: 3.602 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.3507, allocations: 12.03 kB / 475.4 MB, free: 3.59 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005031/0.3512, allocations: 280.4 kB / 475.7 MB, free: 3.312 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003552/0.3547, allocations: 1.884 MB / 477.6 MB, free: 1.375 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.765e-05/0.3548, allocations: 62.64 kB / 477.6 MB, free: 1.309 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001674/0.355, allocations: 55.83 kB / 477.7 MB, free: 1.254 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000682/0.3557, allocations: 391 kB / 478 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.3557, allocations: 0 / 478 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.604e-05/0.3558, allocations: 16 kB / 478.1 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.3558, allocations: 12.75 kB / 478.1 MB, free: 0.832 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006753/0.3565, allocations: 331.7 kB / 478.4 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004856/0.3613, allocations: 3.086 MB / 481.5 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000598/0.362, allocations: 317 kB / 481.8 MB, free: 12.99 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.714e-05/0.362, allocations: 4 kB / 481.8 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.362, allocations: 38.56 kB / 481.8 MB, free: 12.94 MB / 362.7 MB Notification: Performance of pre-optimization done (n=37): time 1.664e-06/0.362, allocations: 0 / 481.8 MB, free: 12.94 MB / 362.7 MB Notification: Performance of matching and sorting (n=48): time 0.004871/0.3669, allocations: 2.558 MB / 484.4 MB, free: 10.29 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.14e-05/0.367, allocations: 81.55 kB / 484.5 MB, free: 10.19 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007766/0.3747, allocations: 4.867 MB / 489.3 MB, free: 5.324 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.087e-05/0.3748, allocations: 29.7 kB / 489.4 MB, free: 5.289 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009854/0.3758, allocations: 1.16 MB / 490.5 MB, free: 4.121 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001246/0.3759, allocations: 177.5 kB / 490.7 MB, free: 3.945 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.074e-05/0.3759, allocations: 8 kB / 490.7 MB, free: 3.938 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.3761, allocations: 333.9 kB / 491 MB, free: 3.605 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000305/0.3764, allocations: 137.1 kB / 491.2 MB, free: 3.473 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003283/0.3767, allocations: 221 kB / 491.4 MB, free: 3.23 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000353/0.3771, allocations: 229.5 kB / 491.6 MB, free: 2.996 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3771, allocations: 4.562 kB / 491.6 MB, free: 2.992 MB / 362.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001095/0.3782, allocations: 0.7488 MB / 492.4 MB, free: 2.223 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.156e-05/0.3782, allocations: 60.66 kB / 492.4 MB, free: 2.152 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.3783, allocations: 4 kB / 492.4 MB, free: 2.148 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.3783, allocations: 12.16 kB / 492.4 MB, free: 2.137 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004831/0.3788, allocations: 120.6 kB / 492.6 MB, free: 2.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/0.3788, allocations: 11.05 kB / 492.6 MB, free: 2.012 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004224/0.3792, allocations: 20 kB / 492.6 MB, free: 1.992 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.404e-05/0.3793, allocations: 20 kB / 492.6 MB, free: 1.973 MB / 362.7 MB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 61 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009782/0.3802, allocations: 0.9192 MB / 493.5 MB, free: 1.043 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003575/0.3806, allocations: 280.5 kB / 493.8 MB, free: 0.7656 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001329/0.3819, allocations: 0.7911 MB / 494.6 MB, free: 15.96 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/0.382, allocations: 4 kB / 494.6 MB, free: 15.95 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.382, allocations: 1.562 kB / 494.6 MB, free: 15.95 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.754e-06/0.382, allocations: 7.984 kB / 494.6 MB, free: 15.95 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001714/0.3837, allocations: 1.691 MB / 496.3 MB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.3837, allocations: 0 / 496.3 MB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004431/0.3842, allocations: 101.9 kB / 496.4 MB, free: 14.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002899/0.3845, allocations: 80.8 kB / 496.5 MB, free: 14.03 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.403e-05/0.3845, allocations: 12 kB / 496.5 MB, free: 14.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005388/0.3851, allocations: 0.6538 MB / 497.1 MB, free: 13.34 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3851, allocations: 4.031 kB / 497.1 MB, free: 13.33 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001563/0.3866, allocations: 1.098 MB / 498.2 MB, free: 12.2 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001364/0.388, allocations: 0.6693 MB / 498.9 MB, free: 11.51 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002147/0.3882, allocations: 17.62 kB / 498.9 MB, free: 11.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004965/0.3887, allocations: 35.94 kB / 499 MB, free: 11.46 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.623e-05/0.3888, allocations: 28.39 kB / 499 MB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.723e-05/0.3889, allocations: 16 kB / 499 MB, free: 11.42 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00462/0.3935, allocations: 3.824 MB / 0.491 GB, free: 7.602 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.3935, allocations: 0 / 0.491 GB, free: 7.602 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008602/0.3944, allocations: 339.9 kB / 0.4914 GB, free: 7.27 MB / 378.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 () * 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.0008307/0.3952, allocations: 419.7 kB / 0.4918 GB, free: 6.91 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000811/0.396, allocations: 496.4 kB / 0.4922 GB, free: 6.395 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.396, allocations: 0 / 0.4922 GB, free: 6.395 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004274/0.3965, allocations: 218.8 kB / 0.4925 GB, free: 6.184 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007306/0.3972, allocations: 171 kB / 0.4926 GB, free: 6.012 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007471/0.4047, allocations: 6.219 MB / 0.4987 GB, free: 15.75 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001604/0.4063, allocations: 1.857 MB / 0.5005 GB, free: 13.86 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000607/0.4069, allocations: 390.4 kB / 0.5009 GB, free: 13.48 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003556/0.4073, allocations: 127.4 kB / 0.501 GB, free: 13.36 MB / 394.7 MB Notification: Performance of SimCode: time 4.51e-07/0.4073, allocations: 0 / 0.501 GB, free: 13.36 MB / 394.7 MB Notification: Performance of Templates: time 0.1522/0.5595, allocations: 19.94 MB / 0.5205 GB, free: 109.3 MB / 394.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)