Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_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 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.SinglePhaseTransformerWithHysteresis1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.001252/0.001252, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001286/0.001286, allocations: 196.4 kB / 16.14 MB, free: 6.707 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.356/1.356, allocations: 205.1 MB / 222 MB, free: 5.004 MB / 174.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.001331/0.001331, allocations: 43.94 kB / 278.1 MB, free: 13.01 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2331/0.2345, allocations: 46.63 MB / 324.7 MB, free: 1.828 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.004554/0.2391, allocations: 3.381 MB / 328.1 MB, free: 15.17 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00269/0.2418, allocations: 1.379 MB / 329.4 MB, free: 14.11 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002368/0.2421, allocations: 4.656 kB / 329.4 MB, free: 14.11 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002789/0.2449, allocations: 1.853 MB / 331.3 MB, free: 13.27 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004707/0.2454, allocations: 146.3 kB / 331.4 MB, free: 13.15 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006932/0.2461, allocations: 257.9 kB / 331.7 MB, free: 12.96 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001873/0.248, allocations: 1.702 MB / 333.4 MB, free: 11.45 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002411/0.2482, allocations: 111.9 kB / 333.5 MB, free: 11.33 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003753/0.2486, allocations: 293 kB / 333.8 MB, free: 11.05 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003436/0.249, allocations: 298.9 kB / 334.1 MB, free: 10.75 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 8.538e-05/0.249, allocations: 28 kB / 334.1 MB, free: 10.73 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001853/0.2492, allocations: 55.97 kB / 334.2 MB, free: 10.67 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006093/0.2499, allocations: 0.8258 MB / 335 MB, free: 9.844 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006875/0.2506, allocations: 0.8994 MB / 335.9 MB, free: 8.938 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002043/0.2526, allocations: 2.535 MB / 338.4 MB, free: 6.395 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.2526, allocations: 4 kB / 338.4 MB, free: 6.391 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2526, allocations: 0 / 338.4 MB, free: 6.391 MB / 270.1 MB Notification: Performance of Transformations before backend: time 2.443e-05/0.2527, allocations: 0 / 338.4 MB, free: 6.391 MB / 270.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.003931/0.2566, allocations: 2.794 MB / 341.2 MB, free: 3.531 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/0.2567, allocations: 12.03 kB / 341.2 MB, free: 3.52 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003657/0.257, allocations: 285.3 kB / 341.5 MB, free: 3.238 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002287/0.2593, allocations: 1.816 MB / 343.3 MB, free: 1.363 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.772e-05/0.2594, allocations: 59.27 kB / 343.4 MB, free: 1.301 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001896/0.2596, allocations: 51.92 kB / 343.4 MB, free: 1.25 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007593/0.2604, allocations: 395 kB / 343.8 MB, free: 0.8516 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.715e-05/0.2604, allocations: 3.938 kB / 343.8 MB, free: 0.8477 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.219e-05/0.2605, allocations: 16 kB / 343.8 MB, free: 0.832 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.575e-05/0.2605, allocations: 8 kB / 343.9 MB, free: 0.8242 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007106/0.2612, allocations: 323.8 kB / 344.2 MB, free: 0.5078 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004023/0.2652, allocations: 2.911 MB / 347.1 MB, free: 13.5 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006372/0.2659, allocations: 318.1 kB / 347.4 MB, free: 13.17 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003161/0.2662, allocations: 161.7 kB / 347.5 MB, free: 13.01 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.039e-05/0.2663, allocations: 15.92 kB / 347.6 MB, free: 12.99 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.2663, allocations: 39.09 kB / 347.6 MB, free: 12.95 MB / 286.1 MB Notification: Performance of pre-optimization done (n=37): time 2.524e-06/0.2663, allocations: 0 / 347.6 MB, free: 12.95 MB / 286.1 MB Notification: Performance of matching and sorting (n=48): time 0.004838/0.2712, allocations: 2.354 MB / 350 MB, free: 10.52 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.394e-05/0.2712, allocations: 85.48 kB / 350 MB, free: 10.42 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006425/0.2777, allocations: 5.435 MB / 355.5 MB, free: 4.98 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 9.159e-05/0.2778, allocations: 33.7 kB / 355.5 MB, free: 4.941 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001086/0.2789, allocations: 1.211 MB / 356.7 MB, free: 3.727 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001932/0.2791, allocations: 169.5 kB / 356.9 MB, free: 3.559 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001395/0.2793, allocations: 86.28 kB / 357 MB, free: 3.469 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.2794, allocations: 322 kB / 357.3 MB, free: 3.148 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003532/0.2797, allocations: 145 kB / 357.4 MB, free: 3.008 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003707/0.2801, allocations: 221.7 kB / 357.6 MB, free: 2.762 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006972/0.2808, allocations: 384.3 kB / 358 MB, free: 2.359 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.2808, allocations: 0 / 358 MB, free: 2.359 MB / 286.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001333/0.2822, allocations: 0.688 MB / 358.7 MB, free: 1.66 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.2822, allocations: 4 kB / 358.7 MB, free: 1.656 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.2822, allocations: 4 kB / 358.7 MB, free: 1.652 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/0.2822, allocations: 4 kB / 358.7 MB, free: 1.648 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000513/0.2828, allocations: 119.8 kB / 358.8 MB, free: 1.531 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.2828, allocations: 4 kB / 358.8 MB, free: 1.527 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000456/0.2832, allocations: 31.86 kB / 358.9 MB, free: 1.496 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.248e-05/0.2833, allocations: 23.92 kB / 358.9 MB, free: 1.473 MB / 286.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.001057/0.2843, allocations: 0.9231 MB / 359.8 MB, free: 0.5391 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002978/0.2846, allocations: 268.4 kB / 360.1 MB, free: 280 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001362/0.286, allocations: 0.7747 MB / 360.8 MB, free: 15.49 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.074e-06/0.286, allocations: 4 kB / 360.9 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.286, allocations: 0 / 360.9 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.2861, allocations: 8 kB / 360.9 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001581/0.2877, allocations: 1.473 MB / 362.3 MB, free: 13.95 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.2877, allocations: 0 / 362.3 MB, free: 13.95 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000456/0.2881, allocations: 95.88 kB / 362.4 MB, free: 13.86 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003426/0.2885, allocations: 88.78 kB / 362.5 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.316e-05/0.2885, allocations: 12 kB / 362.5 MB, free: 13.76 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005336/0.2891, allocations: 0.6305 MB / 363.2 MB, free: 13.1 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.2891, allocations: 0 / 363.2 MB, free: 13.1 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001557/0.2906, allocations: 1.061 MB / 364.2 MB, free: 12.02 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006534/0.2913, allocations: 493.5 kB / 364.7 MB, free: 11.52 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001678/0.2915, allocations: 8 kB / 364.7 MB, free: 11.51 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004767/0.292, allocations: 23.98 kB / 364.7 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.383e-05/0.2921, allocations: 24.39 kB / 364.8 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.861e-05/0.2921, allocations: 16 kB / 364.8 MB, free: 11.44 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.00432/0.2964, allocations: 3.977 MB / 368.7 MB, free: 7.473 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.513e-06/0.2964, allocations: 0 / 368.7 MB, free: 7.473 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007176/0.2972, allocations: 211.9 kB / 369 MB, free: 7.266 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (core.MagRel,winding1.i,winding2.i,core.Hstat,core.B) * 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 simulation (41): * Single equations (assignments): 40 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001009/0.2982, allocations: 414.2 kB / 369.4 MB, free: 6.855 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008244/0.299, allocations: 380.9 kB / 369.7 MB, free: 6.484 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.299, allocations: 0 / 369.7 MB, free: 6.484 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004596/0.2995, allocations: 218.3 kB / 369.9 MB, free: 6.27 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001192/0.3007, allocations: 191.8 kB / 370.1 MB, free: 6.078 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007363/0.3081, allocations: 6.031 MB / 376.2 MB, free: 8 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001466/0.3096, allocations: 1.81 MB / 378 MB, free: 14.16 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006302/0.3102, allocations: 275.6 kB / 378.2 MB, free: 13.89 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002533/0.3105, allocations: 91.44 kB / 378.3 MB, free: 13.8 MB / 318.1 MB Notification: Performance of SimCode: time 7.91e-07/0.3105, allocations: 0 / 378.3 MB, free: 13.8 MB / 318.1 MB Notification: Performance of Templates: time 0.02902/0.3395, allocations: 14.71 MB / 393 MB, free: 15.07 MB / 334.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & ./Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1)