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.001171/0.001171, 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.001411/0.001411, allocations: 195 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.412/1.412, allocations: 205.1 MB / 222.4 MB, free: 4.605 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.001737/0.001737, allocations: 51.94 kB / 278.7 MB, free: 12.34 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2278/0.2295, allocations: 46.64 MB / 325.3 MB, free: 1.852 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.003693/0.2333, allocations: 2.76 MB / 328.1 MB, free: 15.67 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002045/0.2353, allocations: 1.274 MB / 329.4 MB, free: 14.63 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001593/0.2355, allocations: 6.625 kB / 329.4 MB, free: 14.63 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002796/0.2358, allocations: 65.02 kB / 329.4 MB, free: 14.58 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005738/0.2364, allocations: 221.2 kB / 329.6 MB, free: 14.41 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003185/0.2367, allocations: 124.3 kB / 329.8 MB, free: 14.3 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005164/0.2373, allocations: 459.3 kB / 330.2 MB, free: 14.03 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001992/0.2375, allocations: 89.16 kB / 330.3 MB, free: 13.99 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000277/0.2377, allocations: 179.7 kB / 330.5 MB, free: 13.89 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003091/0.2381, allocations: 221.8 kB / 330.7 MB, free: 13.73 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 7.177e-05/0.2381, allocations: 45.69 kB / 330.7 MB, free: 13.73 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003106/0.2385, allocations: 160.4 kB / 330.9 MB, free: 13.67 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.951e-05/0.2386, allocations: 97.34 kB / 331 MB, free: 13.58 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001866/0.2388, allocations: 181.9 kB / 331.2 MB, free: 13.45 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000582/0.2394, allocations: 0.4941 MB / 331.7 MB, free: 13.08 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.2394, allocations: 4 kB / 331.7 MB, free: 13.07 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.083e-06/0.2394, allocations: 0 / 331.7 MB, free: 13.07 MB / 270.1 MB Notification: Performance of Transformations before backend: time 8.276e-06/0.2394, allocations: 1.312 kB / 331.7 MB, free: 13.07 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.001621/0.241, allocations: 0.7124 MB / 332.4 MB, free: 12.48 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.2411, allocations: 9.25 kB / 332.4 MB, free: 12.48 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.962e-05/0.2412, allocations: 34.56 kB / 332.4 MB, free: 12.46 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004045/0.2416, allocations: 330.7 kB / 332.7 MB, free: 12.15 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.14e-05/0.2416, allocations: 53.23 kB / 332.8 MB, free: 12.1 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001621/0.2418, allocations: 42.58 kB / 332.8 MB, free: 12.08 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006079/0.2424, allocations: 318.2 kB / 333.1 MB, free: 11.87 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/0.2425, allocations: 1.125 kB / 333.1 MB, free: 11.87 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.607e-05/0.2425, allocations: 10.34 kB / 333.2 MB, free: 11.86 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.242e-05/0.2425, allocations: 6.844 kB / 333.2 MB, free: 11.86 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006741/0.2432, allocations: 310 kB / 333.5 MB, free: 11.65 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001636/0.2449, allocations: 1.164 MB / 334.6 MB, free: 10.41 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006013/0.2455, allocations: 293 kB / 334.9 MB, free: 10.11 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003189/0.2458, allocations: 165.6 kB / 335.1 MB, free: 9.938 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.681e-05/0.2458, allocations: 8 kB / 335.1 MB, free: 9.93 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.2459, allocations: 34.55 kB / 335.1 MB, free: 9.887 MB / 270.1 MB Notification: Performance of pre-optimization done (n=31): time 1.793e-06/0.2459, allocations: 0 / 335.1 MB, free: 9.887 MB / 270.1 MB Notification: Performance of matching and sorting (n=42): time 0.009434/0.2553, allocations: 2.405 MB / 337.5 MB, free: 7.406 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.687e-05/0.2554, allocations: 89.11 kB / 337.6 MB, free: 7.301 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003318/0.2557, allocations: 285 kB / 337.9 MB, free: 7.008 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.648e-05/0.2558, allocations: 33.7 kB / 337.9 MB, free: 6.969 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/0.2559, allocations: 172.3 kB / 338.1 MB, free: 6.797 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001138/0.256, allocations: 141.9 kB / 338.2 MB, free: 6.656 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001419/0.2562, allocations: 82.09 kB / 338.3 MB, free: 6.57 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.2563, allocations: 338.8 kB / 338.6 MB, free: 6.23 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003905/0.2567, allocations: 164.8 kB / 338.8 MB, free: 6.07 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004256/0.2571, allocations: 222.7 kB / 339 MB, free: 5.832 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008267/0.258, allocations: 427.4 kB / 339.4 MB, free: 5.395 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.258, allocations: 0 / 339.4 MB, free: 5.395 MB / 270.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001016/0.259, allocations: 476.5 kB / 339.9 MB, free: 4.922 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.259, allocations: 8.188 kB / 339.9 MB, free: 4.914 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.259, allocations: 4 kB / 339.9 MB, free: 4.91 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.2591, allocations: 4 kB / 339.9 MB, free: 4.906 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000632/0.2597, allocations: 123.8 kB / 340 MB, free: 4.785 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/0.2597, allocations: 4 kB / 340 MB, free: 4.781 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003927/0.2601, allocations: 27.98 kB / 340.1 MB, free: 4.754 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.689e-05/0.2602, allocations: 23.98 kB / 340.1 MB, free: 4.73 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.0001727/0.2604, allocations: 153.7 kB / 340.2 MB, free: 4.57 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.693e-05/0.2605, allocations: 27.62 kB / 340.3 MB, free: 4.543 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001811/0.2623, allocations: 0.6563 MB / 340.9 MB, free: 3.875 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.2623, allocations: 4 kB / 340.9 MB, free: 3.871 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/0.2623, allocations: 7.969 kB / 340.9 MB, free: 3.863 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.2623, allocations: 0 / 340.9 MB, free: 3.863 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0031/0.2654, allocations: 1.283 MB / 342.2 MB, free: 2.523 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.2654, allocations: 0 / 342.2 MB, free: 2.523 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004358/0.2659, allocations: 95.88 kB / 342.3 MB, free: 2.43 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001622/0.2675, allocations: 264.6 kB / 342.6 MB, free: 2.168 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.968e-05/0.2676, allocations: 11.98 kB / 342.6 MB, free: 2.156 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00403/0.2716, allocations: 2.439 MB / 345 MB, free: 15.57 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.2716, allocations: 3.938 kB / 345 MB, free: 15.57 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002387/0.274, allocations: 1.022 MB / 346 MB, free: 14.53 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001933/0.2742, allocations: 144.7 kB / 346.2 MB, free: 14.37 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.466e-05/0.2743, allocations: 12 kB / 346.2 MB, free: 14.36 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004418/0.2748, allocations: 23.98 kB / 346.2 MB, free: 14.33 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/0.2749, allocations: 44.38 kB / 346.3 MB, free: 14.29 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.21e-05/0.2749, allocations: 12 kB / 346.3 MB, free: 14.28 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002391/0.2752, allocations: 208.5 kB / 346.5 MB, free: 14.07 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2752, allocations: 0 / 346.5 MB, free: 14.07 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005732/0.2758, allocations: 119.9 kB / 346.6 MB, free: 13.96 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.0002744/0.2761, allocations: 147.1 kB / 346.7 MB, free: 13.8 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001039/0.2771, allocations: 449.9 kB / 347.2 MB, free: 13.36 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2771, allocations: 384 / 347.2 MB, free: 13.36 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000659/0.2778, allocations: 384.9 kB / 347.6 MB, free: 12.97 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005503/0.2783, allocations: 36.42 kB / 347.6 MB, free: 12.93 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001726/0.2801, allocations: 0.9762 MB / 348.6 MB, free: 11.93 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003164/0.2804, allocations: 0.7852 MB / 349.4 MB, free: 11.12 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002054/0.2806, allocations: 42.95 kB / 349.4 MB, free: 11.08 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001301/0.2808, allocations: 39.41 kB / 349.4 MB, free: 11.04 MB / 286.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2808, allocations: 0 / 349.4 MB, free: 11.04 MB / 286.1 MB Notification: Performance of Templates: time 0.01069/0.2915, allocations: 6.339 MB / 355.8 MB, free: 4.699 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)