Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.001609/0.001609, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001896/0.001896, allocations: 195.8 kB / 16.53 MB, free: 6.664 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.333/1.333, allocations: 205.1 MB / 222.4 MB, free: 4.582 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.001225/0.001225, allocations: 51.92 kB / 278.7 MB, free: 12.35 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2079/0.2091, allocations: 46.64 MB / 325.3 MB, free: 1.98 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.003439/0.2126, allocations: 2.769 MB / 328.1 MB, free: 15.79 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001952/0.2146, allocations: 1.274 MB / 329.4 MB, free: 14.75 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001402/0.2147, allocations: 3.875 kB / 329.4 MB, free: 14.75 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002774/0.215, allocations: 68.66 kB / 329.4 MB, free: 14.7 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005194/0.2156, allocations: 220.2 kB / 329.6 MB, free: 14.53 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00024/0.2158, allocations: 125.3 kB / 329.8 MB, free: 14.42 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004606/0.2163, allocations: 459.6 kB / 330.2 MB, free: 14.15 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002019/0.2165, allocations: 76.91 kB / 330.3 MB, free: 14.12 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002741/0.2168, allocations: 182.9 kB / 330.5 MB, free: 14.02 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000301/0.2171, allocations: 231.8 kB / 330.7 MB, free: 13.85 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.902e-05/0.2172, allocations: 40.19 kB / 330.7 MB, free: 13.85 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003097/0.2175, allocations: 155.7 kB / 330.9 MB, free: 13.8 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.891e-05/0.2176, allocations: 94.28 kB / 331 MB, free: 13.71 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001814/0.2178, allocations: 190 kB / 331.2 MB, free: 13.58 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005694/0.2183, allocations: 0.4933 MB / 331.7 MB, free: 13.2 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.2183, allocations: 1.094 kB / 331.7 MB, free: 13.2 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.2184, allocations: 0 / 331.7 MB, free: 13.2 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.097e-06/0.2184, allocations: 0 / 331.7 MB, free: 13.2 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.001592/0.22, allocations: 0.7088 MB / 332.4 MB, free: 12.61 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.22, allocations: 9.844 kB / 332.4 MB, free: 12.61 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001/0.2201, allocations: 34.88 kB / 332.4 MB, free: 12.6 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004052/0.2205, allocations: 334 kB / 332.7 MB, free: 12.28 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.822e-05/0.2206, allocations: 52.08 kB / 332.8 MB, free: 12.23 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001528/0.2208, allocations: 39.08 kB / 332.8 MB, free: 12.21 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005776/0.2214, allocations: 323.2 kB / 333.1 MB, free: 12 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.2214, allocations: 1.531 kB / 333.1 MB, free: 12 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.209e-05/0.2214, allocations: 9.531 kB / 333.2 MB, free: 11.99 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.2214, allocations: 7.031 kB / 333.2 MB, free: 11.99 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006528/0.2221, allocations: 302.2 kB / 333.5 MB, free: 11.77 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001717/0.2238, allocations: 1.171 MB / 334.6 MB, free: 10.52 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006169/0.2245, allocations: 297 kB / 334.9 MB, free: 10.21 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000328/0.2248, allocations: 165.6 kB / 335.1 MB, free: 10.05 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.75e-05/0.2248, allocations: 11.94 kB / 335.1 MB, free: 10.04 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.2249, allocations: 34.56 kB / 335.1 MB, free: 9.992 MB / 270.1 MB Notification: Performance of pre-optimization done (n=31): time 1.423e-06/0.2249, allocations: 0 / 335.1 MB, free: 9.992 MB / 270.1 MB Notification: Performance of matching and sorting (n=42): time 0.009028/0.2339, allocations: 2.397 MB / 337.5 MB, free: 7.52 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.384e-05/0.234, allocations: 89.11 kB / 337.6 MB, free: 7.414 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003066/0.2343, allocations: 285 kB / 337.9 MB, free: 7.121 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.464e-05/0.2343, allocations: 33.7 kB / 337.9 MB, free: 7.082 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.562e-05/0.2344, allocations: 172.3 kB / 338.1 MB, free: 6.91 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001027/0.2345, allocations: 141.9 kB / 338.2 MB, free: 6.77 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001311/0.2347, allocations: 82.11 kB / 338.3 MB, free: 6.684 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.2348, allocations: 338.8 kB / 338.6 MB, free: 6.344 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003907/0.2352, allocations: 164.8 kB / 338.8 MB, free: 6.184 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004186/0.2356, allocations: 230.5 kB / 339 MB, free: 5.938 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007883/0.2364, allocations: 411.6 kB / 339.4 MB, free: 5.516 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.2364, allocations: 0 / 339.4 MB, free: 5.516 MB / 270.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009618/0.2374, allocations: 484.4 kB / 339.9 MB, free: 5.035 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.2374, allocations: 8.812 kB / 339.9 MB, free: 5.027 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.2374, allocations: 4 kB / 339.9 MB, free: 5.023 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.241e-05/0.2375, allocations: 4 kB / 339.9 MB, free: 5.02 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005945/0.2381, allocations: 119.8 kB / 340 MB, free: 4.902 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/0.2381, allocations: 4 kB / 340 MB, free: 4.898 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003784/0.2385, allocations: 31.98 kB / 340.1 MB, free: 4.867 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.676e-05/0.2385, allocations: 23.98 kB / 340.1 MB, free: 4.844 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.0001641/0.2387, allocations: 157.7 kB / 340.2 MB, free: 4.68 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.03e-05/0.2388, allocations: 27.62 kB / 340.3 MB, free: 4.652 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00181/0.2406, allocations: 0.6564 MB / 340.9 MB, free: 3.984 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.2406, allocations: 8 kB / 340.9 MB, free: 3.977 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.2406, allocations: 0 / 340.9 MB, free: 3.977 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.2407, allocations: 3.984 kB / 340.9 MB, free: 3.973 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003017/0.2437, allocations: 1.275 MB / 342.2 MB, free: 2.641 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.2437, allocations: 4 kB / 342.2 MB, free: 2.637 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000433/0.2441, allocations: 91.89 kB / 342.3 MB, free: 2.547 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001555/0.2457, allocations: 272.5 kB / 342.6 MB, free: 2.277 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.437e-05/0.2457, allocations: 11.94 kB / 342.6 MB, free: 2.266 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003914/0.2497, allocations: 2.439 MB / 345 MB, free: 15.68 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.2497, allocations: 0 / 345 MB, free: 15.68 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0022/0.2519, allocations: 1.018 MB / 346 MB, free: 14.64 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001653/0.2521, allocations: 148.7 kB / 346.2 MB, free: 14.48 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.089e-05/0.2521, allocations: 12 kB / 346.2 MB, free: 14.47 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004328/0.2526, allocations: 23.98 kB / 346.2 MB, free: 14.45 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/0.2527, allocations: 48.45 kB / 346.3 MB, free: 14.4 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.015e-05/0.2527, allocations: 12 kB / 346.3 MB, free: 14.39 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002068/0.253, allocations: 208.5 kB / 346.5 MB, free: 14.18 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.253, allocations: 0 / 346.5 MB, free: 14.18 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005644/0.2535, allocations: 119.9 kB / 346.6 MB, free: 14.07 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.000284/0.2538, allocations: 147.1 kB / 346.7 MB, free: 13.91 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001038/0.2549, allocations: 446 kB / 347.2 MB, free: 13.47 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.2549, allocations: 384 / 347.2 MB, free: 13.47 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006569/0.2556, allocations: 384.9 kB / 347.6 MB, free: 13.08 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005397/0.2561, allocations: 40.56 kB / 347.6 MB, free: 13.04 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001708/0.2578, allocations: 0.98 MB / 348.6 MB, free: 12.04 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003219/0.2582, allocations: 0.7852 MB / 349.4 MB, free: 11.23 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001992/0.2584, allocations: 42.95 kB / 349.4 MB, free: 11.18 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001233/0.2585, allocations: 31.42 kB / 349.4 MB, free: 11.16 MB / 286.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2585, allocations: 4 kB / 349.4 MB, free: 11.15 MB / 286.1 MB Notification: Performance of Templates: time 0.01071/0.2692, allocations: 6.335 MB / 355.8 MB, free: 4.812 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.sim & ./Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1)