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.001521/0.001521, allocations: 182.3 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.285/1.285, allocations: 194.3 MB / 208.4 MB, free: 6.703 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001588/0.001588, allocations: 118.2 kB / 253.5 MB, free: 9.578 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.366e-05/2.368e-05, allocations: 7.984 kB / 304.9 MB, free: 29.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08424/0.08427, allocations: 44.5 MB / 349.4 MB, free: 1.25 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3313/0.4156, allocations: 81.89 MB / 431.3 MB, free: 9.301 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002574/0.4159, allocations: 80.73 kB / 431.4 MB, free: 9.289 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02549/0.4414, allocations: 9.239 MB / 440.6 MB, free: 5.539 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.524e-06/0.4415, allocations: 3.938 kB / 440.7 MB, free: 5.535 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.313e-05/0.4415, allocations: 7.938 kB / 440.7 MB, free: 5.527 MB / 298.7 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.0008979/0.4424, allocations: 0.5815 MB / 441.2 MB, free: 4.922 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.4424, allocations: 8.031 kB / 441.3 MB, free: 4.914 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.812e-05/0.4425, allocations: 47.48 kB / 441.3 MB, free: 4.867 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003806/0.4429, allocations: 320.7 kB / 441.6 MB, free: 4.559 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.408e-05/0.443, allocations: 47.02 kB / 441.7 MB, free: 4.516 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001442/0.4431, allocations: 40.64 kB / 441.7 MB, free: 4.484 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004306/0.4436, allocations: 300.2 kB / 442 MB, free: 4.258 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/0.4436, allocations: 4 kB / 442 MB, free: 4.254 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.292e-05/0.4436, allocations: 7.812 kB / 442 MB, free: 4.254 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.4437, allocations: 8 kB / 442 MB, free: 4.246 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004018/0.4441, allocations: 266.7 kB / 442.3 MB, free: 4.07 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001593/0.4457, allocations: 1.17 MB / 443.4 MB, free: 3.051 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003797/0.4461, allocations: 264 kB / 443.7 MB, free: 2.859 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001937/0.4463, allocations: 142.1 kB / 443.8 MB, free: 2.766 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.908e-05/0.4463, allocations: 11.38 kB / 443.8 MB, free: 2.758 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.765e-05/0.4463, allocations: 34.56 kB / 443.9 MB, free: 2.715 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 1.924e-06/0.4463, allocations: 0 / 443.9 MB, free: 2.715 MB / 298.7 MB Notification: Performance of matching and sorting (n=42): time 0.007476/0.4538, allocations: 2.144 MB / 446 MB, free: 0.8555 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.572e-05/0.4539, allocations: 81.11 kB / 446.1 MB, free: 0.7578 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003143/0.4542, allocations: 261.6 kB / 446.4 MB, free: 0.5547 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.348e-05/0.4543, allocations: 36.39 kB / 446.4 MB, free: 0.5195 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.097e-05/0.4543, allocations: 171.4 kB / 446.6 MB, free: 388 kB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.33e-05/0.4544, allocations: 135.4 kB / 446.7 MB, free: 268 kB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.691e-05/0.4544, allocations: 11.38 kB / 446.7 MB, free: 264 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.4546, allocations: 341 kB / 447 MB, free: 15.93 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002341/0.4548, allocations: 142.5 kB / 447.2 MB, free: 15.85 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003055/0.4551, allocations: 200.7 kB / 447.4 MB, free: 15.7 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002635/0.4554, allocations: 158.6 kB / 447.5 MB, free: 15.61 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.4554, allocations: 0 / 447.5 MB, free: 15.61 MB / 314.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.006031/0.4614, allocations: 1.465 MB / 449 MB, free: 14.34 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.569e-05/0.4615, allocations: 8 kB / 449 MB, free: 14.33 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.4615, allocations: 3.938 kB / 449 MB, free: 14.33 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005642/0.4672, allocations: 1.049 MB / 450.1 MB, free: 13.39 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00031/0.4675, allocations: 59.41 kB / 450.1 MB, free: 13.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01011/0.4776, allocations: 4.355 MB / 454.5 MB, free: 9.926 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005175/0.4782, allocations: 35.8 kB / 454.5 MB, free: 9.898 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.706e-05/0.4782, allocations: 11.98 kB / 454.5 MB, free: 9.887 MB / 314.7 MB 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.0001597/0.4784, allocations: 136.4 kB / 454.6 MB, free: 9.762 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.19e-05/0.4785, allocations: 27.62 kB / 454.7 MB, free: 9.734 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001523/0.48, allocations: 0.6018 MB / 455.3 MB, free: 9.297 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.732e-06/0.48, allocations: 4 kB / 455.3 MB, free: 9.293 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.4801, allocations: 0 / 455.3 MB, free: 9.293 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.175e-05/0.4801, allocations: 7.984 kB / 455.3 MB, free: 9.285 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003003/0.4831, allocations: 1.231 MB / 456.5 MB, free: 8.293 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.396e-06/0.4831, allocations: 4 kB / 456.5 MB, free: 8.289 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004485/0.4836, allocations: 95.5 kB / 456.6 MB, free: 8.199 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001401/0.485, allocations: 256.8 kB / 456.9 MB, free: 7.977 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.968e-05/0.485, allocations: 10.62 kB / 456.9 MB, free: 7.973 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003363/0.4884, allocations: 2.137 MB / 459 MB, free: 6.059 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.634e-06/0.4884, allocations: 0 / 459 MB, free: 6.059 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001981/0.4904, allocations: 0.9361 MB / 459.9 MB, free: 5.336 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002104/0.4906, allocations: 145.9 kB / 460.1 MB, free: 5.195 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.484e-05/0.4907, allocations: 11.72 kB / 460.1 MB, free: 5.191 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004835/0.4912, allocations: 34.78 kB / 460.1 MB, free: 5.164 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001357/0.4913, allocations: 55.98 kB / 460.2 MB, free: 5.113 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.189e-05/0.4914, allocations: 11.38 kB / 460.2 MB, free: 5.105 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002445/0.4916, allocations: 210.1 kB / 460.4 MB, free: 4.945 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4916, allocations: 0 / 460.4 MB, free: 4.945 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008545/0.4925, allocations: 150.4 kB / 460.6 MB, free: 4.812 MB / 314.7 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.0003777/0.4929, allocations: 147 kB / 460.7 MB, free: 4.664 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001104/0.494, allocations: 0.5489 MB / 461.2 MB, free: 4.254 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.494, allocations: 4.125 kB / 461.3 MB, free: 4.25 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000493/0.4945, allocations: 350 kB / 461.6 MB, free: 3.973 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003644/0.4949, allocations: 33.53 kB / 461.6 MB, free: 3.953 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001453/0.4964, allocations: 0.7256 MB / 462.4 MB, free: 3.285 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000407/0.4968, allocations: 0.8009 MB / 463.2 MB, free: 2.449 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001803/0.497, allocations: 30.97 kB / 463.2 MB, free: 2.414 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001075/0.4971, allocations: 30.11 kB / 463.2 MB, free: 2.387 MB / 314.7 MB Notification: Performance of SimCode: time 3.91e-07/0.4971, allocations: 0 / 463.2 MB, free: 2.387 MB / 314.7 MB Notification: Performance of Templates: time 0.01599/0.5131, allocations: 8.169 MB / 471.4 MB, free: 10.23 MB / 330.7 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)