Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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="mat",numberOfIntervals=10000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding.i",fileNamePrefix="Modelica_3.2.3_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_3.2.3_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.001272/0.001272, allocations: 110.6 kB / 18.4 MB, free: 4.699 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.001222/0.001222, allocations: 190.1 kB / 19.34 MB, free: 3.777 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.272/1.272, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.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.001232/0.001232, allocations: 52.38 kB / 329.2 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07082/0.07206, allocations: 46.61 MB / 375.8 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.003491/0.07558, allocations: 2.765 MB / 378.6 MB, free: 1.801 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001692/0.07728, allocations: 1.282 MB / 379.9 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001168/0.07741, allocations: 4 kB / 379.9 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002229/0.07765, allocations: 63.44 kB / 379.9 MB, free: 452 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004733/0.07813, allocations: 230.7 kB / 380.2 MB, free: 220 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000213/0.07835, allocations: 111.8 kB / 380.3 MB, free: 108 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.1559/0.2343, allocations: 460.7 kB / 380.7 MB, free: 9.898 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000216/0.2345, allocations: 88.19 kB / 380.8 MB, free: 9.887 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002897/0.2348, allocations: 190.1 kB / 381 MB, free: 9.879 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002677/0.2351, allocations: 220.7 kB / 381.2 MB, free: 9.844 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.244e-05/0.2352, allocations: 42.09 kB / 381.2 MB, free: 9.844 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003213/0.2355, allocations: 158.4 kB / 381.4 MB, free: 9.844 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.559e-05/0.2356, allocations: 97.98 kB / 381.5 MB, free: 9.832 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001489/0.2357, allocations: 184.5 kB / 381.7 MB, free: 9.785 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005424/0.2363, allocations: 0.502 MB / 382.2 MB, free: 9.734 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2363, allocations: 1.125 kB / 382.2 MB, free: 9.734 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.2363, allocations: 0 / 382.2 MB, free: 9.734 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.274e-06/0.2363, allocations: 1.375 kB / 382.2 MB, free: 9.734 MB / 318.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.001615/0.2379, allocations: 0.6985 MB / 382.9 MB, free: 9.273 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.238, allocations: 13.56 kB / 382.9 MB, free: 9.27 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001021/0.2381, allocations: 42.12 kB / 382.9 MB, free: 9.246 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004795/0.2386, allocations: 329.4 kB / 383.3 MB, free: 9.016 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.279e-05/0.2387, allocations: 48.98 kB / 383.3 MB, free: 8.984 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001693/0.2388, allocations: 43.27 kB / 383.3 MB, free: 8.98 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006182/0.2395, allocations: 326.1 kB / 383.7 MB, free: 8.914 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.2395, allocations: 1.875 kB / 383.7 MB, free: 8.914 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.363e-05/0.2395, allocations: 10.8 kB / 383.7 MB, free: 8.914 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/0.2395, allocations: 9.859 kB / 383.7 MB, free: 8.914 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006547/0.2402, allocations: 300.5 kB / 384 MB, free: 8.91 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001564/0.2418, allocations: 1.155 MB / 385.1 MB, free: 8.348 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005474/0.2423, allocations: 289.3 kB / 385.4 MB, free: 8.297 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000295/0.2426, allocations: 167 kB / 385.6 MB, free: 8.262 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.282e-05/0.2427, allocations: 3.5 kB / 385.6 MB, free: 8.262 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.534e-05/0.2427, allocations: 37.48 kB / 385.6 MB, free: 8.219 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 1.613e-06/0.2427, allocations: 0 / 385.6 MB, free: 8.219 MB / 318.1 MB Notification: Performance of matching and sorting (n=42): time 0.00916/0.2519, allocations: 2.42 MB / 388 MB, free: 7.281 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.021e-05/0.2519, allocations: 82.17 kB / 388.1 MB, free: 7.188 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002996/0.2522, allocations: 288.6 kB / 388.4 MB, free: 7.02 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.179e-05/0.2523, allocations: 31.95 kB / 388.4 MB, free: 6.984 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.507e-05/0.2523, allocations: 174.8 kB / 388.6 MB, free: 6.832 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.614e-05/0.2524, allocations: 143.8 kB / 388.7 MB, free: 6.723 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001448/0.2526, allocations: 80.2 kB / 388.8 MB, free: 6.68 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.939e-05/0.2526, allocations: 342.2 kB / 389.2 MB, free: 6.352 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000381/0.253, allocations: 160.4 kB / 389.3 MB, free: 6.301 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003938/0.2534, allocations: 232.8 kB / 389.5 MB, free: 6.172 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007454/0.2542, allocations: 406.2 kB / 389.9 MB, free: 5.969 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2542, allocations: 0 / 389.9 MB, free: 5.969 MB / 318.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009416/0.2551, allocations: 491.4 kB / 390.4 MB, free: 5.773 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.2552, allocations: 6.875 kB / 390.4 MB, free: 5.773 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.2552, allocations: 2.25 kB / 390.4 MB, free: 5.773 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.2552, allocations: 3.594 kB / 390.4 MB, free: 5.773 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006191/0.2558, allocations: 117.5 kB / 390.5 MB, free: 5.77 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.2558, allocations: 6.656 kB / 390.5 MB, free: 5.77 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003855/0.2562, allocations: 35.66 kB / 390.6 MB, free: 5.758 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.481e-05/0.2563, allocations: 18.61 kB / 390.6 MB, free: 5.754 MB / 318.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.0001345/0.2564, allocations: 164.4 kB / 390.8 MB, free: 5.605 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.967e-05/0.2565, allocations: 29.88 kB / 390.8 MB, free: 5.59 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001804/0.2583, allocations: 0.65 MB / 391.4 MB, free: 5.336 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.2584, allocations: 6.062 kB / 391.4 MB, free: 5.332 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.2584, allocations: 0.9062 kB / 391.4 MB, free: 5.332 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001315/0.2585, allocations: 148.2 kB / 391.6 MB, free: 5.199 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.707e-05/0.2586, allocations: 10.47 kB / 391.6 MB, free: 5.191 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004405/0.259, allocations: 26.97 kB / 391.6 MB, free: 5.188 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.457e-05/0.2591, allocations: 35.17 kB / 391.7 MB, free: 5.18 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002257/0.2614, allocations: 0.8181 MB / 392.5 MB, free: 4.801 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001408/0.2628, allocations: 0.936 MB / 393.4 MB, free: 4.258 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004128/0.2632, allocations: 205.7 kB / 393.6 MB, free: 4.184 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001763/0.2634, allocations: 212.8 kB / 393.8 MB, free: 4.059 MB / 318.1 MB Notification: Performance of Backend: time 3.61e-07/0.2634, allocations: 0 / 393.8 MB, free: 4.059 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001065/0.2645, allocations: 383.2 kB / 394.2 MB, free: 3.891 MB / 318.1 MB Notification: Performance of SimCode: time 0.001213/0.2657, allocations: 1.349 MB / 395.6 MB, free: 2.891 MB / 318.1 MB Notification: Performance of Templates: time 0.009963/0.2757, allocations: 6.174 MB / 401.7 MB, free: 1 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1)