Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.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.SaturatedInductor,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor") translateModel(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 106.4 kB / 17.06 MB, free: 6.027 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.001254/0.001254, allocations: 195 kB / 18 MB, free: 5.105 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.396/1.396, allocations: 205.1 MB / 223.9 MB, free: 12.24 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.001283/0.001283, allocations: 51.92 kB / 327.8 MB, free: 3.316 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1098, allocations: 46.62 MB / 374.5 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor): time 0.004719/0.1146, allocations: 2.667 MB / 377.1 MB, free: 1.906 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0015/0.1161, allocations: 0.9041 MB / 378 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001539/0.1163, allocations: 4 kB / 378 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003041/0.1166, allocations: 67.42 kB / 378.1 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002924/0.1169, allocations: 99.19 kB / 378.2 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002473/0.1172, allocations: 107.7 kB / 378.3 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003727/0.1175, allocations: 338.7 kB / 378.6 MB, free: 396 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002131/0.1178, allocations: 117.6 kB / 378.8 MB, free: 276 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001947/0.118, allocations: 139.5 kB / 378.9 MB, free: 136 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.222/0.3399, allocations: 143.6 kB / 379 MB, free: 10.03 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001642/0.3401, allocations: 29.62 kB / 379.1 MB, free: 10.03 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001291/0.3403, allocations: 30.16 kB / 379.1 MB, free: 10.03 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.529e-05/0.3404, allocations: 69.5 kB / 379.2 MB, free: 10.03 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000248/0.3406, allocations: 154.4 kB / 379.3 MB, free: 10.03 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007001/0.3413, allocations: 358.2 kB / 379.7 MB, free: 9.992 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.3414, allocations: 1.375 kB / 379.7 MB, free: 9.992 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3414, allocations: 0.8125 kB / 379.7 MB, free: 9.992 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.912e-05/0.3414, allocations: 0 / 379.7 MB, free: 9.992 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.001368/0.3428, allocations: 0.6032 MB / 380.3 MB, free: 9.551 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.3428, allocations: 14.98 kB / 380.3 MB, free: 9.547 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001135/0.343, allocations: 40.53 kB / 380.3 MB, free: 9.523 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004971/0.3435, allocations: 260.2 kB / 380.6 MB, free: 9.301 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.499e-05/0.3435, allocations: 20.27 kB / 380.6 MB, free: 9.301 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.625e-05/0.3436, allocations: 27.66 kB / 380.6 MB, free: 9.301 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006608/0.3442, allocations: 253 kB / 380.9 MB, free: 9.266 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.178e-05/0.3443, allocations: 4.594 kB / 380.9 MB, free: 9.262 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.186e-05/0.3443, allocations: 9.375 kB / 380.9 MB, free: 9.262 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.299e-05/0.3443, allocations: 7.125 kB / 380.9 MB, free: 9.262 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006899/0.345, allocations: 208.6 kB / 381.1 MB, free: 9.258 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002754/0.3478, allocations: 1.005 MB / 382.1 MB, free: 8.75 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007091/0.3485, allocations: 203.2 kB / 382.3 MB, free: 8.727 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003423/0.3489, allocations: 112.6 kB / 382.4 MB, free: 8.719 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.723e-05/0.3489, allocations: 4.281 kB / 382.4 MB, free: 8.719 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.243e-05/0.349, allocations: 36.55 kB / 382.4 MB, free: 8.68 MB / 318.1 MB Notification: Performance of pre-optimization done (n=23): time 2.184e-06/0.349, allocations: 0.5312 kB / 382.4 MB, free: 8.68 MB / 318.1 MB Notification: Performance of matching and sorting (n=35): time 0.005449/0.3544, allocations: 1.537 MB / 384 MB, free: 8.203 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/0.3545, allocations: 60.45 kB / 384 MB, free: 8.137 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002776/0.3548, allocations: 227 kB / 384.3 MB, free: 8.031 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.397e-05/0.3548, allocations: 37.83 kB / 384.3 MB, free: 7.996 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.3549, allocations: 184.5 kB / 384.5 MB, free: 7.871 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.435e-05/0.355, allocations: 124.4 kB / 384.6 MB, free: 7.793 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001263/0.3552, allocations: 62.55 kB / 384.7 MB, free: 7.773 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.02e-05/0.3553, allocations: 338.3 kB / 385 MB, free: 7.457 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002569/0.3555, allocations: 104.5 kB / 385.1 MB, free: 7.422 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002869/0.3558, allocations: 164.2 kB / 385.3 MB, free: 7.328 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004869/0.3563, allocations: 277.1 kB / 385.5 MB, free: 7.18 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.3563, allocations: 1.094 kB / 385.5 MB, free: 7.18 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001719/0.3581, allocations: 0.5343 MB / 386.1 MB, free: 6.969 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/0.3581, allocations: 4.969 kB / 386.1 MB, free: 6.969 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/0.3581, allocations: 2.703 kB / 386.1 MB, free: 6.969 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001314/0.3594, allocations: 244.5 kB / 386.3 MB, free: 6.906 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002813/0.3597, allocations: 60.56 kB / 386.4 MB, free: 6.902 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004404/0.3641, allocations: 4.138 MB / 390.5 MB, free: 3.309 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002447/0.3644, allocations: 17.73 kB / 390.5 MB, free: 3.297 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.873e-05/0.3644, allocations: 10.36 kB / 390.5 MB, free: 3.297 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001629/0.3646, allocations: 151.5 kB / 390.7 MB, free: 3.156 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.605e-05/0.3647, allocations: 25.48 kB / 390.7 MB, free: 3.145 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.058e-05/0.3648, allocations: 38.06 kB / 390.7 MB, free: 3.117 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.3648, allocations: 4.281 kB / 390.7 MB, free: 3.117 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-05/0.3648, allocations: 6.188 kB / 390.8 MB, free: 3.113 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.3648, allocations: 1.266 kB / 390.8 MB, free: 3.113 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002242/0.3671, allocations: 0.9792 MB / 391.7 MB, free: 2.547 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.3671, allocations: 1.375 kB / 391.7 MB, free: 2.547 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000229/0.3673, allocations: 39.75 kB / 391.8 MB, free: 2.547 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001268/0.3686, allocations: 241.2 kB / 392 MB, free: 2.488 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.031e-05/0.3686, allocations: 7.656 kB / 392 MB, free: 2.484 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004527/0.3732, allocations: 4.135 MB / 396.1 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.3732, allocations: 7.922 kB / 396.2 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001928/0.3751, allocations: 0.7284 MB / 396.9 MB, free: 14.5 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.399e-05/0.3752, allocations: 103.6 kB / 397 MB, free: 14.39 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.847e-05/0.3753, allocations: 10.75 kB / 397 MB, free: 14.39 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002365/0.3755, allocations: 16.69 kB / 397 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.505e-05/0.3756, allocations: 28.23 kB / 397 MB, free: 14.38 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-05/0.3757, allocations: 10.84 kB / 397.1 MB, free: 14.37 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.00017/0.3758, allocations: 163 kB / 397.2 MB, free: 14.27 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3758, allocations: 0 / 397.2 MB, free: 14.27 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006564/0.3765, allocations: 103.6 kB / 397.3 MB, free: 14.25 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (coil.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001579/0.3767, allocations: 106.1 kB / 397.4 MB, free: 14.16 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001231/0.3779, allocations: 0.5663 MB / 398 MB, free: 13.8 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.3779, allocations: 0 / 398 MB, free: 13.8 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006873/0.3786, allocations: 437.8 kB / 398.4 MB, free: 13.49 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003836/0.379, allocations: 23.91 kB / 398.4 MB, free: 13.48 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00168/0.3807, allocations: 0.6941 MB / 399.1 MB, free: 13.07 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005256/0.3812, allocations: 0.7773 MB / 399.9 MB, free: 12.37 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001164/0.3814, allocations: 28.08 kB / 399.9 MB, free: 12.37 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.591e-05/0.3814, allocations: 18.39 kB / 399.9 MB, free: 12.36 MB / 334.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3814, allocations: 0 / 399.9 MB, free: 12.36 MB / 334.1 MB Notification: Performance of Templates: time 0.01266/0.3941, allocations: 5.658 MB / 405.6 MB, free: 10.85 MB / 334.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.sim & ./Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe 2>&1)