Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.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.SinglePhaseTransformerWithHysteresis1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding1.i|winding2.i",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 110.5 kB / 17.75 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.001542/0.001542, allocations: 197.2 kB / 18.68 MB, free: 4.41 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.292/1.292, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001006/0.001006, allocations: 51.91 kB / 352 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2341/0.2352, allocations: 49.44 MB / 401.4 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.004778/0.24, allocations: 3.39 MB / 404.8 MB, free: 5.473 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002421/0.2424, allocations: 1.454 MB / 406.3 MB, free: 4.012 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002944/0.2427, allocations: 7.938 kB / 406.3 MB, free: 4.004 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002953/0.2457, allocations: 2.659 MB / 408.9 MB, free: 1.34 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005119/0.2462, allocations: 170.7 kB / 409.1 MB, free: 1.172 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007033/0.2469, allocations: 300.2 kB / 409.4 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001901/0.2489, allocations: 1.802 MB / 411.2 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002305/0.2491, allocations: 135.3 kB / 411.3 MB, free: 14.94 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004102/0.2495, allocations: 309 kB / 411.6 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004205/0.25, allocations: 334.8 kB / 412 MB, free: 14.31 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001111/0.2501, allocations: 44 kB / 412 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002435/0.2503, allocations: 83.98 kB / 412.1 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005688/0.2509, allocations: 0.8453 MB / 412.9 MB, free: 13.33 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007545/0.2517, allocations: 0.9346 MB / 413.9 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002154/0.2538, allocations: 2.621 MB / 416.5 MB, free: 9.766 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.2538, allocations: 0 / 416.5 MB, free: 9.766 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.2539, allocations: 0 / 416.5 MB, free: 9.766 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.31e-05/0.2539, allocations: 0 / 416.5 MB, free: 9.766 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.004136/0.2581, allocations: 2.794 MB / 419.3 MB, free: 6.906 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.2581, allocations: 16.02 kB / 419.3 MB, free: 6.891 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003053/0.2584, allocations: 273.4 kB / 419.6 MB, free: 6.621 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002427/0.2608, allocations: 1.828 MB / 421.4 MB, free: 4.738 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.713e-05/0.2609, allocations: 59.27 kB / 421.4 MB, free: 4.672 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001658/0.2611, allocations: 47.92 kB / 421.5 MB, free: 4.625 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007081/0.2618, allocations: 394.9 kB / 421.9 MB, free: 4.223 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.2618, allocations: 4 kB / 421.9 MB, free: 4.219 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.947e-05/0.2619, allocations: 16 kB / 421.9 MB, free: 4.203 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.996e-06/0.2619, allocations: 8 kB / 421.9 MB, free: 4.195 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007004/0.2626, allocations: 335.7 kB / 422.2 MB, free: 3.867 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003691/0.2663, allocations: 2.903 MB / 425.1 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006001/0.2669, allocations: 316.9 kB / 425.4 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003136/0.2672, allocations: 166.2 kB / 425.6 MB, free: 376 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.201e-05/0.2673, allocations: 11.98 kB / 425.6 MB, free: 364 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.445e-05/0.2673, allocations: 42.36 kB / 425.7 MB, free: 312 kB / 334.1 MB Notification: Performance of pre-optimization done (n=37): time 1.833e-06/0.2673, allocations: 4 kB / 425.7 MB, free: 308 kB / 334.1 MB Notification: Performance of matching and sorting (n=48): time 0.004519/0.2719, allocations: 2.381 MB / 428 MB, free: 13.85 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.511e-05/0.2719, allocations: 85.55 kB / 428.1 MB, free: 13.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005333/0.2772, allocations: 5.431 MB / 433.6 MB, free: 8.312 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.548e-05/0.2773, allocations: 33.7 kB / 433.6 MB, free: 8.273 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001016/0.2783, allocations: 1.214 MB / 434.8 MB, free: 7.051 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001073/0.2784, allocations: 165.6 kB / 435 MB, free: 6.887 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001299/0.2786, allocations: 90.23 kB / 435.1 MB, free: 6.793 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.534e-05/0.2787, allocations: 322 kB / 435.4 MB, free: 6.473 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000318/0.279, allocations: 145 kB / 435.5 MB, free: 6.332 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003511/0.2793, allocations: 213.7 kB / 435.7 MB, free: 6.098 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006731/0.28, allocations: 384.3 kB / 436.1 MB, free: 5.695 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.28, allocations: 0 / 436.1 MB, free: 5.695 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001091/0.2811, allocations: 0.6917 MB / 436.8 MB, free: 4.996 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.2812, allocations: 4 kB / 436.8 MB, free: 4.992 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.2812, allocations: 8.25 kB / 436.8 MB, free: 4.984 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.2812, allocations: 4 kB / 436.8 MB, free: 4.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005039/0.2817, allocations: 119.8 kB / 436.9 MB, free: 4.863 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.809e-06/0.2817, allocations: 4 kB / 436.9 MB, free: 4.859 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000388/0.2821, allocations: 19.98 kB / 436.9 MB, free: 4.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.091e-05/0.2822, allocations: 16 kB / 437 MB, free: 4.824 MB / 350.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.0008958/0.2831, allocations: 0.9191 MB / 437.9 MB, free: 3.895 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002894/0.2834, allocations: 272.5 kB / 438.1 MB, free: 3.625 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001358/0.2847, allocations: 0.7902 MB / 438.9 MB, free: 2.82 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.159e-05/0.2848, allocations: 3.984 kB / 438.9 MB, free: 2.816 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.2848, allocations: 3.938 kB / 438.9 MB, free: 2.812 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008562/0.2856, allocations: 489.5 kB / 439.4 MB, free: 2.312 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000185/0.2858, allocations: 15.98 kB / 439.4 MB, free: 2.297 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004801/0.2863, allocations: 20 kB / 439.5 MB, free: 2.277 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.483e-05/0.2864, allocations: 32.33 kB / 439.5 MB, free: 2.246 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001429/0.2878, allocations: 0.6597 MB / 440.1 MB, free: 1.574 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001405/0.2892, allocations: 1.075 MB / 441.2 MB, free: 492 kB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003635/0.2896, allocations: 175.4 kB / 441.4 MB, free: 316 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.004385/0.294, allocations: 3.966 MB / 445.4 MB, free: 12.35 MB / 366.1 MB Notification: Performance of Backend: time 5.81e-07/0.294, allocations: 0 / 445.4 MB, free: 12.35 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002331/0.2964, allocations: 1.144 MB / 446.5 MB, free: 11.39 MB / 366.1 MB Notification: Performance of SimCode: time 0.00649/0.3029, allocations: 5.539 MB / 452 MB, free: 5.785 MB / 366.1 MB Notification: Performance of Templates: time 0.03057/0.3335, allocations: 16.17 MB / 468.2 MB, free: 5.664 MB / 382.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1)