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.0008144/0.0008145, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005486/0.005486, allocations: 171.1 kB / 16.26 MB, free: 6.676 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.335/1.335, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.0004543/0.0004543, allocations: 8 kB / 279.4 MB, free: 12.51 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2239/0.2243, allocations: 47.58 MB / 327 MB, free: 1.395 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.002486/0.2269, allocations: 2.45 MB / 329.5 MB, free: 15.46 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001836/0.2287, allocations: 1.274 MB / 330.8 MB, free: 14.43 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001197/0.2289, allocations: 3.344 kB / 330.8 MB, free: 14.43 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002327/0.2291, allocations: 56.81 kB / 330.8 MB, free: 14.39 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004457/0.2295, allocations: 190.2 kB / 331 MB, free: 14.24 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002046/0.2298, allocations: 103.7 kB / 331.1 MB, free: 14.15 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004107/0.2302, allocations: 443.5 kB / 331.5 MB, free: 13.89 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001469/0.2303, allocations: 61.8 kB / 331.6 MB, free: 13.87 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002284/0.2306, allocations: 160.4 kB / 331.7 MB, free: 13.78 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002553/0.2308, allocations: 206.8 kB / 332 MB, free: 13.64 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.067e-05/0.2309, allocations: 22.84 kB / 332 MB, free: 13.64 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002527/0.2312, allocations: 138.3 kB / 332.1 MB, free: 13.59 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.714e-05/0.2312, allocations: 81.38 kB / 332.2 MB, free: 13.52 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001666/0.2314, allocations: 195.1 kB / 332.4 MB, free: 13.37 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004788/0.2319, allocations: 485.9 kB / 332.9 MB, free: 13.01 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.2319, allocations: 0 / 332.9 MB, free: 13.01 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.2319, allocations: 1.25 kB / 332.9 MB, free: 13.01 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.69e-06/0.2319, allocations: 0 / 332.9 MB, free: 13.01 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.001435/0.2334, allocations: 0.6475 MB / 333.5 MB, free: 12.47 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.2334, allocations: 8.844 kB / 333.5 MB, free: 12.47 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.065e-05/0.2335, allocations: 38.48 kB / 333.5 MB, free: 12.45 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000381/0.2339, allocations: 334.7 kB / 333.9 MB, free: 12.13 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.221e-05/0.234, allocations: 47.98 kB / 333.9 MB, free: 12.09 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001565/0.2341, allocations: 43.2 kB / 334 MB, free: 12.07 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006521/0.2348, allocations: 329.4 kB / 334.3 MB, free: 11.85 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.2348, allocations: 0 / 334.3 MB, free: 11.85 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.433e-05/0.2349, allocations: 11.5 kB / 334.3 MB, free: 11.84 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.948e-06/0.2349, allocations: 9.344 kB / 334.3 MB, free: 11.84 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006974/0.2356, allocations: 316.6 kB / 334.6 MB, free: 11.64 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001704/0.2373, allocations: 1.171 MB / 335.8 MB, free: 10.39 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006147/0.2379, allocations: 305 kB / 336.1 MB, free: 10.08 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003319/0.2383, allocations: 169.7 kB / 336.3 MB, free: 9.906 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.476e-05/0.2383, allocations: 4 kB / 336.3 MB, free: 9.902 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.2384, allocations: 42.55 kB / 336.3 MB, free: 9.852 MB / 270.1 MB Notification: Performance of pre-optimization done (n=31): time 1.413e-06/0.2384, allocations: 0 / 336.3 MB, free: 9.852 MB / 270.1 MB Notification: Performance of matching and sorting (n=42): time 0.009331/0.2477, allocations: 2.53 MB / 338.8 MB, free: 7.246 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.469e-05/0.2478, allocations: 81.11 kB / 338.9 MB, free: 7.148 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003321/0.2481, allocations: 288.9 kB / 339.2 MB, free: 6.855 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.277e-05/0.2482, allocations: 29.7 kB / 339.2 MB, free: 6.82 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.2483, allocations: 172.4 kB / 339.4 MB, free: 6.648 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001118/0.2484, allocations: 149.8 kB / 339.5 MB, free: 6.5 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.224e-05/0.2485, allocations: 41.69 kB / 339.6 MB, free: 6.453 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.2486, allocations: 334.8 kB / 339.9 MB, free: 6.117 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004009/0.249, allocations: 176.8 kB / 340.1 MB, free: 5.945 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004311/0.2495, allocations: 238.7 kB / 340.3 MB, free: 5.691 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008469/0.2503, allocations: 431.5 kB / 340.7 MB, free: 5.25 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.2503, allocations: 0 / 340.7 MB, free: 5.25 MB / 270.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001013/0.2513, allocations: 0.4965 MB / 341.2 MB, free: 4.746 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.2514, allocations: 4 kB / 341.2 MB, free: 4.742 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.2514, allocations: 4.172 kB / 341.2 MB, free: 4.738 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.2514, allocations: 11.94 kB / 341.2 MB, free: 4.727 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006085/0.252, allocations: 119.9 kB / 341.4 MB, free: 4.609 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.252, allocations: 4 kB / 341.4 MB, free: 4.605 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003905/0.2524, allocations: 47.92 kB / 341.4 MB, free: 4.559 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.276e-05/0.2525, allocations: 19.92 kB / 341.4 MB, free: 4.539 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.000162/0.2526, allocations: 153.7 kB / 341.6 MB, free: 4.379 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.434e-05/0.2527, allocations: 35.61 kB / 341.6 MB, free: 4.344 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001868/0.2546, allocations: 0.6837 MB / 342.3 MB, free: 3.648 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.2546, allocations: 8 kB / 342.3 MB, free: 3.641 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.2546, allocations: 0 / 342.3 MB, free: 3.641 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.246e-06/0.2547, allocations: 4 kB / 342.3 MB, free: 3.637 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003221/0.2579, allocations: 1.322 MB / 343.6 MB, free: 2.258 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.2579, allocations: 0 / 343.6 MB, free: 2.258 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004392/0.2583, allocations: 95.88 kB / 343.7 MB, free: 2.164 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001748/0.2601, allocations: 288.5 kB / 344 MB, free: 1.879 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.41e-05/0.2602, allocations: 12 kB / 344 MB, free: 1.867 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00384/0.264, allocations: 2.28 MB / 346.3 MB, free: 15.45 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.264, allocations: 0 / 346.3 MB, free: 15.45 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002235/0.2663, allocations: 1.049 MB / 347.3 MB, free: 14.38 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000162/0.2664, allocations: 144.7 kB / 347.5 MB, free: 14.22 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.576e-05/0.2665, allocations: 15.98 kB / 347.5 MB, free: 14.2 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004405/0.2669, allocations: 35.92 kB / 347.5 MB, free: 14.17 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/0.2671, allocations: 40.38 kB / 347.6 MB, free: 14.13 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.723e-05/0.2671, allocations: 8 kB / 347.6 MB, free: 14.12 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.000204/0.2673, allocations: 212.6 kB / 347.8 MB, free: 13.91 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.2673, allocations: 4 kB / 347.8 MB, free: 13.91 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005434/0.2679, allocations: 123.9 kB / 347.9 MB, free: 13.79 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.0002427/0.2681, allocations: 139.1 kB / 348.1 MB, free: 13.64 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0009206/0.2691, allocations: 454.1 kB / 348.5 MB, free: 13.2 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2691, allocations: 384 / 348.5 MB, free: 13.2 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006527/0.2697, allocations: 400.8 kB / 348.9 MB, free: 12.79 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004965/0.2702, allocations: 40.42 kB / 348.9 MB, free: 12.75 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001638/0.2719, allocations: 1.217 MB / 350.1 MB, free: 11.51 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003071/0.2722, allocations: 0.7855 MB / 350.9 MB, free: 10.69 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002043/0.2724, allocations: 46.91 kB / 351 MB, free: 10.64 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001274/0.2725, allocations: 35.41 kB / 351 MB, free: 10.61 MB / 286.1 MB Notification: Performance of SimCode: time 2.11e-07/0.2726, allocations: 0 / 351 MB, free: 10.61 MB / 286.1 MB Notification: Performance of Templates: time 0.01028/0.2828, allocations: 5.893 MB / 356.9 MB, free: 4.715 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)