Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.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.InductorWithHysteresis,tolerance=0.0001,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding.i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis,tolerance=0.0001,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding.i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 102.5 kB / 17.74 MB, free: 5.32 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.001051/0.001051, allocations: 197.2 kB / 18.67 MB, free: 4.395 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.417/1.417, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009688/0.0009688, allocations: 51.92 kB / 352 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.236/0.237, allocations: 49.44 MB / 401.4 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.003777/0.2408, allocations: 2.81 MB / 404.2 MB, free: 6.059 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001733/0.2426, allocations: 1.234 MB / 405.5 MB, free: 4.816 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001431/0.2427, allocations: 7.938 kB / 405.5 MB, free: 4.809 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000247/0.243, allocations: 63.42 kB / 405.5 MB, free: 4.746 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005115/0.2435, allocations: 230.8 kB / 405.8 MB, free: 4.52 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002309/0.2437, allocations: 119.8 kB / 405.9 MB, free: 4.402 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004068/0.2442, allocations: 463 kB / 406.3 MB, free: 3.949 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001664/0.2443, allocations: 85.97 kB / 406.4 MB, free: 3.863 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002202/0.2446, allocations: 187.4 kB / 406.6 MB, free: 3.68 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002748/0.2448, allocations: 227.1 kB / 406.8 MB, free: 3.457 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.45e-05/0.2449, allocations: 44 kB / 406.9 MB, free: 3.414 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002829/0.2452, allocations: 159.9 kB / 407 MB, free: 3.258 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.797e-05/0.2453, allocations: 91.7 kB / 407.1 MB, free: 3.168 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001665/0.2455, allocations: 187.2 kB / 407.3 MB, free: 2.984 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005139/0.246, allocations: 0.5021 MB / 407.8 MB, free: 2.484 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.246, allocations: 0 / 407.8 MB, free: 2.484 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.246, allocations: 0 / 407.8 MB, free: 2.484 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.095e-05/0.246, allocations: 0 / 407.8 MB, free: 2.484 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001579/0.2476, allocations: 0.7093 MB / 408.5 MB, free: 1.727 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.2477, allocations: 8.031 kB / 408.5 MB, free: 1.719 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.403e-05/0.2478, allocations: 36.56 kB / 408.5 MB, free: 1.684 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004203/0.2482, allocations: 329.2 kB / 408.9 MB, free: 1.32 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.7e-05/0.2483, allocations: 54.83 kB / 408.9 MB, free: 1.258 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001557/0.2484, allocations: 36.48 kB / 408.9 MB, free: 1.223 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005942/0.249, allocations: 324.5 kB / 409.3 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.2491, allocations: 3.938 kB / 409.3 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.719e-05/0.2491, allocations: 12 kB / 409.3 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.2491, allocations: 4 kB / 409.3 MB, free: 0.875 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006579/0.2498, allocations: 298 kB / 409.6 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001667/0.2514, allocations: 1.16 MB / 410.7 MB, free: 15.35 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006042/0.2521, allocations: 296.3 kB / 411 MB, free: 15.04 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000323/0.2524, allocations: 169.5 kB / 411.2 MB, free: 14.87 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.591e-05/0.2524, allocations: 11.98 kB / 411.2 MB, free: 14.86 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.9e-05/0.2525, allocations: 38.5 kB / 411.2 MB, free: 14.81 MB / 334.1 MB Notification: Performance of pre-optimization done (n=31): time 1.603e-06/0.2525, allocations: 0 / 411.2 MB, free: 14.81 MB / 334.1 MB Notification: Performance of matching and sorting (n=42): time 0.00933/0.2618, allocations: 2.405 MB / 413.6 MB, free: 12.33 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.495e-05/0.2619, allocations: 81.11 kB / 413.7 MB, free: 12.23 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000304/0.2622, allocations: 289 kB / 414 MB, free: 11.94 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.925e-05/0.2622, allocations: 33.7 kB / 414 MB, free: 11.9 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.958e-05/0.2623, allocations: 172.3 kB / 414.2 MB, free: 11.73 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/0.2625, allocations: 145.8 kB / 414.4 MB, free: 11.59 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001378/0.2626, allocations: 78.11 kB / 414.4 MB, free: 11.5 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.2627, allocations: 346.8 kB / 414.8 MB, free: 11.15 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004067/0.2631, allocations: 156.8 kB / 414.9 MB, free: 11 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004309/0.2636, allocations: 234.6 kB / 415.1 MB, free: 10.75 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008222/0.2644, allocations: 399.6 kB / 415.5 MB, free: 10.34 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.2644, allocations: 3.938 kB / 415.5 MB, free: 10.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001002/0.2654, allocations: 496.2 kB / 416 MB, free: 9.848 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.2655, allocations: 11.94 kB / 416 MB, free: 9.836 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.2655, allocations: 0 / 416 MB, free: 9.836 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.2655, allocations: 4 kB / 416 MB, free: 9.832 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006129/0.2661, allocations: 116 kB / 416.2 MB, free: 9.719 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.2661, allocations: 7.984 kB / 416.2 MB, free: 9.711 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003867/0.2665, allocations: 31.98 kB / 416.2 MB, free: 9.68 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.519e-05/0.2666, allocations: 19.98 kB / 416.2 MB, free: 9.66 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (52): * Single equations (assignments): 52 * 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.0001679/0.2667, allocations: 157.6 kB / 416.4 MB, free: 9.496 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.723e-05/0.2668, allocations: 35.62 kB / 416.4 MB, free: 9.461 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001856/0.2687, allocations: 0.6486 MB / 417.1 MB, free: 8.801 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/0.2687, allocations: 3.984 kB / 417.1 MB, free: 8.797 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.2687, allocations: 0 / 417.1 MB, free: 8.797 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001628/0.2689, allocations: 148.7 kB / 417.2 MB, free: 8.633 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.837e-05/0.269, allocations: 12 kB / 417.2 MB, free: 8.621 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004479/0.2694, allocations: 23.97 kB / 417.2 MB, free: 8.598 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.36e-05/0.2695, allocations: 36.39 kB / 417.3 MB, free: 8.562 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002401/0.272, allocations: 0.8235 MB / 418.1 MB, free: 7.727 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001555/0.2735, allocations: 0.9424 MB / 419 MB, free: 6.77 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004147/0.2739, allocations: 211.4 kB / 419.2 MB, free: 6.566 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002068/0.2742, allocations: 212.5 kB / 419.5 MB, free: 6.355 MB / 334.1 MB Notification: Performance of Backend: time 5.72e-07/0.2742, allocations: 4 kB / 419.5 MB, free: 6.352 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001109/0.2753, allocations: 365.7 kB / 419.8 MB, free: 5.984 MB / 334.1 MB Notification: Performance of SimCode: time 0.001435/0.2767, allocations: 1.355 MB / 421.2 MB, free: 4.578 MB / 334.1 MB Notification: Performance of Templates: time 0.009783/0.2865, allocations: 5.956 MB / 427.1 MB, free: 14.63 MB / 350.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1)