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.001618/0.001618, allocations: 113.9 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001986/0.001986, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.369/1.369, allocations: 227.4 MB / 247.6 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 63.89 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2121/0.2133, allocations: 50.55 MB / 409.9 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.003586/0.2169, allocations: 2.832 MB / 412.8 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001797/0.2187, allocations: 1.289 MB / 414.1 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000142/0.2189, allocations: 4 kB / 414.1 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000242/0.2191, allocations: 67.42 kB / 414.1 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000505/0.2197, allocations: 230.6 kB / 414.4 MB, free: 13.14 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002682/0.2199, allocations: 135.8 kB / 414.5 MB, free: 13 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004145/0.2204, allocations: 467 kB / 414.9 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001564/0.2205, allocations: 84.5 kB / 415 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000257/0.2208, allocations: 183.4 kB / 415.2 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002793/0.2211, allocations: 223.1 kB / 415.4 MB, free: 12.06 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.602e-05/0.2212, allocations: 40 kB / 415.5 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002624/0.2214, allocations: 171.9 kB / 415.6 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.943e-05/0.2215, allocations: 95.72 kB / 415.7 MB, free: 11.76 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001457/0.2217, allocations: 187 kB / 415.9 MB, free: 11.58 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004872/0.2221, allocations: 0.5114 MB / 416.4 MB, free: 11.07 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2222, allocations: 0 / 416.4 MB, free: 11.07 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.2222, allocations: 0 / 416.4 MB, free: 11.07 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.2222, allocations: 0 / 416.4 MB, free: 11.07 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.001513/0.2237, allocations: 0.7016 MB / 417.1 MB, free: 10.32 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.2237, allocations: 11.97 kB / 417.1 MB, free: 10.3 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000187/0.2239, allocations: 44.55 kB / 417.2 MB, free: 10.26 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000424/0.2244, allocations: 333.2 kB / 417.5 MB, free: 9.895 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.714e-05/0.2244, allocations: 54.81 kB / 417.6 MB, free: 9.836 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001509/0.2246, allocations: 32.5 kB / 417.6 MB, free: 9.805 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005903/0.2252, allocations: 328.4 kB / 417.9 MB, free: 9.465 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.2252, allocations: 0 / 417.9 MB, free: 9.465 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.335e-05/0.2253, allocations: 12 kB / 417.9 MB, free: 9.453 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/0.2253, allocations: 11.94 kB / 417.9 MB, free: 9.441 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006507/0.2259, allocations: 302 kB / 418.2 MB, free: 9.148 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00159/0.2275, allocations: 1.156 MB / 419.4 MB, free: 7.914 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005697/0.2281, allocations: 285.1 kB / 419.7 MB, free: 7.617 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003211/0.2285, allocations: 177.5 kB / 419.8 MB, free: 7.438 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.363e-05/0.2285, allocations: 4 kB / 419.8 MB, free: 7.434 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/0.2285, allocations: 38.56 kB / 419.9 MB, free: 7.387 MB / 334.1 MB Notification: Performance of pre-optimization done (n=31): time 1.583e-06/0.2285, allocations: 0 / 419.9 MB, free: 7.387 MB / 334.1 MB Notification: Performance of matching and sorting (n=42): time 0.009008/0.2375, allocations: 2.418 MB / 422.3 MB, free: 4.891 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.558e-05/0.2376, allocations: 85.11 kB / 422.4 MB, free: 4.789 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003099/0.2379, allocations: 292.9 kB / 422.7 MB, free: 4.496 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.694e-05/0.238, allocations: 37.7 kB / 422.7 MB, free: 4.453 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.437e-05/0.2381, allocations: 160.4 kB / 422.9 MB, free: 4.293 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001038/0.2382, allocations: 153.8 kB / 423 MB, free: 4.141 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000141/0.2383, allocations: 78.11 kB / 423.1 MB, free: 4.055 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.2384, allocations: 342.8 kB / 423.4 MB, free: 3.711 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004014/0.2388, allocations: 164.7 kB / 423.6 MB, free: 3.551 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004219/0.2393, allocations: 230.7 kB / 423.8 MB, free: 3.309 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008185/0.2401, allocations: 399.8 kB / 424.2 MB, free: 2.898 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.2401, allocations: 3.938 kB / 424.2 MB, free: 2.895 MB / 334.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001033/0.2412, allocations: 496.2 kB / 424.7 MB, free: 2.402 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.2412, allocations: 4 kB / 424.7 MB, free: 2.398 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.2412, allocations: 4 kB / 424.7 MB, free: 2.395 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.2412, allocations: 4 kB / 424.7 MB, free: 2.391 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006017/0.2418, allocations: 116 kB / 424.8 MB, free: 2.277 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/0.2418, allocations: 4 kB / 424.8 MB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003794/0.2422, allocations: 35.97 kB / 424.8 MB, free: 2.238 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.95e-05/0.2423, allocations: 12 kB / 424.9 MB, free: 2.227 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.0001578/0.2424, allocations: 161.6 kB / 425 MB, free: 2.059 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.617e-05/0.2425, allocations: 35.62 kB / 425.1 MB, free: 2.023 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001855/0.2444, allocations: 0.6447 MB / 425.7 MB, free: 1.371 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.2444, allocations: 0 / 425.7 MB, free: 1.371 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.2444, allocations: 3.938 kB / 425.7 MB, free: 1.367 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001585/0.2446, allocations: 152.7 kB / 425.8 MB, free: 1.199 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.232e-05/0.2447, allocations: 8 kB / 425.9 MB, free: 1.191 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004403/0.2451, allocations: 23.98 kB / 425.9 MB, free: 1.168 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.41e-05/0.2452, allocations: 40.39 kB / 425.9 MB, free: 1.129 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002362/0.2476, allocations: 0.8195 MB / 426.7 MB, free: 300 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00155/0.2492, allocations: 0.9386 MB / 427.7 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004264/0.2496, allocations: 207.4 kB / 427.9 MB, free: 15.14 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002012/0.2498, allocations: 212.5 kB / 428.1 MB, free: 14.93 MB / 350.1 MB Notification: Performance of Backend: time 4.41e-07/0.2498, allocations: 4 kB / 428.1 MB, free: 14.93 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001085/0.2509, allocations: 378.1 kB / 428.5 MB, free: 14.55 MB / 350.1 MB Notification: Performance of SimCode: time 0.001445/0.2524, allocations: 1.354 MB / 429.8 MB, free: 13.14 MB / 350.1 MB Notification: Performance of Templates: time 0.01028/0.2627, allocations: 6.019 MB / 435.8 MB, free: 7.145 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)