Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00101/0.00101, allocations: 187.8 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.296/1.296, allocations: 194.3 MB / 203.1 MB, free: 9.32 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001718/0.001718, allocations: 114 kB / 248.1 MB, free: 6.359 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 2.667e-05/2.704e-05, allocations: 7.984 kB / 298.1 MB, free: 8.242 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09685/0.09689, allocations: 44.49 MB / 342.6 MB, free: 11.64 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3126/0.4095, allocations: 81.22 MB / 423.8 MB, free: 14.63 MB / 315.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002022/0.4098, allocations: 82.08 kB / 423.9 MB, free: 14.59 MB / 315.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02572/0.4355, allocations: 9.103 MB / 433 MB, free: 7.215 MB / 315.1 MB Notification: Performance of FrontEnd: time 2.726e-06/0.4355, allocations: 0 / 433 MB, free: 7.215 MB / 315.1 MB Notification: Performance of Transformations before backend: time 1.598e-05/0.4356, allocations: 7.938 kB / 433 MB, free: 7.207 MB / 315.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.0009355/0.4365, allocations: 0.5798 MB / 433.6 MB, free: 6.605 MB / 315.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.4365, allocations: 12.03 kB / 433.6 MB, free: 6.594 MB / 315.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.012e-05/0.4366, allocations: 39.53 kB / 433.6 MB, free: 6.555 MB / 315.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004121/0.4371, allocations: 314.9 kB / 433.9 MB, free: 6.254 MB / 315.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.604e-05/0.4371, allocations: 50.19 kB / 434 MB, free: 6.199 MB / 315.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001556/0.4373, allocations: 27.89 kB / 434 MB, free: 6.172 MB / 315.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000438/0.4378, allocations: 245.5 kB / 434.2 MB, free: 6.016 MB / 315.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003851/0.4381, allocations: 251.6 kB / 434.5 MB, free: 5.816 MB / 315.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.4382, allocations: 3.984 kB / 434.5 MB, free: 5.812 MB / 315.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.764e-05/0.4382, allocations: 10.06 kB / 434.5 MB, free: 5.805 MB / 315.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.4382, allocations: 7.953 kB / 434.5 MB, free: 5.797 MB / 315.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001542/0.4398, allocations: 1.116 MB / 435.6 MB, free: 4.832 MB / 315.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003253/0.4401, allocations: 244.8 kB / 435.9 MB, free: 4.656 MB / 315.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000243/0.4404, allocations: 139 kB / 436 MB, free: 4.566 MB / 315.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.627e-05/0.4404, allocations: 3.938 kB / 436 MB, free: 4.562 MB / 315.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.531e-05/0.4405, allocations: 50.84 kB / 436.1 MB, free: 4.508 MB / 315.1 MB Notification: Performance of pre-optimization done (n=31): time 4.769e-06/0.4405, allocations: 0 / 436.1 MB, free: 4.508 MB / 315.1 MB Notification: Performance of matching and sorting (n=42): time 0.006764/0.4473, allocations: 1.911 MB / 438 MB, free: 2.848 MB / 315.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.731e-05/0.4473, allocations: 81.11 kB / 438 MB, free: 2.75 MB / 315.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002776/0.4476, allocations: 253.4 kB / 438.3 MB, free: 2.562 MB / 315.1 MB Notification: Performance of collectPreVariables (initialization): time 3.365e-05/0.4476, allocations: 25.7 kB / 438.3 MB, free: 2.531 MB / 315.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.147e-05/0.4477, allocations: 163.2 kB / 438.5 MB, free: 2.391 MB / 315.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.095e-05/0.4478, allocations: 137.2 kB / 438.6 MB, free: 2.273 MB / 315.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.541e-05/0.4478, allocations: 4 kB / 438.6 MB, free: 2.27 MB / 315.1 MB Notification: Performance of setup shared object (initialization): time 6.802e-05/0.4479, allocations: 338.5 kB / 438.9 MB, free: 1.941 MB / 315.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002003/0.4481, allocations: 130.7 kB / 439.1 MB, free: 1.871 MB / 315.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000209/0.4483, allocations: 192.3 kB / 439.3 MB, free: 1.727 MB / 315.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003061/0.4486, allocations: 154.4 kB / 439.4 MB, free: 1.637 MB / 315.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.4486, allocations: 0 / 439.4 MB, free: 1.637 MB / 315.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.005579/0.4542, allocations: 1.426 MB / 440.8 MB, free: 404 kB / 315.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.4543, allocations: 8.656 kB / 440.8 MB, free: 396 kB / 315.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.4543, allocations: 0 / 440.8 MB, free: 396 kB / 315.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005598/0.4599, allocations: 1.032 MB / 441.9 MB, free: 15.46 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003518/0.4603, allocations: 74.02 kB / 442 MB, free: 15.4 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009974/0.4702, allocations: 4.258 MB / 446.2 MB, free: 12.09 MB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004634/0.4707, allocations: 28.05 kB / 446.2 MB, free: 12.06 MB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.982e-05/0.4708, allocations: 19.55 kB / 446.3 MB, free: 12.05 MB / 331.1 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: core.Hstat:VARIABLE(unit = "A/m" ) "Static (ferromagnetic) portion of the magnetic field strength" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 20} Notification: Performance of prepare postOptimizeDAE: time 0.0001975/0.471, allocations: 109.9 kB / 446.4 MB, free: 11.93 MB / 331.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.4711, allocations: 39.08 kB / 446.4 MB, free: 11.9 MB / 331.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001394/0.4725, allocations: 0.5586 MB / 447 MB, free: 11.49 MB / 331.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-06/0.4725, allocations: 8 kB / 447 MB, free: 11.48 MB / 331.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.4726, allocations: 0 / 447 MB, free: 11.48 MB / 331.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.257e-06/0.4726, allocations: 3.984 kB / 447 MB, free: 11.48 MB / 331.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002598/0.4752, allocations: 1.138 MB / 448.1 MB, free: 10.56 MB / 331.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.4752, allocations: 4 kB / 448.1 MB, free: 10.55 MB / 331.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004533/0.4757, allocations: 87.45 kB / 448.2 MB, free: 10.47 MB / 331.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001409/0.4771, allocations: 260.6 kB / 448.5 MB, free: 10.25 MB / 331.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.202e-05/0.4771, allocations: 6.625 kB / 448.5 MB, free: 10.24 MB / 331.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003071/0.4802, allocations: 2.087 MB / 450.5 MB, free: 8.391 MB / 331.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.4802, allocations: 2.109 kB / 450.6 MB, free: 8.391 MB / 331.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001795/0.482, allocations: 0.8952 MB / 451.4 MB, free: 7.695 MB / 331.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000242/0.4823, allocations: 157 kB / 451.6 MB, free: 7.547 MB / 331.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.661e-05/0.4824, allocations: 0 / 451.6 MB, free: 7.547 MB / 331.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004207/0.4828, allocations: 23.98 kB / 451.6 MB, free: 7.523 MB / 331.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.674e-05/0.4829, allocations: 40.19 kB / 451.7 MB, free: 7.488 MB / 331.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.145e-05/0.4829, allocations: 15.12 kB / 451.7 MB, free: 7.477 MB / 331.1 MB Notification: Performance of sorting global known variables: time 0.0001809/0.4831, allocations: 205.1 kB / 451.9 MB, free: 7.324 MB / 331.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.4831, allocations: 0 / 451.9 MB, free: 7.324 MB / 331.1 MB Notification: Performance of remove unused functions: time 0.0006648/0.4838, allocations: 124 kB / 452 MB, free: 7.203 MB / 331.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (winding.i,core.Hstat,core.B,core.MagRel) * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002867/0.4841, allocations: 145 kB / 452.1 MB, free: 7.055 MB / 331.1 MB Notification: Performance of simCode: created initialization part: time 0.0008438/0.485, allocations: 0.5157 MB / 452.7 MB, free: 6.668 MB / 331.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.485, allocations: 4 kB / 452.7 MB, free: 6.664 MB / 331.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004102/0.4854, allocations: 324.1 kB / 453 MB, free: 6.414 MB / 331.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003178/0.4857, allocations: 32.59 kB / 453 MB, free: 6.391 MB / 331.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00133/0.4871, allocations: 0.7095 MB / 453.7 MB, free: 5.738 MB / 331.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003497/0.4874, allocations: 0.7967 MB / 454.5 MB, free: 4.914 MB / 331.1 MB Notification: Performance of simCode: alias equations: time 0.0001744/0.4876, allocations: 39.27 kB / 454.6 MB, free: 4.875 MB / 331.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/0.4877, allocations: 31.42 kB / 454.6 MB, free: 4.844 MB / 331.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4877, allocations: 0 / 454.6 MB, free: 4.844 MB / 331.1 MB Notification: Performance of Templates: time 0.01237/0.5001, allocations: 7.38 MB / 462 MB, free: 13.54 MB / 347.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.sim & ./Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1)