Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding1.i|winding2.i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding1.i|winding2.i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00108/0.00108, allocations: 111 kB / 18.45 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001215/0.001215, allocations: 211.9 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.324/1.324, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 55.91 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2185/0.2197, allocations: 50.55 MB / 409.9 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.004736/0.2244, allocations: 3.439 MB / 413.4 MB, free: 14.13 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002597/0.2271, allocations: 1.644 MB / 415 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001894/0.2273, allocations: 4 kB / 415 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002781/0.2301, allocations: 2.671 MB / 417.7 MB, free: 9.797 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004692/0.2306, allocations: 222.5 kB / 417.9 MB, free: 9.578 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006745/0.2313, allocations: 315.1 kB / 418.2 MB, free: 9.273 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001575/0.2328, allocations: 1.825 MB / 420 MB, free: 7.441 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002168/0.2331, allocations: 135.9 kB / 420.2 MB, free: 7.305 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003637/0.2334, allocations: 317 kB / 420.5 MB, free: 6.992 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003534/0.2338, allocations: 330.8 kB / 420.8 MB, free: 6.668 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.381e-05/0.2339, allocations: 44 kB / 420.9 MB, free: 6.625 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001936/0.2341, allocations: 99.91 kB / 421 MB, free: 6.527 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005736/0.2347, allocations: 0.8413 MB / 421.8 MB, free: 5.684 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006815/0.2354, allocations: 0.9423 MB / 422.7 MB, free: 4.734 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002187/0.2376, allocations: 2.637 MB / 425.4 MB, free: 2.094 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.2376, allocations: 0 / 425.4 MB, free: 2.094 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2376, allocations: 0 / 425.4 MB, free: 2.094 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.546e-05/0.2376, allocations: 0 / 425.4 MB, free: 2.094 MB / 334.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.003799/0.2414, allocations: 2.814 MB / 428.2 MB, free: 15.21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.2415, allocations: 12.03 kB / 428.2 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004209/0.2419, allocations: 297.2 kB / 428.5 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002483/0.2444, allocations: 1.836 MB / 430.3 MB, free: 13.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.707e-05/0.2445, allocations: 59.27 kB / 430.4 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001694/0.2447, allocations: 47.92 kB / 430.4 MB, free: 12.9 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006857/0.2454, allocations: 398.9 kB / 430.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.2454, allocations: 0 / 430.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.962e-05/0.2454, allocations: 16 kB / 430.8 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.2454, allocations: 11.94 kB / 430.8 MB, free: 12.47 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007063/0.2461, allocations: 327.8 kB / 431.2 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003654/0.2498, allocations: 2.903 MB / 434.1 MB, free: 9.145 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006191/0.2504, allocations: 321 kB / 434.4 MB, free: 8.812 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003171/0.2508, allocations: 164 kB / 434.5 MB, free: 8.648 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.322e-05/0.2508, allocations: 15.98 kB / 434.6 MB, free: 8.633 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.2509, allocations: 38.5 kB / 434.6 MB, free: 8.586 MB / 350.1 MB Notification: Performance of pre-optimization done (n=37): time 1.873e-06/0.2509, allocations: 0 / 434.6 MB, free: 8.586 MB / 350.1 MB Notification: Performance of matching and sorting (n=48): time 0.004682/0.2555, allocations: 2.397 MB / 437 MB, free: 6.121 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.904e-05/0.2556, allocations: 85.53 kB / 437.1 MB, free: 6.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005597/0.2612, allocations: 5.452 MB / 442.5 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.866e-05/0.2613, allocations: 37.7 kB / 442.6 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001017/0.2623, allocations: 1.183 MB / 443.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000117/0.2624, allocations: 169.6 kB / 443.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001301/0.2626, allocations: 86.16 kB / 444 MB, free: 15.07 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.2627, allocations: 330 kB / 444.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003252/0.263, allocations: 137.1 kB / 444.5 MB, free: 14.61 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003555/0.2634, allocations: 221.6 kB / 444.7 MB, free: 14.37 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007008/0.2641, allocations: 388.3 kB / 445 MB, free: 13.96 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.2641, allocations: 0 / 445 MB, free: 13.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001122/0.2652, allocations: 0.6878 MB / 445.7 MB, free: 13.27 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.2652, allocations: 7.984 kB / 445.7 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.2653, allocations: 4 kB / 445.7 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.2653, allocations: 4 kB / 445.8 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005028/0.2658, allocations: 119.8 kB / 445.9 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.2658, allocations: 4 kB / 445.9 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004019/0.2662, allocations: 16.19 kB / 445.9 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.167e-05/0.2663, allocations: 23.98 kB / 445.9 MB, free: 13.09 MB / 366.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.0009467/0.2672, allocations: 0.9346 MB / 446.8 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003023/0.2675, allocations: 268.4 kB / 447.1 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001436/0.269, allocations: 0.7943 MB / 447.9 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/0.2691, allocations: 7.984 kB / 447.9 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.145e-06/0.2691, allocations: 0 / 447.9 MB, free: 11.07 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009134/0.27, allocations: 493.5 kB / 448.4 MB, free: 10.56 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001739/0.2702, allocations: 8 kB / 448.4 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004753/0.2707, allocations: 19.98 kB / 448.4 MB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.588e-05/0.2708, allocations: 32.39 kB / 448.5 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00143/0.2722, allocations: 0.6518 MB / 449.1 MB, free: 9.844 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001462/0.2737, allocations: 1.079 MB / 450.2 MB, free: 8.738 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003422/0.274, allocations: 175.4 kB / 450.4 MB, free: 8.566 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.004308/0.2783, allocations: 3.99 MB / 454.3 MB, free: 4.586 MB / 366.1 MB Notification: Performance of Backend: time 7.11e-07/0.2784, allocations: 0 / 454.3 MB, free: 4.586 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002385/0.2807, allocations: 1.141 MB / 455.5 MB, free: 3.598 MB / 366.1 MB Notification: Performance of SimCode: time 0.006297/0.2871, allocations: 5.563 MB / 461 MB, free: 13.98 MB / 382.1 MB Notification: Performance of Templates: time 0.02947/0.3165, allocations: 16.29 MB / 477.3 MB, free: 13.74 MB / 398.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1)