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.001124/0.001124, allocations: 114.5 kB / 18.41 MB, free: 4.695 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.00111/0.00111, allocations: 186.2 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.294/1.294, 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.001263/0.001263, allocations: 51.92 kB / 329.2 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08438/0.08565, allocations: 46.61 MB / 375.8 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.004338/0.09003, allocations: 2.757 MB / 378.6 MB, free: 1.816 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00218/0.09223, allocations: 1.285 MB / 379.9 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002695/0.09255, allocations: 0 / 379.9 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003311/0.09289, allocations: 75.41 kB / 379.9 MB, free: 456 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007384/0.09364, allocations: 226.7 kB / 380.2 MB, free: 228 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003256/0.09398, allocations: 115.8 kB / 380.3 MB, free: 112 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.1613/0.2553, allocations: 456.9 kB / 380.7 MB, free: 9.91 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001802/0.2555, allocations: 92.02 kB / 380.8 MB, free: 9.898 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002646/0.2557, allocations: 188 kB / 381 MB, free: 9.891 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002655/0.256, allocations: 220.5 kB / 381.2 MB, free: 9.855 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.567e-05/0.2561, allocations: 45.03 kB / 381.2 MB, free: 9.855 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003103/0.2564, allocations: 155.7 kB / 381.4 MB, free: 9.855 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.198e-05/0.2565, allocations: 98.81 kB / 381.5 MB, free: 9.844 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001457/0.2566, allocations: 184.9 kB / 381.7 MB, free: 9.797 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005239/0.2572, allocations: 0.5046 MB / 382.2 MB, free: 9.742 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2572, allocations: 1.375 kB / 382.2 MB, free: 9.742 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.2572, allocations: 0 / 382.2 MB, free: 9.742 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.132e-06/0.2572, allocations: 1.031 kB / 382.2 MB, free: 9.742 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.001511/0.2587, allocations: 0.7006 MB / 382.9 MB, free: 9.281 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.2588, allocations: 9.406 kB / 382.9 MB, free: 9.281 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.817e-05/0.2589, allocations: 38.88 kB / 382.9 MB, free: 9.262 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003981/0.2593, allocations: 332.5 kB / 383.3 MB, free: 9.027 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.534e-05/0.2594, allocations: 51.14 kB / 383.3 MB, free: 8.996 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001645/0.2595, allocations: 41.36 kB / 383.3 MB, free: 8.992 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006435/0.2602, allocations: 321.1 kB / 383.7 MB, free: 8.93 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.2602, allocations: 5.219 kB / 383.7 MB, free: 8.926 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.419e-05/0.2602, allocations: 14.05 kB / 383.7 MB, free: 8.926 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.894e-06/0.2603, allocations: 9.406 kB / 383.7 MB, free: 8.926 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006546/0.2609, allocations: 303.2 kB / 384 MB, free: 8.922 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001531/0.2625, allocations: 1.145 MB / 385.1 MB, free: 8.359 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005638/0.263, allocations: 292 kB / 385.4 MB, free: 8.309 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003091/0.2634, allocations: 163.1 kB / 385.6 MB, free: 8.266 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.306e-05/0.2634, allocations: 6.438 kB / 385.6 MB, free: 8.266 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.605e-05/0.2634, allocations: 41.02 kB / 385.6 MB, free: 8.223 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 1.603e-06/0.2634, allocations: 4 kB / 385.6 MB, free: 8.219 MB / 318.1 MB Notification: Performance of matching and sorting (n=42): time 0.00913/0.2725, allocations: 2.421 MB / 388 MB, free: 7.281 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.328e-05/0.2726, allocations: 81.67 kB / 388.1 MB, free: 7.188 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003028/0.2729, allocations: 284.4 kB / 388.4 MB, free: 7.023 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.588e-05/0.2729, allocations: 38.02 kB / 388.4 MB, free: 6.984 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.59e-05/0.273, allocations: 168.4 kB / 388.6 MB, free: 6.836 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.812e-05/0.2731, allocations: 144.8 kB / 388.7 MB, free: 6.727 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001334/0.2733, allocations: 80.44 kB / 388.8 MB, free: 6.684 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.723e-05/0.2733, allocations: 342.1 kB / 389.2 MB, free: 6.355 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003962/0.2737, allocations: 162.4 kB / 389.3 MB, free: 6.301 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004074/0.2741, allocations: 230.6 kB / 389.5 MB, free: 6.172 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007854/0.2749, allocations: 400.7 kB / 389.9 MB, free: 5.973 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2749, allocations: 1.062 kB / 389.9 MB, free: 5.973 MB / 318.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009737/0.2759, allocations: 496.3 kB / 390.4 MB, free: 5.773 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.2759, allocations: 5.781 kB / 390.4 MB, free: 5.773 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.276, allocations: 1.922 kB / 390.4 MB, free: 5.773 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.276, allocations: 4.531 kB / 390.4 MB, free: 5.773 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006003/0.2766, allocations: 118.3 kB / 390.5 MB, free: 5.77 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.2766, allocations: 2.781 kB / 390.6 MB, free: 5.77 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003881/0.277, allocations: 41.42 kB / 390.6 MB, free: 5.754 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.463e-05/0.277, allocations: 13.36 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.0001368/0.2772, allocations: 164.8 kB / 390.8 MB, free: 5.605 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.268e-05/0.2773, allocations: 30.06 kB / 390.8 MB, free: 5.59 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001751/0.279, allocations: 0.6532 MB / 391.4 MB, free: 5.336 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/0.2791, allocations: 3.562 kB / 391.5 MB, free: 5.336 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.2791, allocations: 9.062 kB / 391.5 MB, free: 5.328 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001317/0.2792, allocations: 146.8 kB / 391.6 MB, free: 5.195 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.526e-05/0.2793, allocations: 6.656 kB / 391.6 MB, free: 5.191 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004312/0.2797, allocations: 30.61 kB / 391.6 MB, free: 5.184 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.087e-05/0.2798, allocations: 32.44 kB / 391.7 MB, free: 5.18 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002246/0.2821, allocations: 0.8164 MB / 392.5 MB, free: 4.805 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001408/0.2835, allocations: 0.9315 MB / 393.4 MB, free: 4.262 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004007/0.2839, allocations: 206.9 kB / 393.6 MB, free: 4.188 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001759/0.2841, allocations: 213.1 kB / 393.8 MB, free: 4.062 MB / 318.1 MB Notification: Performance of Backend: time 1.072e-06/0.2841, allocations: 0 / 393.8 MB, free: 4.062 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001051/0.2851, allocations: 380.9 kB / 394.2 MB, free: 3.895 MB / 318.1 MB Notification: Performance of SimCode: time 0.001211/0.2864, allocations: 1.346 MB / 395.5 MB, free: 2.895 MB / 318.1 MB Notification: Performance of Templates: time 0.009365/0.2957, allocations: 5.97 MB / 401.5 MB, free: 1.148 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)