Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_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 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.InductorWithHysteresis,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.1_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.0009955/0.0009956, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001065/0.001065, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.485/1.485, allocations: 205.4 MB / 222.1 MB, free: 5.656 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.0004211/0.0004212, allocations: 8 kB / 278.9 MB, free: 12.84 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.2385, allocations: 47.58 MB / 326.5 MB, free: 1.41 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.003361/0.2419, allocations: 2.246 MB / 328.7 MB, free: 15.66 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002576/0.2445, allocations: 1.184 MB / 329.9 MB, free: 14.71 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003163/0.2449, allocations: 7.75 kB / 329.9 MB, free: 14.71 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002659/0.2451, allocations: 51.2 kB / 329.9 MB, free: 14.67 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000914/0.2461, allocations: 214.8 kB / 330.1 MB, free: 14.5 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003679/0.2465, allocations: 91.75 kB / 330.2 MB, free: 14.42 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007554/0.2472, allocations: 276.1 kB / 330.5 MB, free: 14.24 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002479/0.2475, allocations: 71.2 kB / 330.6 MB, free: 14.2 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004864/0.248, allocations: 158.9 kB / 330.7 MB, free: 14.12 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004584/0.2485, allocations: 191.7 kB / 330.9 MB, free: 13.99 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 8.936e-05/0.2486, allocations: 21.69 kB / 330.9 MB, free: 13.99 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004034/0.249, allocations: 142.5 kB / 331.1 MB, free: 13.94 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.2491, allocations: 78.02 kB / 331.2 MB, free: 13.87 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001359/0.2492, allocations: 79.05 kB / 331.2 MB, free: 13.82 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005407/0.2498, allocations: 363.8 kB / 331.6 MB, free: 13.55 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.2498, allocations: 0 / 331.6 MB, free: 13.55 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2498, allocations: 4 kB / 331.6 MB, free: 13.54 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.271e-05/0.2498, allocations: 1.438 kB / 331.6 MB, free: 13.54 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001895/0.2517, allocations: 0.6569 MB / 332.2 MB, free: 13 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.559e-05/0.2518, allocations: 9.969 kB / 332.3 MB, free: 13 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001605/0.252, allocations: 33.28 kB / 332.3 MB, free: 12.98 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005512/0.2525, allocations: 322 kB / 332.6 MB, free: 12.67 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.232e-05/0.2526, allocations: 47.23 kB / 332.7 MB, free: 12.63 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001778/0.2528, allocations: 39.03 kB / 332.7 MB, free: 12.61 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007367/0.2535, allocations: 324.9 kB / 333 MB, free: 12.4 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/0.2536, allocations: 0 / 333 MB, free: 12.4 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.92e-05/0.2536, allocations: 19.12 kB / 333 MB, free: 12.38 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/0.2536, allocations: 6.438 kB / 333 MB, free: 12.38 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007585/0.2544, allocations: 318.3 kB / 333.3 MB, free: 12.23 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001989/0.2564, allocations: 1.17 MB / 334.5 MB, free: 11.23 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006712/0.2571, allocations: 309.9 kB / 334.8 MB, free: 10.94 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.896e-05/0.2571, allocations: 4 kB / 334.8 MB, free: 10.93 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.601e-05/0.2572, allocations: 34.56 kB / 334.9 MB, free: 10.89 MB / 270.1 MB Notification: Performance of pre-optimization done (n=31): time 2.645e-06/0.2572, allocations: 0 / 334.9 MB, free: 10.89 MB / 270.1 MB Notification: Performance of matching and sorting (n=42): time 0.009757/0.267, allocations: 2.522 MB / 337.4 MB, free: 8.293 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.546e-05/0.267, allocations: 81.11 kB / 337.5 MB, free: 8.195 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000442/0.2675, allocations: 296.8 kB / 337.7 MB, free: 7.895 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 5.253e-05/0.2676, allocations: 29.7 kB / 337.8 MB, free: 7.859 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.2677, allocations: 160.5 kB / 337.9 MB, free: 7.699 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001535/0.2679, allocations: 153.8 kB / 338.1 MB, free: 7.547 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.706e-05/0.2679, allocations: 8 kB / 338.1 MB, free: 7.539 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.2681, allocations: 346.8 kB / 338.4 MB, free: 7.191 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004184/0.2685, allocations: 172.8 kB / 338.6 MB, free: 7.023 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004455/0.2689, allocations: 234.7 kB / 338.8 MB, free: 6.773 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004501/0.2694, allocations: 197.5 kB / 339 MB, free: 6.582 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.2694, allocations: 0 / 339 MB, free: 6.582 MB / 270.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001109/0.2705, allocations: 0.4932 MB / 339.5 MB, free: 6.082 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/0.2706, allocations: 12.03 kB / 339.5 MB, free: 6.07 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.2706, allocations: 0 / 339.5 MB, free: 6.07 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.179e-05/0.2706, allocations: 4 kB / 339.5 MB, free: 6.066 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006311/0.2713, allocations: 119.9 kB / 339.6 MB, free: 5.949 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.625e-05/0.2713, allocations: 11.92 kB / 339.7 MB, free: 5.938 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004793/0.2718, allocations: 39.98 kB / 339.7 MB, free: 5.898 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.627e-05/0.2718, allocations: 11.98 kB / 339.7 MB, free: 5.887 MB / 270.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002317/0.2721, allocations: 153.7 kB / 339.9 MB, free: 5.727 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001143/0.2722, allocations: 31.62 kB / 339.9 MB, free: 5.695 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002019/0.2742, allocations: 0.6954 MB / 340.6 MB, free: 4.988 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.328e-06/0.2742, allocations: 4 kB / 340.6 MB, free: 4.984 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.024e-06/0.2743, allocations: 4 kB / 340.6 MB, free: 4.98 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.637e-06/0.2743, allocations: 3.984 kB / 340.6 MB, free: 4.977 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003495/0.2778, allocations: 1.31 MB / 341.9 MB, free: 3.609 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.2778, allocations: 0 / 341.9 MB, free: 3.609 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004859/0.2783, allocations: 91.88 kB / 342 MB, free: 3.52 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001773/0.2801, allocations: 288.5 kB / 342.3 MB, free: 3.234 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.161e-05/0.2802, allocations: 15.98 kB / 342.3 MB, free: 3.219 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004385/0.2845, allocations: 2.327 MB / 344.6 MB, free: 0.7539 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/0.2846, allocations: 4.031 kB / 344.6 MB, free: 0.75 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002516/0.2871, allocations: 1.055 MB / 345.7 MB, free: 15.67 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002518/0.2874, allocations: 148.7 kB / 345.8 MB, free: 15.5 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.712e-05/0.2875, allocations: 19.95 kB / 345.8 MB, free: 15.48 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004951/0.288, allocations: 31.97 kB / 345.9 MB, free: 15.45 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001385/0.2881, allocations: 40.38 kB / 345.9 MB, free: 15.41 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.084e-05/0.2882, allocations: 12 kB / 345.9 MB, free: 15.4 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002299/0.2884, allocations: 212.5 kB / 346.1 MB, free: 15.2 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2884, allocations: 0 / 346.1 MB, free: 15.2 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006463/0.2891, allocations: 116 kB / 346.2 MB, free: 15.08 MB / 286.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 () * 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.0002877/0.2894, allocations: 143.1 kB / 346.4 MB, free: 14.93 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001079/0.2905, allocations: 450.4 kB / 346.8 MB, free: 14.49 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.2905, allocations: 0 / 346.8 MB, free: 14.49 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007703/0.2913, allocations: 397.2 kB / 347.2 MB, free: 14.09 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000408/0.2917, allocations: 28.42 kB / 347.2 MB, free: 14.06 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002115/0.2938, allocations: 1.196 MB / 348.4 MB, free: 12.84 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004153/0.2942, allocations: 0.7972 MB / 349.2 MB, free: 12.01 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002475/0.2945, allocations: 42.94 kB / 349.3 MB, free: 11.97 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001366/0.2946, allocations: 35.42 kB / 349.3 MB, free: 11.94 MB / 286.1 MB Notification: Performance of SimCode: time 1.062e-06/0.2946, allocations: 0 / 349.3 MB, free: 11.94 MB / 286.1 MB Notification: Performance of Templates: time 0.0117/0.3064, allocations: 5.714 MB / 355 MB, free: 6.219 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.sim & ./Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1) Environment - environmentSimulation: