Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001388/0.001388, allocations: 107.3 kB / 18.4 MB, free: 4.566 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.001458/0.001459, allocations: 191.3 kB / 19.34 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.296/1.296, allocations: 205.1 MB / 225.2 MB, free: 12.28 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 43.94 kB / 329.2 MB, free: 3.32 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07368/0.07506, allocations: 46.6 MB / 375.8 MB, free: 4.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.005222/0.0803, allocations: 4.311 MB / 380.1 MB, free: 280 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1517/0.232, allocations: 1.633 MB / 381.8 MB, free: 9.707 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002498/0.2323, allocations: 9.5 kB / 381.8 MB, free: 9.707 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000302/0.2326, allocations: 123.9 kB / 381.9 MB, free: 9.652 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006461/0.2333, allocations: 360.7 kB / 382.2 MB, free: 9.527 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003456/0.2336, allocations: 227.6 kB / 382.5 MB, free: 9.52 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007036/0.2343, allocations: 0.985 MB / 383.4 MB, free: 9.328 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000342/0.2347, allocations: 241 kB / 383.7 MB, free: 9.301 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004315/0.2351, allocations: 380.1 kB / 384.1 MB, free: 9.207 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000443/0.2356, allocations: 427.1 kB / 384.5 MB, free: 9 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001123/0.2357, allocations: 96.84 kB / 384.6 MB, free: 9 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003507/0.2361, allocations: 216.3 kB / 384.8 MB, free: 8.973 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001327/0.2362, allocations: 201.6 kB / 385 MB, free: 8.836 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002955/0.2365, allocations: 411.7 kB / 385.4 MB, free: 8.582 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001039/0.2375, allocations: 1.161 MB / 386.5 MB, free: 8.176 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.2376, allocations: 1.25 kB / 386.5 MB, free: 8.176 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2376, allocations: 0.6094 kB / 386.5 MB, free: 8.176 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.043e-05/0.2376, allocations: 0 / 386.5 MB, free: 8.176 MB / 318.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.002182/0.2398, allocations: 1.1 MB / 387.6 MB, free: 7.441 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.2398, allocations: 8.812 kB / 387.6 MB, free: 7.441 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001306/0.24, allocations: 83.25 kB / 387.7 MB, free: 7.402 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006725/0.2406, allocations: 0.5149 MB / 388.2 MB, free: 7.004 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.879e-05/0.2407, allocations: 69.3 kB / 388.3 MB, free: 6.957 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001882/0.2409, allocations: 73.3 kB / 388.4 MB, free: 6.93 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001047/0.242, allocations: 0.6034 MB / 389 MB, free: 6.652 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/0.242, allocations: 1.25 kB / 389 MB, free: 6.652 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.577e-05/0.2421, allocations: 21.38 kB / 389 MB, free: 6.637 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.401e-05/0.2421, allocations: 16.02 kB / 389 MB, free: 6.637 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001094/0.2432, allocations: 0.528 MB / 389.5 MB, free: 6.445 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002962/0.2461, allocations: 2.29 MB / 391.8 MB, free: 4.988 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009075/0.2471, allocations: 476.9 kB / 392.3 MB, free: 4.766 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004916/0.2476, allocations: 264.3 kB / 392.6 MB, free: 4.652 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.852e-05/0.2476, allocations: 8.078 kB / 392.6 MB, free: 4.652 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.752e-05/0.2476, allocations: 41.97 kB / 392.6 MB, free: 4.605 MB / 318.1 MB Notification: Performance of pre-optimization done (n=45): time 1.893e-06/0.2476, allocations: 0 / 392.6 MB, free: 4.605 MB / 318.1 MB Notification: Performance of matching and sorting (n=61): time 0.01286/0.2605, allocations: 3.555 MB / 396.2 MB, free: 3.148 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.205e-05/0.2605, allocations: 83.98 kB / 396.2 MB, free: 3.055 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006581/0.2612, allocations: 0.5361 MB / 396.8 MB, free: 2.789 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.601e-05/0.2613, allocations: 36.83 kB / 396.8 MB, free: 2.75 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001519/0.2614, allocations: 312.9 kB / 397.1 MB, free: 2.5 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001246/0.2616, allocations: 210.7 kB / 397.3 MB, free: 2.34 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001849/0.2617, allocations: 115.5 kB / 397.4 MB, free: 2.277 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.705e-05/0.2618, allocations: 366.2 kB / 397.8 MB, free: 1.941 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005214/0.2624, allocations: 247 kB / 398 MB, free: 1.844 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005411/0.2629, allocations: 350.5 kB / 398.4 MB, free: 1.645 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001028/0.2639, allocations: 0.5985 MB / 399 MB, free: 1.305 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.264, allocations: 5.375 kB / 399 MB, free: 1.301 MB / 318.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001409/0.2654, allocations: 0.7407 MB / 399.7 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.2654, allocations: 5.719 kB / 399.7 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/0.2654, allocations: 2.281 kB / 399.7 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001482/0.2656, allocations: 32.45 kB / 399.8 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008076/0.2664, allocations: 168.5 kB / 399.9 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008388/0.2672, allocations: 1.432 MB / 401.4 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005785/0.2678, allocations: 42.88 kB / 401.4 MB, free: 15.49 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.131e-05/0.2679, allocations: 26.66 kB / 401.4 MB, free: 15.48 MB / 334.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.0002683/0.2682, allocations: 198.2 kB / 401.6 MB, free: 15.31 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001373/0.2683, allocations: 60.22 kB / 401.7 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001776/0.2701, allocations: 0.8373 MB / 402.5 MB, free: 14.9 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/0.2701, allocations: 8.516 kB / 402.5 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.2701, allocations: 5.031 kB / 402.5 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002725/0.2704, allocations: 209.9 kB / 402.7 MB, free: 14.71 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001021/0.2705, allocations: 17.11 kB / 402.8 MB, free: 14.7 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000613/0.2711, allocations: 42.41 kB / 402.8 MB, free: 14.69 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/0.2712, allocations: 39.61 kB / 402.8 MB, free: 14.68 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002922/0.2742, allocations: 1.076 MB / 403.9 MB, free: 14.13 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002016/0.2762, allocations: 1.26 MB / 405.2 MB, free: 13.33 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005686/0.2768, allocations: 314.2 kB / 405.5 MB, free: 13.16 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004546/0.2773, allocations: 388.4 kB / 405.9 MB, free: 12.93 MB / 334.1 MB Notification: Performance of Backend: time 4.61e-07/0.2773, allocations: 0 / 405.9 MB, free: 12.93 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001617/0.2789, allocations: 0.6051 MB / 406.5 MB, free: 12.54 MB / 334.1 MB Notification: Performance of SimCode: time 0.002216/0.2811, allocations: 1.857 MB / 408.3 MB, free: 11.15 MB / 334.1 MB Notification: Performance of Templates: time 0.0173/0.2984, allocations: 10.35 MB / 418.7 MB, free: 3.371 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe 2>&1)