Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2,tolerance=0.0001,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|transformer.core.B|transformer.core.MagRel|transformer.core.Hstat|transformer.winding1.i|transformer.winding2.i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2,tolerance=0.0001,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|transformer.core.B|transformer.core.MagRel|transformer.core.Hstat|transformer.winding1.i|transformer.winding2.i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 106.3 kB / 17.74 MB, free: 5.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001197/0.001197, allocations: 185.4 kB / 18.67 MB, free: 4.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009969/0.0009969, allocations: 47.92 kB / 352 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2165/0.2175, allocations: 49.44 MB / 401.4 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.004928/0.2225, allocations: 4.359 MB / 405.8 MB, free: 4.504 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002134/0.2246, allocations: 1.582 MB / 407.4 MB, free: 2.914 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000219/0.2248, allocations: 11.94 kB / 407.4 MB, free: 2.902 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003118/0.2252, allocations: 126.8 kB / 407.5 MB, free: 2.777 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006818/0.2259, allocations: 365.6 kB / 407.8 MB, free: 2.418 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003598/0.2262, allocations: 227.7 kB / 408.1 MB, free: 2.195 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00082/0.2271, allocations: 0.9861 MB / 409.1 MB, free: 1.203 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003155/0.2274, allocations: 242.6 kB / 409.3 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003631/0.2278, allocations: 378.7 kB / 409.7 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004531/0.2282, allocations: 422.3 kB / 410.1 MB, free: 180 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001214/0.2283, allocations: 96 kB / 410.2 MB, free: 84 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003572/0.2287, allocations: 215.9 kB / 410.4 MB, free: 15.87 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001554/0.2289, allocations: 203.3 kB / 410.6 MB, free: 15.67 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003298/0.2292, allocations: 414.1 kB / 411 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009575/0.2302, allocations: 1.168 MB / 412.2 MB, free: 14.1 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2302, allocations: 0 / 412.2 MB, free: 14.1 MB / 334.1 MB Notification: Performance of FrontEnd: time 6.192e-06/0.2302, allocations: 7.922 kB / 412.2 MB, free: 14.09 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.954e-06/0.2302, allocations: 0 / 412.2 MB, free: 14.09 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.002236/0.2325, allocations: 1.087 MB / 413.2 MB, free: 12.95 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.2325, allocations: 8.031 kB / 413.3 MB, free: 12.94 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001431/0.2327, allocations: 80 kB / 413.3 MB, free: 12.86 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006925/0.2334, allocations: 0.5145 MB / 413.8 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.682e-05/0.2335, allocations: 75.58 kB / 413.9 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001881/0.2336, allocations: 64.48 kB / 414 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001091/0.2347, allocations: 0.6019 MB / 414.6 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.2348, allocations: 8 kB / 414.6 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.623e-05/0.2348, allocations: 20 kB / 414.6 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/0.2349, allocations: 15.94 kB / 414.6 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001098/0.236, allocations: 0.5243 MB / 415.2 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003221/0.2392, allocations: 2.295 MB / 417.4 MB, free: 8.574 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009654/0.2402, allocations: 477 kB / 417.9 MB, free: 8.086 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005276/0.2407, allocations: 262.8 kB / 418.2 MB, free: 7.824 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.816e-05/0.2407, allocations: 15.98 kB / 418.2 MB, free: 7.809 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.2408, allocations: 34.56 kB / 418.2 MB, free: 7.766 MB / 334.1 MB Notification: Performance of pre-optimization done (n=45): time 1.763e-06/0.2408, allocations: 0 / 418.2 MB, free: 7.766 MB / 334.1 MB Notification: Performance of matching and sorting (n=61): time 0.0128/0.2536, allocations: 3.543 MB / 421.8 MB, free: 4.129 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.2537, allocations: 89.67 kB / 421.8 MB, free: 4.023 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006214/0.2543, allocations: 0.537 MB / 422.4 MB, free: 3.477 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.993e-05/0.2543, allocations: 37.7 kB / 422.4 MB, free: 3.434 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001973/0.2545, allocations: 312.3 kB / 422.7 MB, free: 3.125 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001797/0.2547, allocations: 212.9 kB / 422.9 MB, free: 2.914 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002019/0.2549, allocations: 118.2 kB / 423.1 MB, free: 2.793 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.2551, allocations: 366.8 kB / 423.4 MB, free: 2.426 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005794/0.2557, allocations: 241.2 kB / 423.6 MB, free: 2.188 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006309/0.2563, allocations: 364.3 kB / 424 MB, free: 1.801 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001203/0.2575, allocations: 0.5981 MB / 424.6 MB, free: 1.168 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.2575, allocations: 0 / 424.6 MB, free: 1.168 MB / 334.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001544/0.2591, allocations: 0.7452 MB / 425.3 MB, free: 420 kB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.2591, allocations: 8 kB / 425.4 MB, free: 412 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.2591, allocations: 0 / 425.4 MB, free: 412 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001526/0.2593, allocations: 28.84 kB / 425.4 MB, free: 380 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008104/0.2601, allocations: 171.9 kB / 425.5 MB, free: 208 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001114/0.2612, allocations: 1.434 MB / 427 MB, free: 14.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006046/0.2619, allocations: 43.86 kB / 427 MB, free: 14.58 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.249e-05/0.2619, allocations: 23.98 kB / 427 MB, free: 14.56 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (76): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002775/0.2622, allocations: 201.8 kB / 427.2 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001384/0.2624, allocations: 63.25 kB / 427.3 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001819/0.2642, allocations: 0.8336 MB / 428.1 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/0.2642, allocations: 7.922 kB / 428.1 MB, free: 13.44 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.2642, allocations: 3.938 kB / 428.2 MB, free: 13.44 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000277/0.2645, allocations: 208.3 kB / 428.4 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.2646, allocations: 12 kB / 428.4 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006189/0.2652, allocations: 43.97 kB / 428.4 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/0.2653, allocations: 44.44 kB / 428.5 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002983/0.2683, allocations: 1.072 MB / 429.5 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002034/0.2704, allocations: 1.264 MB / 430.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005793/0.271, allocations: 304.3 kB / 431.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004343/0.2714, allocations: 386.9 kB / 431.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of Backend: time 1.843e-06/0.2714, allocations: 4 kB / 431.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001513/0.2729, allocations: 0.6166 MB / 432.1 MB, free: 9.434 MB / 350.1 MB Notification: Performance of SimCode: time 0.002155/0.2751, allocations: 1.842 MB / 433.9 MB, free: 7.535 MB / 350.1 MB Notification: Performance of Templates: time 0.01602/0.2911, allocations: 10.07 MB / 444 MB, free: 13.57 MB / 366.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe 2>&1)