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.001144/0.001144, 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.001422/0.001422, allocations: 192.1 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.386/1.386, allocations: 205.1 MB / 222 MB, free: 4.762 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.001143/0.001143, allocations: 51.92 kB / 278.1 MB, free: 12.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2175/0.2187, allocations: 46.62 MB / 324.7 MB, free: 2.145 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.003348/0.2221, allocations: 2.807 MB / 327.5 MB, free: 15.94 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001897/0.224, allocations: 1.289 MB / 328.8 MB, free: 14.9 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001424/0.2242, allocations: 2.938 kB / 328.8 MB, free: 14.9 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002475/0.2244, allocations: 56.36 kB / 328.8 MB, free: 14.86 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004516/0.2249, allocations: 193.7 kB / 329 MB, free: 14.7 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002164/0.2251, allocations: 100.8 kB / 329.1 MB, free: 14.62 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003764/0.2255, allocations: 447 kB / 329.6 MB, free: 14.36 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001436/0.2257, allocations: 70.25 kB / 329.6 MB, free: 14.32 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002126/0.2259, allocations: 166.5 kB / 329.8 MB, free: 14.23 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002464/0.2261, allocations: 211 kB / 330 MB, free: 14.09 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.738e-05/0.2262, allocations: 25.03 kB / 330 MB, free: 14.09 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002765/0.2265, allocations: 148.6 kB / 330.2 MB, free: 14.03 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.424e-05/0.2266, allocations: 70.17 kB / 330.2 MB, free: 13.97 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001745/0.2268, allocations: 173.8 kB / 330.4 MB, free: 13.85 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004949/0.2273, allocations: 493.1 kB / 330.9 MB, free: 13.48 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.2273, allocations: 1.656 kB / 330.9 MB, free: 13.48 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.2273, allocations: 0 / 330.9 MB, free: 13.48 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.64e-06/0.2273, allocations: 0 / 330.9 MB, free: 13.48 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.001673/0.229, allocations: 0.7087 MB / 331.6 MB, free: 12.89 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.229, allocations: 9.5 kB / 331.6 MB, free: 12.89 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.293e-05/0.2291, allocations: 38.28 kB / 331.6 MB, free: 12.87 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000383/0.2295, allocations: 326.9 kB / 332 MB, free: 12.56 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.22e-05/0.2296, allocations: 55.62 kB / 332 MB, free: 12.51 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001546/0.2297, allocations: 35.06 kB / 332.1 MB, free: 12.5 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006251/0.2304, allocations: 327.9 kB / 332.4 MB, free: 12.28 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.2304, allocations: 0 / 332.4 MB, free: 12.28 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.468e-05/0.2304, allocations: 10.22 kB / 332.4 MB, free: 12.27 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.2305, allocations: 6.5 kB / 332.4 MB, free: 12.27 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007097/0.2312, allocations: 297.3 kB / 332.7 MB, free: 12.13 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001687/0.2329, allocations: 1.17 MB / 333.9 MB, free: 10.93 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005929/0.2335, allocations: 297 kB / 334.1 MB, free: 10.62 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003149/0.2338, allocations: 165.6 kB / 334.3 MB, free: 10.46 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.982e-05/0.2338, allocations: 7.938 kB / 334.3 MB, free: 10.45 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.2339, allocations: 34.56 kB / 334.3 MB, free: 10.41 MB / 270.1 MB Notification: Performance of pre-optimization done (n=31): time 1.693e-06/0.2339, allocations: 0 / 334.3 MB, free: 10.41 MB / 270.1 MB Notification: Performance of matching and sorting (n=42): time 0.009623/0.2435, allocations: 2.409 MB / 336.8 MB, free: 7.922 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.15e-05/0.2436, allocations: 81.11 kB / 336.8 MB, free: 7.824 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003449/0.2439, allocations: 293 kB / 337.1 MB, free: 7.527 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.689e-05/0.244, allocations: 29.7 kB / 337.1 MB, free: 7.492 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.2441, allocations: 172.4 kB / 337.3 MB, free: 7.32 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001164/0.2442, allocations: 145.9 kB / 337.5 MB, free: 7.176 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001412/0.2444, allocations: 78.05 kB / 337.5 MB, free: 7.094 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.2445, allocations: 342.8 kB / 337.9 MB, free: 6.75 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004016/0.2449, allocations: 160.8 kB / 338 MB, free: 6.594 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004283/0.2453, allocations: 230.6 kB / 338.3 MB, free: 6.348 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008351/0.2462, allocations: 411.5 kB / 338.7 MB, free: 5.926 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.2462, allocations: 4 kB / 338.7 MB, free: 5.922 MB / 270.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001052/0.2473, allocations: 484.6 kB / 339.1 MB, free: 5.441 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.059e-05/0.2473, allocations: 12 kB / 339.1 MB, free: 5.43 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.2473, allocations: 0 / 339.1 MB, free: 5.43 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.277e-05/0.2473, allocations: 7.984 kB / 339.1 MB, free: 5.422 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006109/0.2479, allocations: 111.9 kB / 339.3 MB, free: 5.312 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-05/0.248, allocations: 4 kB / 339.3 MB, free: 5.309 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004145/0.2484, allocations: 39.97 kB / 339.3 MB, free: 5.27 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.943e-05/0.2484, allocations: 16 kB / 339.3 MB, free: 5.254 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001798/0.2486, allocations: 157.6 kB / 339.5 MB, free: 5.09 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.733e-05/0.2487, allocations: 31.62 kB / 339.5 MB, free: 5.059 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001863/0.2506, allocations: 0.6486 MB / 340.2 MB, free: 4.398 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/0.2506, allocations: 4 kB / 340.2 MB, free: 4.395 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.331e-06/0.2506, allocations: 4 kB / 340.2 MB, free: 4.391 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.2506, allocations: 4 kB / 340.2 MB, free: 4.387 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003285/0.2539, allocations: 1.275 MB / 341.4 MB, free: 3.055 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.254, allocations: 8 kB / 341.4 MB, free: 3.047 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004626/0.2544, allocations: 91.88 kB / 341.5 MB, free: 2.957 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00176/0.2562, allocations: 272.5 kB / 341.8 MB, free: 2.688 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.361e-05/0.2563, allocations: 15.92 kB / 341.8 MB, free: 2.672 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003927/0.2602, allocations: 2.217 MB / 344 MB, free: 324 kB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.2602, allocations: 0 / 344 MB, free: 324 kB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00235/0.2626, allocations: 1.006 MB / 345 MB, free: 15.29 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002357/0.2628, allocations: 152.6 kB / 345.2 MB, free: 15.12 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.92e-05/0.2629, allocations: 12 kB / 345.2 MB, free: 15.11 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005018/0.2634, allocations: 23.98 kB / 345.2 MB, free: 15.09 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001222/0.2636, allocations: 36.38 kB / 345.3 MB, free: 15.05 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.614e-05/0.2636, allocations: 16 kB / 345.3 MB, free: 15.04 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002455/0.2639, allocations: 208.5 kB / 345.5 MB, free: 14.83 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2639, allocations: 0 / 345.5 MB, free: 14.83 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000624/0.2645, allocations: 119.9 kB / 345.6 MB, free: 14.71 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 (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,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002874/0.2648, allocations: 147.2 kB / 345.7 MB, free: 14.56 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0009984/0.2658, allocations: 430.2 kB / 346.2 MB, free: 14.14 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.2658, allocations: 0 / 346.2 MB, free: 14.14 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007169/0.2665, allocations: 381 kB / 346.5 MB, free: 13.75 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006273/0.2672, allocations: 40.73 kB / 346.6 MB, free: 13.71 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001978/0.2692, allocations: 1.11 MB / 347.7 MB, free: 12.57 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003559/0.2695, allocations: 0.7894 MB / 348.5 MB, free: 11.76 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002439/0.2698, allocations: 46.89 kB / 348.5 MB, free: 11.71 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001473/0.2699, allocations: 35.42 kB / 348.6 MB, free: 11.68 MB / 286.1 MB Notification: Performance of SimCode: time 2e-07/0.27, allocations: 0 / 348.6 MB, free: 11.68 MB / 286.1 MB Notification: Performance of Templates: time 0.01039/0.2803, allocations: 5.922 MB / 354.5 MB, free: 5.75 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.makefile (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)