Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_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="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.1_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.007519/0.007519, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001492/0.001492, allocations: 196.7 kB / 16.67 MB, free: 5.52 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.4/1.4, allocations: 205.1 MB / 222.5 MB, free: 12.25 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.00131/0.00131, allocations: 48.41 kB / 326.5 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09199/0.09331, allocations: 46.62 MB / 373.2 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.003883/0.09724, allocations: 2.753 MB / 375.9 MB, free: 1.805 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001894/0.09915, allocations: 1.285 MB / 377.2 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001498/0.09932, allocations: 4 kB / 377.2 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002923/0.09963, allocations: 63.44 kB / 377.3 MB, free: 452 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005931/0.1002, allocations: 234.7 kB / 377.5 MB, free: 216 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002556/0.1005, allocations: 115.8 kB / 377.6 MB, free: 100 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.2025/0.303, allocations: 457.3 kB / 378.1 MB, free: 9.895 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002316/0.3033, allocations: 87.84 kB / 378.1 MB, free: 9.883 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002966/0.3036, allocations: 187.3 kB / 378.3 MB, free: 9.875 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002796/0.3039, allocations: 220.7 kB / 378.5 MB, free: 9.84 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.756e-05/0.3039, allocations: 40.53 kB / 378.6 MB, free: 9.84 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004032/0.3044, allocations: 167 kB / 378.7 MB, free: 9.84 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.374e-05/0.3045, allocations: 90.47 kB / 378.8 MB, free: 9.828 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001627/0.3046, allocations: 183 kB / 379 MB, free: 9.781 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005781/0.3052, allocations: 0.5048 MB / 379.5 MB, free: 9.73 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.3052, allocations: 0 / 379.5 MB, free: 9.73 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.153e-06/0.3052, allocations: 0 / 379.5 MB, free: 9.73 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.103e-06/0.3052, allocations: 0 / 379.5 MB, free: 9.73 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.001531/0.3068, allocations: 0.707 MB / 380.2 MB, free: 9.266 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.3068, allocations: 14.19 kB / 380.2 MB, free: 9.262 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.933e-05/0.3069, allocations: 38.84 kB / 380.3 MB, free: 9.242 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000474/0.3074, allocations: 327.2 kB / 380.6 MB, free: 9.012 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.819e-05/0.3075, allocations: 51.11 kB / 380.6 MB, free: 8.98 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001729/0.3077, allocations: 38.16 kB / 380.7 MB, free: 8.977 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006351/0.3083, allocations: 331 kB / 381 MB, free: 8.91 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/0.3083, allocations: 0 / 381 MB, free: 8.91 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.114e-05/0.3084, allocations: 10.03 kB / 381 MB, free: 8.91 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.3084, allocations: 7.797 kB / 381 MB, free: 8.91 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006651/0.3091, allocations: 303.9 kB / 381.3 MB, free: 8.906 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001645/0.3107, allocations: 1.147 MB / 382.5 MB, free: 8.344 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006042/0.3113, allocations: 296.8 kB / 382.8 MB, free: 8.293 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003159/0.3117, allocations: 163 kB / 382.9 MB, free: 8.246 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.853e-05/0.3117, allocations: 3 kB / 382.9 MB, free: 8.246 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.972e-05/0.3117, allocations: 44.89 kB / 383 MB, free: 8.199 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 1.583e-06/0.3117, allocations: 0 / 383 MB, free: 8.199 MB / 318.1 MB Notification: Performance of matching and sorting (n=42): time 0.009399/0.3211, allocations: 2.422 MB / 385.4 MB, free: 7.262 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.397e-05/0.3212, allocations: 82.62 kB / 385.5 MB, free: 7.168 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003724/0.3216, allocations: 284.9 kB / 385.7 MB, free: 7.004 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.582e-05/0.3216, allocations: 30.92 kB / 385.8 MB, free: 6.969 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.666e-05/0.3217, allocations: 178 kB / 385.9 MB, free: 6.816 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.5e-05/0.3218, allocations: 142.2 kB / 386.1 MB, free: 6.707 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001443/0.322, allocations: 83.73 kB / 386.2 MB, free: 6.66 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.684e-05/0.322, allocations: 340 kB / 386.5 MB, free: 6.336 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004049/0.3225, allocations: 161.8 kB / 386.7 MB, free: 6.281 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004183/0.3229, allocations: 229.9 kB / 386.9 MB, free: 6.156 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007954/0.3237, allocations: 405.2 kB / 387.3 MB, free: 5.953 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.3237, allocations: 5.094 kB / 387.3 MB, free: 5.949 MB / 318.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001016/0.3247, allocations: 486.3 kB / 387.8 MB, free: 5.758 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.3248, allocations: 8.969 kB / 387.8 MB, free: 5.758 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.3248, allocations: 2.094 kB / 387.8 MB, free: 5.758 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.138e-05/0.3248, allocations: 3.312 kB / 387.8 MB, free: 5.758 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006361/0.3254, allocations: 120.5 kB / 387.9 MB, free: 5.75 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/0.3255, allocations: 4.953 kB / 387.9 MB, free: 5.75 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004002/0.3259, allocations: 31.55 kB / 387.9 MB, free: 5.742 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.193e-05/0.3259, allocations: 18.48 kB / 387.9 MB, free: 5.738 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.0001517/0.3261, allocations: 164.6 kB / 388.1 MB, free: 5.59 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.106e-05/0.3262, allocations: 31.47 kB / 388.1 MB, free: 5.574 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00185/0.328, allocations: 0.6573 MB / 388.8 MB, free: 5.312 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.328, allocations: 4.062 kB / 388.8 MB, free: 5.312 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.3281, allocations: 4.625 kB / 388.8 MB, free: 5.312 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.323e-06/0.3281, allocations: 5.719 kB / 388.8 MB, free: 5.309 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003178/0.3313, allocations: 1.276 MB / 390.1 MB, free: 4.664 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.3313, allocations: 1.719 kB / 390.1 MB, free: 4.664 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004688/0.3317, allocations: 91.45 kB / 390.2 MB, free: 4.66 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001681/0.3334, allocations: 267.7 kB / 390.4 MB, free: 4.609 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.166e-05/0.3335, allocations: 13.64 kB / 390.4 MB, free: 4.602 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003763/0.3373, allocations: 2.439 MB / 392.9 MB, free: 2.684 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.3373, allocations: 0.8125 kB / 392.9 MB, free: 2.684 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002164/0.3394, allocations: 1.011 MB / 393.9 MB, free: 2.176 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001605/0.3396, allocations: 147.6 kB / 394 MB, free: 2.043 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.275e-05/0.3397, allocations: 11.78 kB / 394 MB, free: 2.035 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000443/0.3401, allocations: 28.16 kB / 394.1 MB, free: 2.027 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001405/0.3403, allocations: 34.09 kB / 394.1 MB, free: 2.023 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.624e-05/0.3403, allocations: 19.09 kB / 394.1 MB, free: 2.016 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000255/0.3406, allocations: 212.4 kB / 394.3 MB, free: 1.891 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.3406, allocations: 1.344 kB / 394.3 MB, free: 1.891 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006545/0.3413, allocations: 113.5 kB / 394.4 MB, free: 1.875 MB / 318.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002721/0.3415, allocations: 153.3 kB / 394.6 MB, free: 1.773 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009515/0.3425, allocations: 427.4 kB / 395 MB, free: 1.641 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.3425, allocations: 9.25 kB / 395 MB, free: 1.633 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006842/0.3432, allocations: 383.8 kB / 395.4 MB, free: 1.43 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004873/0.3437, allocations: 48.95 kB / 395.4 MB, free: 1.406 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001671/0.3454, allocations: 0.9532 MB / 396.4 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000244/0.3456, allocations: 0.7898 MB / 397.2 MB, free: 140 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001915/0.3458, allocations: 41.31 kB / 397.2 MB, free: 132 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001313/0.346, allocations: 38.09 kB / 397.3 MB, free: 128 kB / 318.1 MB Notification: Performance of SimCode: time 2.8e-07/0.346, allocations: 0 / 397.3 MB, free: 128 kB / 318.1 MB Notification: Performance of Templates: time 0.0118/0.3578, allocations: 6.432 MB / 403.7 MB, free: 13.58 MB / 334.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.sim & ./Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1)