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.0009129/0.000913, allocations: 180.3 kB / 16.38 MB, free: 5.766 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.125/1.125, allocations: 194.5 MB / 211.6 MB, free: 3.051 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.001548/0.001548, allocations: 105.3 kB / 256.9 MB, free: 4.359 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002629/0.0002629, allocations: 8 kB / 310.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06822/0.06849, allocations: 44.49 MB / 355.1 MB, free: 2.336 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2127/0.2813, allocations: 81.97 MB / 437 MB, free: 7.672 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001939/0.2815, allocations: 84.52 kB / 437.1 MB, free: 7.625 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02343/0.305, allocations: 9.261 MB / 446.4 MB, free: 15.77 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.305, allocations: 0 / 446.4 MB, free: 15.77 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.264e-05/0.305, allocations: 4 kB / 446.4 MB, free: 15.77 MB / 330.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.001135/0.3062, allocations: 0.6387 MB / 447 MB, free: 15.11 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.3062, allocations: 8.031 kB / 447 MB, free: 15.1 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.766e-05/0.3063, allocations: 39.58 kB / 447.1 MB, free: 15.06 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003886/0.3067, allocations: 323.1 kB / 447.4 MB, free: 14.75 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.067e-05/0.3068, allocations: 53.39 kB / 447.4 MB, free: 14.7 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001583/0.3069, allocations: 38.61 kB / 447.5 MB, free: 14.67 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005306/0.3075, allocations: 320 kB / 447.8 MB, free: 14.43 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.3075, allocations: 7.984 kB / 447.8 MB, free: 14.42 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.034e-05/0.3075, allocations: 10.75 kB / 447.8 MB, free: 14.41 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.3076, allocations: 8 kB / 447.8 MB, free: 14.41 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000589/0.3081, allocations: 310.7 kB / 448.1 MB, free: 14.19 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001483/0.3096, allocations: 1.172 MB / 449.3 MB, free: 13.17 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005389/0.3102, allocations: 308.4 kB / 449.6 MB, free: 12.94 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.067e-05/0.3102, allocations: 3.984 kB / 449.6 MB, free: 12.93 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/0.3103, allocations: 43.75 kB / 449.6 MB, free: 12.89 MB / 330.7 MB Notification: Performance of pre-optimization done (n=31): time 1.382e-06/0.3103, allocations: 0 / 449.6 MB, free: 12.89 MB / 330.7 MB Notification: Performance of matching and sorting (n=42): time 0.01107/0.3213, allocations: 2.821 MB / 452.5 MB, free: 10.42 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.026e-05/0.3214, allocations: 81.8 kB / 452.5 MB, free: 10.32 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002824/0.3217, allocations: 267.9 kB / 452.8 MB, free: 10.12 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.303e-05/0.3217, allocations: 33.52 kB / 452.8 MB, free: 10.08 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.18e-05/0.3218, allocations: 170.4 kB / 453 MB, free: 9.926 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.48e-05/0.3219, allocations: 142.6 kB / 453.1 MB, free: 9.785 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.298e-05/0.322, allocations: 4 kB / 453.1 MB, free: 9.781 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.445e-05/0.3221, allocations: 338.8 kB / 453.5 MB, free: 9.441 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003583/0.3224, allocations: 172.8 kB / 453.6 MB, free: 9.273 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003808/0.3228, allocations: 233.7 kB / 453.9 MB, free: 9.023 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003811/0.3232, allocations: 189.8 kB / 454.1 MB, free: 8.84 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.3232, allocations: 0 / 454.1 MB, free: 8.84 MB / 330.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008968/0.3241, allocations: 0.489 MB / 454.5 MB, free: 8.344 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.3241, allocations: 9.219 kB / 454.5 MB, free: 8.336 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.3241, allocations: 0 / 454.5 MB, free: 8.336 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.3242, allocations: 4 kB / 454.6 MB, free: 8.332 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005837/0.3248, allocations: 127.9 kB / 454.7 MB, free: 8.207 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.3248, allocations: 3.938 kB / 454.7 MB, free: 8.203 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003712/0.3251, allocations: 35.98 kB / 454.7 MB, free: 8.168 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.099e-05/0.3252, allocations: 19.98 kB / 454.7 MB, free: 8.148 MB / 330.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 51 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001513/0.3254, allocations: 149.8 kB / 454.9 MB, free: 7.992 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.292e-05/0.3254, allocations: 35.58 kB / 454.9 MB, free: 7.957 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002161/0.3276, allocations: 0.7305 MB / 455.6 MB, free: 7.219 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/0.3276, allocations: 4 kB / 455.7 MB, free: 7.215 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.3276, allocations: 0 / 455.7 MB, free: 7.215 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.3277, allocations: 3.984 kB / 455.7 MB, free: 7.211 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003068/0.3307, allocations: 1.322 MB / 457 MB, free: 5.828 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.3308, allocations: 1.062 kB / 457 MB, free: 5.828 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004339/0.3312, allocations: 95.88 kB / 457.1 MB, free: 5.734 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001684/0.3329, allocations: 289.6 kB / 457.4 MB, free: 5.449 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.293e-05/0.3329, allocations: 8 kB / 457.4 MB, free: 5.441 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003858/0.3368, allocations: 2.32 MB / 459.7 MB, free: 2.992 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.3368, allocations: 0 / 459.7 MB, free: 2.992 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002181/0.339, allocations: 1.059 MB / 460.7 MB, free: 1.91 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000164/0.3392, allocations: 148.7 kB / 460.9 MB, free: 1.746 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.974e-05/0.3392, allocations: 15.95 kB / 460.9 MB, free: 1.73 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000423/0.3397, allocations: 31.97 kB / 460.9 MB, free: 1.699 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.913e-05/0.3398, allocations: 40.31 kB / 461 MB, free: 1.66 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.074e-05/0.3398, allocations: 16 kB / 461 MB, free: 1.645 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001909/0.34, allocations: 208.5 kB / 461.2 MB, free: 1.441 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.34, allocations: 8 kB / 461.2 MB, free: 1.434 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005393/0.3406, allocations: 127.9 kB / 461.3 MB, free: 1.309 MB / 330.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 () * Number of clocked 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.0002512/0.3408, allocations: 148.9 kB / 461.5 MB, free: 1.156 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008376/0.3417, allocations: 442.1 kB / 461.9 MB, free: 0.7227 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3417, allocations: 0 / 461.9 MB, free: 0.7227 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006101/0.3423, allocations: 393.2 kB / 462.3 MB, free: 332 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003626/0.3427, allocations: 40.03 kB / 462.3 MB, free: 296 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001579/0.3443, allocations: 1.214 MB / 463.5 MB, free: 15.05 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002706/0.3445, allocations: 0.7933 MB / 464.3 MB, free: 14.22 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001964/0.3447, allocations: 42.94 kB / 464.4 MB, free: 14.18 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001275/0.3449, allocations: 35.42 kB / 464.4 MB, free: 14.15 MB / 346.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3449, allocations: 4 kB / 464.4 MB, free: 14.14 MB / 346.7 MB Notification: Performance of Templates: time 0.008701/0.3536, allocations: 5.848 MB / 470.3 MB, free: 8.359 MB / 346.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)