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.001115/0.001115, allocations: 92.08 kB / 15.06 MB, free: 1.098 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.001588/0.001588, allocations: 172.7 kB / 15.95 MB, free: 208 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.445/1.445, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.0004395/0.0004396, allocations: 8 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2378/0.2383, allocations: 47.59 MB / 326.5 MB, free: 1.391 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.002529/0.2409, allocations: 2.35 MB / 328.8 MB, free: 15.55 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00199/0.2429, allocations: 1.183 MB / 330 MB, free: 14.59 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000201/0.2431, allocations: 3.719 kB / 330 MB, free: 14.59 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000235/0.2434, allocations: 62.84 kB / 330.1 MB, free: 14.54 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005055/0.2439, allocations: 176.8 kB / 330.3 MB, free: 14.4 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002434/0.2441, allocations: 95.5 kB / 330.3 MB, free: 14.32 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004654/0.2446, allocations: 404.7 kB / 330.7 MB, free: 14.07 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001888/0.2448, allocations: 70.55 kB / 330.8 MB, free: 14.04 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003052/0.2451, allocations: 161.7 kB / 331 MB, free: 13.95 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003098/0.2454, allocations: 194.5 kB / 331.2 MB, free: 13.82 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.944e-05/0.2455, allocations: 22.66 kB / 331.2 MB, free: 13.82 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002872/0.2458, allocations: 137.9 kB / 331.3 MB, free: 13.77 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.801e-05/0.2459, allocations: 77.83 kB / 331.4 MB, free: 13.7 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.434e-05/0.246, allocations: 81.86 kB / 331.5 MB, free: 13.64 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004028/0.2464, allocations: 371.9 kB / 331.8 MB, free: 13.37 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.2464, allocations: 0 / 331.8 MB, free: 13.37 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.2464, allocations: 5.062 kB / 331.8 MB, free: 13.36 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.478e-06/0.2464, allocations: 0 / 331.8 MB, free: 13.36 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.001456/0.2479, allocations: 0.6498 MB / 332.5 MB, free: 12.82 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.2479, allocations: 10.19 kB / 332.5 MB, free: 12.82 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.792e-05/0.248, allocations: 33.12 kB / 332.5 MB, free: 12.81 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004233/0.2485, allocations: 321.5 kB / 332.8 MB, free: 12.5 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.74e-05/0.2485, allocations: 47.86 kB / 332.9 MB, free: 12.46 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001495/0.2487, allocations: 39.05 kB / 332.9 MB, free: 12.44 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006119/0.2493, allocations: 322.7 kB / 333.2 MB, free: 12.23 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.2494, allocations: 3.938 kB / 333.2 MB, free: 12.23 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.203e-05/0.2494, allocations: 11.47 kB / 333.3 MB, free: 12.22 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.2494, allocations: 5.469 kB / 333.3 MB, free: 12.22 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006819/0.2501, allocations: 315.2 kB / 333.6 MB, free: 12.07 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001778/0.2519, allocations: 1.178 MB / 334.7 MB, free: 11.02 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006/0.2525, allocations: 313 kB / 335.1 MB, free: 10.7 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003313/0.2528, allocations: 161.7 kB / 335.2 MB, free: 10.54 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.141e-05/0.2529, allocations: 4 kB / 335.2 MB, free: 10.53 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.028e-05/0.2529, allocations: 46.42 kB / 335.3 MB, free: 10.48 MB / 270.1 MB Notification: Performance of pre-optimization done (n=31): time 1.783e-06/0.2529, allocations: 4 kB / 335.3 MB, free: 10.47 MB / 270.1 MB Notification: Performance of matching and sorting (n=42): time 0.00853/0.2615, allocations: 2.515 MB / 337.8 MB, free: 7.883 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.806e-05/0.2615, allocations: 85.11 kB / 337.9 MB, free: 7.781 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003489/0.2619, allocations: 285 kB / 338.1 MB, free: 7.492 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.373e-05/0.2619, allocations: 29.7 kB / 338.2 MB, free: 7.457 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.2621, allocations: 168.5 kB / 338.3 MB, free: 7.289 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000118/0.2622, allocations: 145.8 kB / 338.5 MB, free: 7.145 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.628e-05/0.2622, allocations: 8 kB / 338.5 MB, free: 7.137 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.2624, allocations: 346.8 kB / 338.8 MB, free: 6.789 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003867/0.2627, allocations: 172.8 kB / 339 MB, free: 6.621 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004188/0.2632, allocations: 234.6 kB / 339.2 MB, free: 6.371 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004136/0.2636, allocations: 193.6 kB / 339.4 MB, free: 6.184 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.2636, allocations: 4 kB / 339.4 MB, free: 6.18 MB / 270.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009705/0.2646, allocations: 0.497 MB / 339.9 MB, free: 5.676 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.2646, allocations: 8 kB / 339.9 MB, free: 5.668 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.2646, allocations: 0 / 339.9 MB, free: 5.668 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.2647, allocations: 4 kB / 339.9 MB, free: 5.664 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005793/0.2652, allocations: 127.8 kB / 340 MB, free: 5.539 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/0.2653, allocations: 4 kB / 340.1 MB, free: 5.535 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003454/0.2656, allocations: 35.97 kB / 340.1 MB, free: 5.5 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.48e-05/0.2657, allocations: 15.98 kB / 340.1 MB, free: 5.484 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.0001646/0.2658, allocations: 161.7 kB / 340.3 MB, free: 5.316 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.041e-05/0.2659, allocations: 27.62 kB / 340.3 MB, free: 5.289 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001778/0.2677, allocations: 0.6876 MB / 341 MB, free: 4.59 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.2677, allocations: 4 kB / 341 MB, free: 4.586 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.2677, allocations: 0 / 341 MB, free: 4.586 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.277e-06/0.2678, allocations: 7.984 kB / 341 MB, free: 4.578 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003006/0.2708, allocations: 1.314 MB / 342.3 MB, free: 3.207 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.2708, allocations: 4 kB / 342.3 MB, free: 3.203 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004272/0.2712, allocations: 95.89 kB / 342.4 MB, free: 3.109 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001569/0.2728, allocations: 292.4 kB / 342.7 MB, free: 2.82 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.993e-05/0.2729, allocations: 15.98 kB / 342.7 MB, free: 2.805 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003767/0.2766, allocations: 2.284 MB / 345 MB, free: 392 kB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.2766, allocations: 0 / 345 MB, free: 392 kB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002234/0.2789, allocations: 1.049 MB / 346 MB, free: 15.31 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001948/0.2791, allocations: 144.7 kB / 346.2 MB, free: 15.15 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.638e-05/0.2792, allocations: 12 kB / 346.2 MB, free: 15.14 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004175/0.2796, allocations: 31.94 kB / 346.2 MB, free: 15.11 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.2797, allocations: 44.31 kB / 346.3 MB, free: 15.07 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.265e-05/0.2798, allocations: 15.98 kB / 346.3 MB, free: 15.05 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002134/0.28, allocations: 212.5 kB / 346.5 MB, free: 14.84 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.28, allocations: 0 / 346.5 MB, free: 14.84 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005694/0.2806, allocations: 112 kB / 346.6 MB, free: 14.73 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.0002599/0.2808, allocations: 139.1 kB / 346.7 MB, free: 14.59 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0009246/0.2818, allocations: 446.4 kB / 347.2 MB, free: 14.15 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.2818, allocations: 0 / 347.2 MB, free: 14.15 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006716/0.2824, allocations: 397.2 kB / 347.6 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.0005088/0.283, allocations: 40.55 kB / 347.6 MB, free: 13.71 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001852/0.2848, allocations: 1.211 MB / 348.8 MB, free: 12.47 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003729/0.2852, allocations: 0.7894 MB / 349.6 MB, free: 11.65 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002303/0.2855, allocations: 38.91 kB / 349.6 MB, free: 11.61 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001439/0.2856, allocations: 39.41 kB / 349.7 MB, free: 11.58 MB / 286.1 MB Notification: Performance of SimCode: time 5.11e-07/0.2856, allocations: 4 kB / 349.7 MB, free: 11.57 MB / 286.1 MB Notification: Performance of Templates: time 0.01064/0.2963, allocations: 5.729 MB / 355.4 MB, free: 5.84 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)