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.001139/0.001139, allocations: 118.3 kB / 18.46 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001273/0.001273, allocations: 202.7 kB / 19.42 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.347/1.347, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001156, allocations: 63.89 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2121/0.2132, allocations: 50.55 MB / 409.9 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.004209/0.2175, allocations: 3.43 MB / 413.4 MB, free: 14.13 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002363/0.2199, allocations: 1.652 MB / 415 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000174/0.2201, allocations: 4 kB / 415 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002626/0.2227, allocations: 2.667 MB / 417.7 MB, free: 9.793 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004687/0.2232, allocations: 218.5 kB / 417.9 MB, free: 9.578 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006765/0.2239, allocations: 330.9 kB / 418.2 MB, free: 9.258 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001581/0.2255, allocations: 1.821 MB / 420.1 MB, free: 7.43 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002104/0.2257, allocations: 132 kB / 420.2 MB, free: 7.297 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003784/0.2261, allocations: 321 kB / 420.5 MB, free: 6.98 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003761/0.2265, allocations: 330.8 kB / 420.8 MB, free: 6.656 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.371e-05/0.2266, allocations: 44 kB / 420.9 MB, free: 6.613 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001962/0.2268, allocations: 87.98 kB / 420.9 MB, free: 6.527 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005594/0.2273, allocations: 0.8491 MB / 421.8 MB, free: 5.676 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009277/0.2283, allocations: 0.9501 MB / 422.7 MB, free: 4.719 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003286/0.2316, allocations: 2.649 MB / 425.4 MB, free: 2.062 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.2316, allocations: 0 / 425.4 MB, free: 2.062 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.2316, allocations: 0 / 425.4 MB, free: 2.062 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.873e-05/0.2317, allocations: 0 / 425.4 MB, free: 2.062 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.004094/0.2358, allocations: 2.915 MB / 428.3 MB, free: 15.08 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.299e-05/0.2358, allocations: 8.031 kB / 428.3 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005313/0.2364, allocations: 306.9 kB / 428.6 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002628/0.239, allocations: 1.862 MB / 430.5 MB, free: 12.86 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.866e-05/0.2391, allocations: 67 kB / 430.5 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001773/0.2393, allocations: 40 kB / 430.6 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007239/0.24, allocations: 399 kB / 431 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.326e-05/0.2401, allocations: 0 / 431 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.132e-05/0.2401, allocations: 12 kB / 431 MB, free: 12.33 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.214e-05/0.2401, allocations: 11.94 kB / 431 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007332/0.2409, allocations: 331.8 kB / 431.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003642/0.2445, allocations: 2.908 MB / 434.2 MB, free: 8.984 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006125/0.2451, allocations: 325 kB / 434.5 MB, free: 8.648 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003121/0.2455, allocations: 164.1 kB / 434.7 MB, free: 8.484 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.035e-05/0.2455, allocations: 7.984 kB / 434.7 MB, free: 8.477 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.2455, allocations: 46.44 kB / 434.8 MB, free: 8.422 MB / 350.1 MB Notification: Performance of pre-optimization done (n=37): time 2.034e-06/0.2456, allocations: 4 kB / 434.8 MB, free: 8.418 MB / 350.1 MB Notification: Performance of matching and sorting (n=48): time 0.004543/0.2501, allocations: 2.477 MB / 437.2 MB, free: 5.879 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.838e-05/0.2502, allocations: 81.55 kB / 437.3 MB, free: 5.781 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005681/0.2558, allocations: 5.459 MB / 442.8 MB, free: 328 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.668e-05/0.2559, allocations: 29.7 kB / 442.8 MB, free: 292 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001035/0.2569, allocations: 1.188 MB / 444 MB, free: 15.09 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001196/0.2571, allocations: 174.5 kB / 444.2 MB, free: 14.92 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001419/0.2572, allocations: 90.2 kB / 444.3 MB, free: 14.82 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.2573, allocations: 325.9 kB / 444.6 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003263/0.2577, allocations: 145 kB / 444.7 MB, free: 14.36 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003714/0.2581, allocations: 225.6 kB / 444.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007001/0.2588, allocations: 384.3 kB / 445.3 MB, free: 13.71 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.2588, allocations: 3.938 kB / 445.3 MB, free: 13.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001065/0.2599, allocations: 0.6933 MB / 446 MB, free: 13.01 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.2599, allocations: 8 kB / 446 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.2599, allocations: 8.25 kB / 446 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.2599, allocations: 4 kB / 446 MB, free: 12.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005147/0.2605, allocations: 115.9 kB / 446.1 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/0.2605, allocations: 7.938 kB / 446.2 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004019/0.2609, allocations: 19.98 kB / 446.2 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.096e-05/0.2609, allocations: 16 kB / 446.2 MB, free: 12.83 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.0009311/0.2619, allocations: 0.9192 MB / 447.1 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002834/0.2621, allocations: 286.1 kB / 447.4 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001401/0.2636, allocations: 0.8059 MB / 448.2 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.205e-06/0.2636, allocations: 4 kB / 448.2 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.2636, allocations: 0 / 448.2 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000653/0.2642, allocations: 0.4991 MB / 448.7 MB, free: 10.28 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001822/0.2644, allocations: 8 kB / 448.7 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004716/0.2649, allocations: 23.98 kB / 448.7 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.777e-05/0.265, allocations: 24.41 kB / 448.7 MB, free: 10.22 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001425/0.2664, allocations: 0.6597 MB / 449.4 MB, free: 9.555 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001422/0.2679, allocations: 1.092 MB / 450.5 MB, free: 8.438 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003328/0.2682, allocations: 171.4 kB / 450.7 MB, free: 8.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.004157/0.2724, allocations: 3.994 MB / 454.7 MB, free: 4.285 MB / 366.1 MB Notification: Performance of Backend: time 4.91e-07/0.2724, allocations: 0 / 454.7 MB, free: 4.285 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002401/0.2748, allocations: 1.132 MB / 455.8 MB, free: 3.312 MB / 366.1 MB Notification: Performance of SimCode: time 0.006217/0.281, allocations: 5.645 MB / 461.4 MB, free: 13.6 MB / 382.1 MB Notification: Performance of Templates: time 0.03017/0.3112, allocations: 16.3 MB / 477.7 MB, free: 13.36 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)