Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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.2_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.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001109/0.001109, allocations: 193 kB / 8.136 MB, free: 2.184 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.083/1.083, allocations: 194.2 MB / 202.8 MB, free: 8.652 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00186/0.00186, allocations: 117.2 kB / 247.8 MB, free: 6.371 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 7.704e-06/7.794e-06, allocations: 4 kB / 297.6 MB, free: 7.957 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07222/0.07225, allocations: 44.48 MB / 342.1 MB, free: 11.37 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2363/0.3086, allocations: 81.15 MB / 423.2 MB, free: 13.94 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002627/0.3089, allocations: 86.78 kB / 423.3 MB, free: 13.89 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.02772/0.3367, allocations: 8.847 MB / 432.1 MB, free: 6.773 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.777e-05/0.3368, allocations: 8 kB / 432.1 MB, free: 6.766 MB / 314.7 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.001007/0.3378, allocations: 0.5885 MB / 432.7 MB, free: 6.152 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.3378, allocations: 12.02 kB / 432.7 MB, free: 6.141 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001016/0.3379, allocations: 39.53 kB / 432.8 MB, free: 6.102 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004199/0.3384, allocations: 316.5 kB / 433.1 MB, free: 5.797 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.422e-05/0.3384, allocations: 46.36 kB / 433.1 MB, free: 5.746 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001517/0.3386, allocations: 23.98 kB / 433.2 MB, free: 5.723 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004259/0.339, allocations: 245.1 kB / 433.4 MB, free: 5.562 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003931/0.3394, allocations: 263.7 kB / 433.7 MB, free: 5.352 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.3394, allocations: 4 kB / 433.7 MB, free: 5.348 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.079e-05/0.3395, allocations: 0 / 433.7 MB, free: 5.348 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.3395, allocations: 8 kB / 433.7 MB, free: 5.34 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00158/0.3411, allocations: 1.111 MB / 434.8 MB, free: 4.379 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002861/0.3414, allocations: 188 kB / 435 MB, free: 4.238 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002008/0.3416, allocations: 142 kB / 435.1 MB, free: 4.148 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.294e-05/0.3416, allocations: 4 kB / 435.1 MB, free: 4.145 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.3417, allocations: 39.73 kB / 435.1 MB, free: 4.098 MB / 314.7 MB Notification: Performance of pre-optimization done (n=31): time 1.903e-06/0.3417, allocations: 0 / 435.1 MB, free: 4.098 MB / 314.7 MB Notification: Performance of matching and sorting (n=42): time 0.00769/0.3494, allocations: 1.918 MB / 437.1 MB, free: 2.434 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.77e-05/0.3494, allocations: 85.11 kB / 437.1 MB, free: 2.332 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000265/0.3497, allocations: 239.5 kB / 437.4 MB, free: 2.145 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.14e-05/0.3497, allocations: 25.7 kB / 437.4 MB, free: 2.113 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.733e-05/0.3498, allocations: 150.9 kB / 437.6 MB, free: 1.973 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.273e-05/0.3499, allocations: 138.4 kB / 437.7 MB, free: 1.855 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.754e-05/0.3499, allocations: 0 / 437.7 MB, free: 1.855 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.713e-05/0.35, allocations: 347.3 kB / 438 MB, free: 1.52 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000217/0.3502, allocations: 131 kB / 438.2 MB, free: 1.449 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002312/0.3504, allocations: 192 kB / 438.3 MB, free: 1.309 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002499/0.3507, allocations: 147.8 kB / 438.5 MB, free: 1.223 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3507, allocations: 0 / 438.5 MB, free: 1.223 MB / 314.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.006729/0.3574, allocations: 1.453 MB / 439.9 MB, free: 15.95 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.3575, allocations: 8 kB / 439.9 MB, free: 15.95 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.344e-05/0.3575, allocations: 7.969 kB / 440 MB, free: 15.94 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006697/0.3642, allocations: 1.042 MB / 441 MB, free: 15.01 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000328/0.3645, allocations: 63.03 kB / 441.1 MB, free: 14.95 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01091/0.3755, allocations: 4.197 MB / 445.3 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005715/0.3761, allocations: 36.03 kB / 445.3 MB, free: 11.61 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.65e-05/0.3761, allocations: 19.17 kB / 445.3 MB, free: 11.59 MB / 330.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: core.Hstat:VARIABLE(unit = "A/m" ) "Static (ferromagnetic) portion of the magnetic field strength" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 30 * 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 20} Notification: Performance of prepare postOptimizeDAE: time 0.0001851/0.3763, allocations: 114.2 kB / 445.4 MB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001211/0.3764, allocations: 31.62 kB / 445.5 MB, free: 11.45 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001643/0.3781, allocations: 0.5584 MB / 446 MB, free: 11.04 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.429e-05/0.3781, allocations: 8 kB / 446 MB, free: 11.03 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.3781, allocations: 3.938 kB / 446 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/0.3782, allocations: 0 / 446 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003114/0.3813, allocations: 1.144 MB / 447.2 MB, free: 10.1 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.3813, allocations: 0 / 447.2 MB, free: 10.1 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005376/0.3818, allocations: 99.31 kB / 447.3 MB, free: 10.01 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001595/0.3834, allocations: 260.2 kB / 447.5 MB, free: 9.785 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.374e-05/0.3835, allocations: 9.125 kB / 447.5 MB, free: 9.777 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003544/0.3871, allocations: 2.052 MB / 449.6 MB, free: 7.93 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.3871, allocations: 0 / 449.6 MB, free: 7.93 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002045/0.3891, allocations: 0.9066 MB / 450.5 MB, free: 7.227 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002101/0.3894, allocations: 143.1 kB / 450.6 MB, free: 7.09 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.277e-05/0.3895, allocations: 7.984 kB / 450.6 MB, free: 7.082 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005081/0.39, allocations: 23.98 kB / 450.7 MB, free: 7.059 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.649e-05/0.3901, allocations: 32.23 kB / 450.7 MB, free: 7.031 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.999e-05/0.3901, allocations: 19.8 kB / 450.7 MB, free: 7.016 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0001935/0.3903, allocations: 194.4 kB / 450.9 MB, free: 6.867 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007341/0.3911, allocations: 128 kB / 451 MB, free: 6.742 MB / 330.7 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 () * 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.0003265/0.3914, allocations: 158.3 kB / 451.2 MB, free: 6.578 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009944/0.3924, allocations: 473.4 kB / 451.6 MB, free: 6.234 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.3924, allocations: 0 / 451.6 MB, free: 6.234 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004966/0.3929, allocations: 315.1 kB / 451.9 MB, free: 5.988 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003807/0.3933, allocations: 34.67 kB / 452 MB, free: 5.965 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001869/0.3952, allocations: 0.7188 MB / 452.7 MB, free: 5.305 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000577/0.3958, allocations: 0.8314 MB / 453.5 MB, free: 4.445 MB / 330.7 MB Notification: Performance of SimCode: time 4.11e-07/0.3958, allocations: 0 / 453.5 MB, free: 4.445 MB / 330.7 MB Notification: Performance of Templates: time 0.0144/0.4102, allocations: 7.852 MB / 461.4 MB, free: 12.66 MB / 346.7 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.sim & ./Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1)