Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis,tolerance=0.0001,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding.i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis,tolerance=0.0001,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding.i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001547/0.001547, allocations: 112.1 kB / 18.46 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001614/0.001614, allocations: 206.8 kB / 19.41 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.304/1.304, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001114/0.001114, allocations: 59.89 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2155/0.2166, allocations: 50.54 MB / 409.9 MB, free: 1.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.003637/0.2203, allocations: 2.843 MB / 412.8 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001741/0.222, allocations: 1.277 MB / 414.1 MB, free: 13.6 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001228/0.2222, allocations: 4 kB / 414.1 MB, free: 13.6 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002325/0.2224, allocations: 71.34 kB / 414.1 MB, free: 13.53 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004869/0.2229, allocations: 234.7 kB / 414.4 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002456/0.2232, allocations: 127.7 kB / 414.5 MB, free: 13.17 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003938/0.2236, allocations: 463 kB / 414.9 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001523/0.2237, allocations: 89.95 kB / 415 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000243/0.224, allocations: 191.4 kB / 415.2 MB, free: 12.44 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002569/0.2243, allocations: 215.2 kB / 415.4 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.228e-05/0.2243, allocations: 44 kB / 415.5 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002838/0.2246, allocations: 171.9 kB / 415.6 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.619e-05/0.2247, allocations: 87.67 kB / 415.7 MB, free: 11.93 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001599/0.2249, allocations: 191.1 kB / 415.9 MB, free: 11.74 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005014/0.2254, allocations: 0.5139 MB / 416.4 MB, free: 11.23 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2254, allocations: 0 / 416.4 MB, free: 11.23 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2254, allocations: 0 / 416.4 MB, free: 11.23 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.2254, allocations: 0 / 416.4 MB, free: 11.23 MB / 334.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.001542/0.227, allocations: 0.7054 MB / 417.1 MB, free: 10.47 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.227, allocations: 16.03 kB / 417.1 MB, free: 10.46 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001879/0.2272, allocations: 44.55 kB / 417.2 MB, free: 10.41 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004226/0.2276, allocations: 333.2 kB / 417.5 MB, free: 10.05 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.671e-05/0.2277, allocations: 50.81 kB / 417.6 MB, free: 9.992 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001482/0.2279, allocations: 36.5 kB / 417.6 MB, free: 9.957 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005926/0.2285, allocations: 320.5 kB / 417.9 MB, free: 9.625 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.2285, allocations: 4 kB / 417.9 MB, free: 9.621 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.444e-05/0.2285, allocations: 8 kB / 417.9 MB, free: 9.613 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.2285, allocations: 11.94 kB / 417.9 MB, free: 9.602 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006605/0.2292, allocations: 306 kB / 418.2 MB, free: 9.305 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001628/0.2308, allocations: 1.148 MB / 419.4 MB, free: 8.078 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005786/0.2314, allocations: 295.3 kB / 419.7 MB, free: 7.773 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003218/0.2318, allocations: 165.6 kB / 419.8 MB, free: 7.605 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.328e-05/0.2318, allocations: 7.984 kB / 419.8 MB, free: 7.598 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.381e-05/0.2318, allocations: 38.56 kB / 419.9 MB, free: 7.551 MB / 334.1 MB Notification: Performance of pre-optimization done (n=31): time 1.603e-06/0.2318, allocations: 0 / 419.9 MB, free: 7.551 MB / 334.1 MB Notification: Performance of matching and sorting (n=42): time 0.009239/0.2411, allocations: 2.426 MB / 422.3 MB, free: 5.047 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.175e-05/0.2411, allocations: 81.11 kB / 422.4 MB, free: 4.949 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003101/0.2415, allocations: 292.9 kB / 422.7 MB, free: 4.656 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.098e-05/0.2415, allocations: 33.7 kB / 422.7 MB, free: 4.617 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.46e-05/0.2416, allocations: 164.4 kB / 422.9 MB, free: 4.453 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001032/0.2417, allocations: 153.8 kB / 423 MB, free: 4.301 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001401/0.2419, allocations: 78.11 kB / 423.1 MB, free: 4.215 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.242, allocations: 338.8 kB / 423.4 MB, free: 3.875 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003996/0.2424, allocations: 160.8 kB / 423.6 MB, free: 3.719 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004209/0.2428, allocations: 230.7 kB / 423.8 MB, free: 3.477 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000826/0.2436, allocations: 403.8 kB / 424.2 MB, free: 3.062 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.2437, allocations: 3.938 kB / 424.2 MB, free: 3.059 MB / 334.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001004/0.2447, allocations: 492.2 kB / 424.7 MB, free: 2.57 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.2447, allocations: 4 kB / 424.7 MB, free: 2.566 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.2447, allocations: 4 kB / 424.7 MB, free: 2.562 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.2447, allocations: 4 kB / 424.7 MB, free: 2.559 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006081/0.2453, allocations: 120 kB / 424.8 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.304e-05/0.2454, allocations: 4 kB / 424.8 MB, free: 2.438 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003983/0.2458, allocations: 39.95 kB / 424.8 MB, free: 2.398 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.483e-05/0.2458, allocations: 16 kB / 424.9 MB, free: 2.383 MB / 334.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.0001548/0.246, allocations: 153.7 kB / 425 MB, free: 2.223 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.889e-05/0.2461, allocations: 31.62 kB / 425 MB, free: 2.191 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001842/0.2479, allocations: 0.6525 MB / 425.7 MB, free: 1.531 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.2479, allocations: 3.938 kB / 425.7 MB, free: 1.527 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.248, allocations: 4 kB / 425.7 MB, free: 1.523 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001608/0.2481, allocations: 148.7 kB / 425.9 MB, free: 1.359 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.969e-05/0.2482, allocations: 16 kB / 425.9 MB, free: 1.344 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004426/0.2486, allocations: 19.98 kB / 425.9 MB, free: 1.324 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.772e-05/0.2487, allocations: 32.39 kB / 425.9 MB, free: 1.293 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002395/0.2511, allocations: 0.8274 MB / 426.7 MB, free: 460 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001512/0.2527, allocations: 0.9348 MB / 427.7 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004174/0.2531, allocations: 211.3 kB / 427.9 MB, free: 15.3 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001967/0.2533, allocations: 216.5 kB / 428.1 MB, free: 15.08 MB / 350.1 MB Notification: Performance of Backend: time 5.31e-07/0.2533, allocations: 0 / 428.1 MB, free: 15.08 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00107/0.2544, allocations: 385.3 kB / 428.5 MB, free: 14.7 MB / 350.1 MB Notification: Performance of SimCode: time 0.001359/0.2558, allocations: 1.347 MB / 429.8 MB, free: 13.3 MB / 350.1 MB Notification: Performance of Templates: time 0.009932/0.2657, allocations: 6.02 MB / 435.8 MB, free: 7.301 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1)