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.001147/0.001147, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001247/0.001247, allocations: 177.3 kB / 15.95 MB, free: 216 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.552/1.552, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.000469/0.0004692, allocations: 12 kB / 278.9 MB, free: 12.83 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2739/0.2744, allocations: 47.59 MB / 326.5 MB, free: 1.406 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.002565/0.277, allocations: 2.245 MB / 328.7 MB, free: 15.66 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001811/0.2788, allocations: 1.186 MB / 329.9 MB, free: 14.71 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001343/0.279, allocations: 6.75 kB / 329.9 MB, free: 14.7 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001891/0.2792, allocations: 47.78 kB / 329.9 MB, free: 14.67 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004902/0.2797, allocations: 214.1 kB / 330.1 MB, free: 14.5 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002026/0.2799, allocations: 88.3 kB / 330.2 MB, free: 14.42 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003604/0.2803, allocations: 279.7 kB / 330.5 MB, free: 14.24 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001684/0.2805, allocations: 67.48 kB / 330.6 MB, free: 14.21 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002375/0.2807, allocations: 163.4 kB / 330.7 MB, free: 14.12 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002824/0.281, allocations: 194.5 kB / 330.9 MB, free: 13.99 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.879e-05/0.281, allocations: 21.91 kB / 330.9 MB, free: 13.99 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002952/0.2813, allocations: 143.2 kB / 331.1 MB, free: 13.93 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.828e-05/0.2814, allocations: 70.12 kB / 331.2 MB, free: 13.88 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.425e-05/0.2815, allocations: 82.2 kB / 331.2 MB, free: 13.82 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004609/0.282, allocations: 369 kB / 331.6 MB, free: 13.54 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.282, allocations: 0 / 331.6 MB, free: 13.54 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.504e-06/0.282, allocations: 4 kB / 331.6 MB, free: 13.54 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.282, allocations: 0 / 331.6 MB, free: 13.54 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.001521/0.2836, allocations: 0.6539 MB / 332.3 MB, free: 13 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.2836, allocations: 8.781 kB / 332.3 MB, free: 13 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.846e-05/0.2837, allocations: 34.69 kB / 332.3 MB, free: 12.98 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004524/0.2842, allocations: 312.7 kB / 332.6 MB, free: 12.68 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.792e-05/0.2843, allocations: 55.34 kB / 332.7 MB, free: 12.63 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001584/0.2844, allocations: 36.11 kB / 332.7 MB, free: 12.62 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000625/0.2851, allocations: 323.9 kB / 333 MB, free: 12.4 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/0.2851, allocations: 1.125 kB / 333 MB, free: 12.4 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.647e-05/0.2852, allocations: 18.03 kB / 333 MB, free: 12.39 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.131e-05/0.2852, allocations: 6.469 kB / 333 MB, free: 12.39 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006937/0.2859, allocations: 315.4 kB / 333.3 MB, free: 12.24 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001883/0.2878, allocations: 1.173 MB / 334.5 MB, free: 11.23 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005836/0.2884, allocations: 310.6 kB / 334.8 MB, free: 10.93 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.375e-05/0.2884, allocations: 4 kB / 334.8 MB, free: 10.92 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/0.2884, allocations: 38.55 kB / 334.9 MB, free: 10.88 MB / 270.1 MB Notification: Performance of pre-optimization done (n=31): time 1.443e-06/0.2884, allocations: 0 / 334.9 MB, free: 10.88 MB / 270.1 MB Notification: Performance of matching and sorting (n=42): time 0.008767/0.2972, allocations: 2.526 MB / 337.4 MB, free: 8.273 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.635e-05/0.2973, allocations: 85.09 kB / 337.5 MB, free: 8.172 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003157/0.2976, allocations: 288.8 kB / 337.7 MB, free: 7.879 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.701e-05/0.2977, allocations: 33.7 kB / 337.8 MB, free: 7.84 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001141/0.2978, allocations: 160.5 kB / 337.9 MB, free: 7.68 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001117/0.2979, allocations: 153.8 kB / 338.1 MB, free: 7.527 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.722e-05/0.2979, allocations: 8 kB / 338.1 MB, free: 7.52 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.2981, allocations: 342.8 kB / 338.4 MB, free: 7.176 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003768/0.2984, allocations: 168.8 kB / 338.6 MB, free: 7.012 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004173/0.2989, allocations: 238.7 kB / 338.8 MB, free: 6.758 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004059/0.2993, allocations: 201.5 kB / 339 MB, free: 6.562 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.2993, allocations: 0 / 339 MB, free: 6.562 MB / 270.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009454/0.3003, allocations: 497 kB / 339.5 MB, free: 6.07 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.3003, allocations: 12.03 kB / 339.5 MB, free: 6.059 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.3003, allocations: 0 / 339.5 MB, free: 6.059 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.3003, allocations: 4 kB / 339.5 MB, free: 6.055 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005831/0.3009, allocations: 127.8 kB / 339.7 MB, free: 5.93 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/0.3009, allocations: 4 kB / 339.7 MB, free: 5.926 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000362/0.3013, allocations: 35.98 kB / 339.7 MB, free: 5.891 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.601e-05/0.3013, allocations: 19.98 kB / 339.7 MB, free: 5.871 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.0001792/0.3015, allocations: 153.7 kB / 339.9 MB, free: 5.711 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.014e-05/0.3016, allocations: 31.62 kB / 339.9 MB, free: 5.68 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001771/0.3034, allocations: 0.6915 MB / 340.6 MB, free: 4.977 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.253e-06/0.3034, allocations: 4 kB / 340.6 MB, free: 4.973 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.3034, allocations: 4 kB / 340.6 MB, free: 4.969 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.944e-06/0.3034, allocations: 3.984 kB / 340.6 MB, free: 4.965 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003006/0.3064, allocations: 1.314 MB / 341.9 MB, free: 3.594 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.3065, allocations: 4 kB / 341.9 MB, free: 3.59 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004248/0.3069, allocations: 91.88 kB / 342 MB, free: 3.5 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001612/0.3085, allocations: 288.5 kB / 342.3 MB, free: 3.215 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.393e-05/0.3086, allocations: 8 kB / 342.3 MB, free: 3.207 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003785/0.3124, allocations: 2.326 MB / 344.6 MB, free: 0.7422 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.3124, allocations: 0 / 344.6 MB, free: 0.7422 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002187/0.3146, allocations: 1.059 MB / 345.7 MB, free: 15.66 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001848/0.3148, allocations: 152.7 kB / 345.8 MB, free: 15.49 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.5e-05/0.3148, allocations: 11.95 kB / 345.8 MB, free: 15.48 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004088/0.3152, allocations: 31.98 kB / 345.9 MB, free: 15.45 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.3154, allocations: 36.38 kB / 345.9 MB, free: 15.41 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.944e-05/0.3154, allocations: 23.98 kB / 345.9 MB, free: 15.39 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002063/0.3156, allocations: 204.5 kB / 346.1 MB, free: 15.19 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3156, allocations: 4 kB / 346.1 MB, free: 15.18 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005499/0.3162, allocations: 116 kB / 346.2 MB, free: 15.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 (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.0002699/0.3164, allocations: 143.1 kB / 346.4 MB, free: 14.92 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0009035/0.3174, allocations: 450.4 kB / 346.8 MB, free: 14.48 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.3174, allocations: 0 / 346.8 MB, free: 14.48 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006913/0.3181, allocations: 393.2 kB / 347.2 MB, free: 14.08 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004033/0.3185, allocations: 24.44 kB / 347.2 MB, free: 14.05 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00197/0.3205, allocations: 1.208 MB / 348.4 MB, free: 12.82 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004622/0.3209, allocations: 0.7972 MB / 349.2 MB, free: 12 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002055/0.3212, allocations: 43.12 kB / 349.3 MB, free: 11.95 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001223/0.3213, allocations: 31.42 kB / 349.3 MB, free: 11.93 MB / 286.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3213, allocations: 3.938 kB / 349.3 MB, free: 11.92 MB / 286.1 MB Notification: Performance of Templates: time 0.01006/0.3314, allocations: 5.718 MB / 355 MB, free: 6.199 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: