Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_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.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor") translateModel(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.001581/0.001581, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 193.3 kB / 16.53 MB, free: 6.391 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.348/1.348, allocations: 205.1 MB / 222.4 MB, free: 4.551 MB / 174.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.001176/0.001176, allocations: 51.92 kB / 278.7 MB, free: 12.37 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2318/0.2329, allocations: 46.64 MB / 325.3 MB, free: 1.852 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor): time 0.003452/0.2364, allocations: 2.674 MB / 328 MB, free: 15.75 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001361/0.2378, allocations: 0.9041 MB / 328.9 MB, free: 15.01 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001318/0.238, allocations: 4.75 kB / 328.9 MB, free: 15.01 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002737/0.2383, allocations: 62.28 kB / 328.9 MB, free: 14.96 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002771/0.2385, allocations: 110.2 kB / 329.1 MB, free: 14.87 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002382/0.2388, allocations: 94.5 kB / 329.1 MB, free: 14.79 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003759/0.2392, allocations: 352 kB / 329.5 MB, free: 14.59 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002201/0.2394, allocations: 103 kB / 329.6 MB, free: 14.54 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00019/0.2396, allocations: 138 kB / 329.7 MB, free: 14.45 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002003/0.2398, allocations: 153.7 kB / 329.9 MB, free: 14.34 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.698e-05/0.2399, allocations: 28.88 kB / 329.9 MB, free: 14.34 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.735e-05/0.2399, allocations: 29.66 kB / 329.9 MB, free: 14.34 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.464e-05/0.24, allocations: 67.72 kB / 330 MB, free: 14.29 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000166/0.2402, allocations: 161.1 kB / 330.2 MB, free: 14.17 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003511/0.2405, allocations: 357.3 kB / 330.5 MB, free: 13.9 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.2406, allocations: 1.156 kB / 330.5 MB, free: 13.9 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.2406, allocations: 0 / 330.5 MB, free: 13.9 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.2406, allocations: 0 / 330.5 MB, free: 13.9 MB / 270.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.0009881/0.2416, allocations: 0.6004 MB / 331.1 MB, free: 13.37 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.2416, allocations: 14.61 kB / 331.1 MB, free: 13.36 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.565e-05/0.2417, allocations: 31 kB / 331.2 MB, free: 13.35 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002639/0.242, allocations: 260.8 kB / 331.4 MB, free: 13.08 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.972e-05/0.242, allocations: 24.22 kB / 331.4 MB, free: 13.07 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.569e-05/0.2421, allocations: 26.38 kB / 331.5 MB, free: 13.06 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004707/0.2425, allocations: 249 kB / 331.7 MB, free: 12.9 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.2426, allocations: 0 / 331.7 MB, free: 12.9 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.015e-05/0.2426, allocations: 11.44 kB / 331.7 MB, free: 12.89 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.2426, allocations: 6.094 kB / 331.7 MB, free: 12.89 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004367/0.243, allocations: 214.5 kB / 331.9 MB, free: 12.8 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001479/0.2445, allocations: 0.9992 MB / 332.9 MB, free: 11.93 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004307/0.245, allocations: 209.8 kB / 333.1 MB, free: 11.82 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002434/0.2452, allocations: 117.1 kB / 333.2 MB, free: 11.76 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.859e-05/0.2453, allocations: 6.156 kB / 333.3 MB, free: 11.75 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.2453, allocations: 35.66 kB / 333.3 MB, free: 11.71 MB / 270.1 MB Notification: Performance of pre-optimization done (n=23): time 1.433e-06/0.2453, allocations: 1.031 kB / 333.3 MB, free: 11.71 MB / 270.1 MB Notification: Performance of matching and sorting (n=35): time 0.004893/0.2502, allocations: 1.539 MB / 334.8 MB, free: 10.09 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.051e-05/0.2503, allocations: 59.34 kB / 334.9 MB, free: 10.02 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001972/0.2505, allocations: 225 kB / 335.1 MB, free: 9.793 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.558e-05/0.2505, allocations: 29.7 kB / 335.1 MB, free: 9.758 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.995e-05/0.2506, allocations: 184.1 kB / 335.3 MB, free: 9.574 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.583e-05/0.2507, allocations: 122.2 kB / 335.4 MB, free: 9.453 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.2508, allocations: 66.06 kB / 335.5 MB, free: 9.379 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 9.78e-05/0.2509, allocations: 338.8 kB / 335.8 MB, free: 9.039 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002257/0.2511, allocations: 108.7 kB / 335.9 MB, free: 8.934 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002502/0.2514, allocations: 157.3 kB / 336.1 MB, free: 8.766 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004738/0.2519, allocations: 283.8 kB / 336.4 MB, free: 8.473 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.2519, allocations: 0 / 336.4 MB, free: 8.473 MB / 270.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001481/0.2534, allocations: 0.5448 MB / 336.9 MB, free: 7.914 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.2534, allocations: 4.625 kB / 336.9 MB, free: 7.91 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.2534, allocations: 4 kB / 336.9 MB, free: 7.906 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001223/0.2546, allocations: 241.4 kB / 337.2 MB, free: 7.664 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002592/0.2549, allocations: 55.97 kB / 337.2 MB, free: 7.609 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004466/0.2594, allocations: 4.141 MB / 341.3 MB, free: 3.188 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002233/0.2596, allocations: 15.98 kB / 341.4 MB, free: 3.172 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.225e-05/0.2596, allocations: 8 kB / 341.4 MB, free: 3.164 MB / 270.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.0001514/0.2598, allocations: 161.8 kB / 341.5 MB, free: 2.996 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.169e-05/0.2599, allocations: 23.72 kB / 341.6 MB, free: 2.973 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.775e-05/0.2599, allocations: 42.95 kB / 341.6 MB, free: 2.93 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.26, allocations: 4 kB / 341.6 MB, free: 2.926 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.26, allocations: 0 / 341.6 MB, free: 2.926 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.26, allocations: 7.984 kB / 341.6 MB, free: 2.918 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001948/0.2619, allocations: 0.9803 MB / 342.6 MB, free: 1.871 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.2619, allocations: 0 / 342.6 MB, free: 1.871 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002129/0.2622, allocations: 43.97 kB / 342.6 MB, free: 1.828 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00114/0.2633, allocations: 245.5 kB / 342.9 MB, free: 1.582 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.483e-05/0.2634, allocations: 7.984 kB / 342.9 MB, free: 1.574 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004268/0.2676, allocations: 4.122 MB / 347 MB, free: 13.18 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.2677, allocations: 4.031 kB / 347 MB, free: 13.17 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001749/0.2694, allocations: 0.7287 MB / 347.7 MB, free: 12.41 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.703e-05/0.2695, allocations: 96.89 kB / 347.8 MB, free: 12.3 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.831e-05/0.2695, allocations: 11.94 kB / 347.8 MB, free: 12.29 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002305/0.2698, allocations: 19.98 kB / 347.9 MB, free: 12.27 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.193e-05/0.2699, allocations: 27.95 kB / 347.9 MB, free: 12.24 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-05/0.2699, allocations: 11.98 kB / 347.9 MB, free: 12.23 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001447/0.2701, allocations: 168.5 kB / 348.1 MB, free: 12.07 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2701, allocations: 0 / 348.1 MB, free: 12.07 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006205/0.2707, allocations: 100 kB / 348.2 MB, free: 11.97 MB / 286.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.0001381/0.2708, allocations: 103.2 kB / 348.3 MB, free: 11.86 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0009883/0.2718, allocations: 0.5789 MB / 348.8 MB, free: 11.25 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.2718, allocations: 0 / 348.8 MB, free: 11.25 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005466/0.2724, allocations: 429.1 kB / 349.3 MB, free: 10.8 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003285/0.2727, allocations: 24.09 kB / 349.3 MB, free: 10.79 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001222/0.274, allocations: 0.705 MB / 350 MB, free: 10.05 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003103/0.2743, allocations: 0.7876 MB / 350.8 MB, free: 9.242 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001059/0.2744, allocations: 18.28 kB / 350.8 MB, free: 9.227 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.931e-05/0.2745, allocations: 19.44 kB / 350.8 MB, free: 9.207 MB / 286.1 MB Notification: Performance of SimCode: time 2.61e-07/0.2745, allocations: 4 kB / 350.8 MB, free: 9.203 MB / 286.1 MB Notification: Performance of Templates: time 0.009412/0.2839, allocations: 5.404 MB / 356.2 MB, free: 3.797 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.sim & ./Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe 2>&1)