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.001196/0.001196, 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.001367/0.001367, allocations: 196.4 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.343/1.343, allocations: 205.1 MB / 222 MB, free: 4.781 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.001114/0.001114, allocations: 47.92 kB / 278.1 MB, free: 12.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2215/0.2226, allocations: 46.62 MB / 324.7 MB, free: 2.141 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.003925/0.2266, allocations: 2.811 MB / 327.5 MB, free: 15.93 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001935/0.2285, allocations: 1.293 MB / 328.8 MB, free: 14.89 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001435/0.2287, allocations: 3.469 kB / 328.8 MB, free: 14.89 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002567/0.229, allocations: 49.25 kB / 328.8 MB, free: 14.85 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004665/0.2294, allocations: 197.2 kB / 329 MB, free: 14.7 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002258/0.2297, allocations: 104.7 kB / 329.1 MB, free: 14.61 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003961/0.2301, allocations: 442.2 kB / 329.6 MB, free: 14.35 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001565/0.2302, allocations: 70.12 kB / 329.6 MB, free: 14.32 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002525/0.2305, allocations: 167 kB / 329.8 MB, free: 14.23 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002985/0.2308, allocations: 211 kB / 330 MB, free: 14.08 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.513e-05/0.2309, allocations: 24.25 kB / 330 MB, free: 14.08 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003405/0.2312, allocations: 141.2 kB / 330.2 MB, free: 14.03 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.372e-05/0.2313, allocations: 74.03 kB / 330.2 MB, free: 13.96 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002099/0.2316, allocations: 181.8 kB / 330.4 MB, free: 13.84 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005073/0.2321, allocations: 493.7 kB / 330.9 MB, free: 13.47 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.2321, allocations: 0 / 330.9 MB, free: 13.47 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.2321, allocations: 1.219 kB / 330.9 MB, free: 13.47 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.2321, allocations: 0 / 330.9 MB, free: 13.47 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.001667/0.2338, allocations: 0.7009 MB / 331.6 MB, free: 12.89 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.2338, allocations: 8.5 kB / 331.6 MB, free: 12.89 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001025/0.2339, allocations: 35.75 kB / 331.6 MB, free: 12.87 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004195/0.2344, allocations: 334 kB / 332 MB, free: 12.55 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.427e-05/0.2344, allocations: 47.8 kB / 332 MB, free: 12.51 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001768/0.2346, allocations: 40.08 kB / 332.1 MB, free: 12.49 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006405/0.2353, allocations: 323.1 kB / 332.4 MB, free: 12.28 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/0.2353, allocations: 3.938 kB / 332.4 MB, free: 12.27 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.49e-05/0.2353, allocations: 10.34 kB / 332.4 MB, free: 12.27 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.191e-05/0.2354, allocations: 7.031 kB / 332.4 MB, free: 12.27 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007015/0.2361, allocations: 297 kB / 332.7 MB, free: 12.13 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001862/0.2379, allocations: 1.178 MB / 333.9 MB, free: 10.93 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000614/0.2386, allocations: 289 kB / 334.1 MB, free: 10.63 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003332/0.2389, allocations: 165.6 kB / 334.3 MB, free: 10.46 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.834e-05/0.239, allocations: 4 kB / 334.3 MB, free: 10.46 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/0.239, allocations: 42.5 kB / 334.3 MB, free: 10.41 MB / 270.1 MB Notification: Performance of pre-optimization done (n=31): time 1.523e-06/0.239, allocations: 0 / 334.3 MB, free: 10.41 MB / 270.1 MB Notification: Performance of matching and sorting (n=42): time 0.009578/0.2486, allocations: 2.409 MB / 336.8 MB, free: 7.922 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.612e-05/0.2487, allocations: 81.11 kB / 336.8 MB, free: 7.824 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003663/0.2491, allocations: 285 kB / 337.1 MB, free: 7.535 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.967e-05/0.2491, allocations: 33.7 kB / 337.1 MB, free: 7.496 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/0.2492, allocations: 172.3 kB / 337.3 MB, free: 7.324 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001153/0.2493, allocations: 141.9 kB / 337.5 MB, free: 7.184 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000146/0.2495, allocations: 82.05 kB / 337.5 MB, free: 7.098 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.2496, allocations: 346.8 kB / 337.9 MB, free: 6.75 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003876/0.25, allocations: 160.8 kB / 338 MB, free: 6.594 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004134/0.2505, allocations: 226.6 kB / 338.2 MB, free: 6.352 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007963/0.2513, allocations: 407.6 kB / 338.6 MB, free: 5.934 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2513, allocations: 3.938 kB / 338.7 MB, free: 5.93 MB / 270.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009807/0.2523, allocations: 0.4889 MB / 339.1 MB, free: 5.434 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.2523, allocations: 4 kB / 339.1 MB, free: 5.43 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.2523, allocations: 4 kB / 339.1 MB, free: 5.426 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.2523, allocations: 4 kB / 339.2 MB, free: 5.422 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006051/0.2529, allocations: 111.9 kB / 339.3 MB, free: 5.312 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.255e-05/0.253, allocations: 11.97 kB / 339.3 MB, free: 5.301 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004051/0.2534, allocations: 36.02 kB / 339.3 MB, free: 5.266 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.621e-05/0.2534, allocations: 15.98 kB / 339.3 MB, free: 5.25 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.0001736/0.2536, allocations: 153.7 kB / 339.5 MB, free: 5.09 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/0.2537, allocations: 31.62 kB / 339.5 MB, free: 5.059 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001811/0.2555, allocations: 0.6525 MB / 340.2 MB, free: 4.395 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.2555, allocations: 4 kB / 340.2 MB, free: 4.391 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.2556, allocations: 8 kB / 340.2 MB, free: 4.383 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.2556, allocations: 3.984 kB / 340.2 MB, free: 4.379 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003101/0.2587, allocations: 1.279 MB / 341.5 MB, free: 3.043 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.2587, allocations: 0 / 341.5 MB, free: 3.043 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004413/0.2591, allocations: 87.89 kB / 341.5 MB, free: 2.957 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001622/0.2608, allocations: 272.5 kB / 341.8 MB, free: 2.688 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.724e-05/0.2608, allocations: 15.94 kB / 341.8 MB, free: 2.672 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003644/0.2645, allocations: 2.21 MB / 344 MB, free: 332 kB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.2645, allocations: 0 / 344 MB, free: 332 kB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002206/0.2667, allocations: 1.01 MB / 345 MB, free: 15.29 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000174/0.2669, allocations: 152.7 kB / 345.2 MB, free: 15.12 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.071e-05/0.267, allocations: 8 kB / 345.2 MB, free: 15.12 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000443/0.2674, allocations: 27.97 kB / 345.2 MB, free: 15.09 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001228/0.2675, allocations: 36.33 kB / 345.3 MB, free: 15.05 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.686e-05/0.2676, allocations: 23.98 kB / 345.3 MB, free: 15.03 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002082/0.2678, allocations: 212.5 kB / 345.5 MB, free: 14.82 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2678, allocations: 0 / 345.5 MB, free: 14.82 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005699/0.2684, 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.0002625/0.2686, allocations: 139.3 kB / 345.7 MB, free: 14.56 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0009271/0.2696, allocations: 434.1 kB / 346.2 MB, free: 14.13 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.237e-06/0.2696, allocations: 0 / 346.2 MB, free: 14.13 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006528/0.2703, allocations: 384.9 kB / 346.5 MB, free: 13.74 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005907/0.2709, allocations: 44.8 kB / 346.6 MB, free: 13.7 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001724/0.2726, allocations: 1.098 MB / 347.7 MB, free: 12.57 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003012/0.2729, allocations: 0.7894 MB / 348.5 MB, free: 11.76 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002183/0.2731, allocations: 38.97 kB / 348.5 MB, free: 11.72 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001371/0.2733, allocations: 35.41 kB / 348.5 MB, free: 11.68 MB / 286.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2733, allocations: 0 / 348.5 MB, free: 11.68 MB / 286.1 MB Notification: Performance of Templates: time 0.01031/0.2836, allocations: 5.922 MB / 354.5 MB, free: 5.758 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)