Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor") translateModel(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.0008582/0.0008583, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005157/0.005157, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.39/1.39, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.0004397/0.0004398, allocations: 16 kB / 279.4 MB, free: 12.51 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2447/0.2451, allocations: 47.58 MB / 327 MB, free: 1.434 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor): time 0.002752/0.2479, allocations: 2.354 MB / 329.4 MB, free: 15.58 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001303/0.2493, allocations: 0.841 MB / 330.2 MB, free: 14.9 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001266/0.2494, allocations: 3.469 kB / 330.2 MB, free: 14.9 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002377/0.2496, allocations: 50.69 kB / 330.3 MB, free: 14.86 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002649/0.2499, allocations: 90.67 kB / 330.4 MB, free: 14.79 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002295/0.2502, allocations: 87.09 kB / 330.4 MB, free: 14.71 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003585/0.2505, allocations: 330.6 kB / 330.8 MB, free: 14.53 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000201/0.2507, allocations: 92.55 kB / 330.9 MB, free: 14.48 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001846/0.2509, allocations: 124.5 kB / 331 MB, free: 14.41 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001904/0.2511, allocations: 140.4 kB / 331.1 MB, free: 14.31 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.469e-05/0.2512, allocations: 15.56 kB / 331.1 MB, free: 14.31 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.081e-05/0.2512, allocations: 15.75 kB / 331.1 MB, free: 14.31 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.633e-05/0.2513, allocations: 51.14 kB / 331.2 MB, free: 14.27 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001437/0.2514, allocations: 166.4 kB / 331.4 MB, free: 14.14 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003181/0.2518, allocations: 338.8 kB / 331.7 MB, free: 13.89 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2518, allocations: 0 / 331.7 MB, free: 13.89 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.956e-06/0.2518, allocations: 1 kB / 331.7 MB, free: 13.89 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.2518, allocations: 0 / 331.7 MB, free: 13.89 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.0009435/0.2528, allocations: 0.5539 MB / 332.2 MB, free: 13.39 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.2528, allocations: 13.62 kB / 332.3 MB, free: 13.38 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.11e-05/0.2529, allocations: 33.28 kB / 332.3 MB, free: 13.37 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002884/0.2532, allocations: 260.4 kB / 332.5 MB, free: 13.1 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.976e-05/0.2532, allocations: 24.56 kB / 332.6 MB, free: 13.08 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.101e-05/0.2533, allocations: 24.81 kB / 332.6 MB, free: 13.07 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004888/0.2538, allocations: 258.5 kB / 332.8 MB, free: 12.92 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.2538, allocations: 0 / 332.8 MB, free: 12.92 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.925e-05/0.2538, allocations: 9.812 kB / 332.9 MB, free: 12.91 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/0.2538, allocations: 7.219 kB / 332.9 MB, free: 12.91 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004656/0.2543, allocations: 221.5 kB / 333.1 MB, free: 12.81 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001515/0.2558, allocations: 1.001 MB / 334.1 MB, free: 11.95 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004433/0.2563, allocations: 215.4 kB / 334.3 MB, free: 11.83 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002701/0.2566, allocations: 113 kB / 334.4 MB, free: 11.78 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.855e-05/0.2566, allocations: 3.281 kB / 334.4 MB, free: 11.78 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/0.2566, allocations: 31.75 kB / 334.4 MB, free: 11.74 MB / 270.1 MB Notification: Performance of pre-optimization done (n=23): time 1.644e-06/0.2567, allocations: 5.219 kB / 334.4 MB, free: 11.73 MB / 270.1 MB Notification: Performance of matching and sorting (n=35): time 0.005117/0.2618, allocations: 1.552 MB / 336 MB, free: 10.11 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.02e-05/0.2618, allocations: 59.34 kB / 336.1 MB, free: 10.04 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002157/0.2621, allocations: 232.9 kB / 336.3 MB, free: 9.801 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.925e-05/0.2621, allocations: 29.7 kB / 336.3 MB, free: 9.766 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.2622, allocations: 184.1 kB / 336.5 MB, free: 9.582 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.231e-05/0.2623, allocations: 118.3 kB / 336.6 MB, free: 9.465 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.612e-05/0.2624, allocations: 37.7 kB / 336.6 MB, free: 9.422 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.2625, allocations: 334.8 kB / 337 MB, free: 9.086 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002463/0.2627, allocations: 112.7 kB / 337.1 MB, free: 8.973 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002703/0.263, allocations: 161.3 kB / 337.2 MB, free: 8.801 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000526/0.2636, allocations: 299.7 kB / 337.5 MB, free: 8.492 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2636, allocations: 0 / 337.5 MB, free: 8.492 MB / 270.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001615/0.2652, allocations: 0.5448 MB / 338.1 MB, free: 7.934 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.2652, allocations: 8 kB / 338.1 MB, free: 7.926 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.2652, allocations: 3.984 kB / 338.1 MB, free: 7.922 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001447/0.2667, allocations: 253.4 kB / 338.3 MB, free: 7.668 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002608/0.267, allocations: 59.91 kB / 338.4 MB, free: 7.609 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004439/0.2714, allocations: 3.759 MB / 342.2 MB, free: 3.578 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002118/0.2716, allocations: 8.031 kB / 342.2 MB, free: 3.57 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.501e-05/0.2717, allocations: 20.06 kB / 342.2 MB, free: 3.551 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.0001444/0.2718, allocations: 137.8 kB / 342.3 MB, free: 3.406 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.189e-05/0.2719, allocations: 27.66 kB / 342.3 MB, free: 3.379 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001102/0.272, allocations: 46.95 kB / 342.4 MB, free: 3.332 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.272, allocations: 7.938 kB / 342.4 MB, free: 3.324 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.272, allocations: 0 / 342.4 MB, free: 3.324 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.272, allocations: 3.984 kB / 342.4 MB, free: 3.32 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002094/0.2741, allocations: 0.9921 MB / 343.4 MB, free: 2.262 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.2741, allocations: 3.984 kB / 343.4 MB, free: 2.258 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002021/0.2744, allocations: 39.97 kB / 343.4 MB, free: 2.219 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001381/0.2757, allocations: 261.4 kB / 343.7 MB, free: 1.957 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.378e-05/0.2758, allocations: 11.98 kB / 343.7 MB, free: 1.945 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004411/0.2802, allocations: 3.737 MB / 347.4 MB, free: 13.94 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.2802, allocations: 3.984 kB / 347.4 MB, free: 13.94 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001813/0.282, allocations: 0.7368 MB / 348.2 MB, free: 13.17 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.475e-05/0.2821, allocations: 104.8 kB / 348.3 MB, free: 13.05 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.373e-05/0.2821, allocations: 7.938 kB / 348.3 MB, free: 13.04 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002246/0.2824, allocations: 20.05 kB / 348.3 MB, free: 13.02 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.94e-05/0.2825, allocations: 35.89 kB / 348.3 MB, free: 12.99 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-05/0.2825, allocations: 4 kB / 348.3 MB, free: 12.98 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001433/0.2827, allocations: 168.5 kB / 348.5 MB, free: 12.82 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2827, allocations: 0 / 348.5 MB, free: 12.82 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005554/0.2832, allocations: 104 kB / 348.6 MB, free: 12.72 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.0001286/0.2834, allocations: 99.25 kB / 348.7 MB, free: 12.61 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0009503/0.2843, allocations: 0.5711 MB / 349.3 MB, free: 12.01 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.2843, allocations: 0 / 349.3 MB, free: 12.01 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005532/0.2849, allocations: 425.1 kB / 349.7 MB, free: 11.57 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003648/0.2853, allocations: 36.73 kB / 349.7 MB, free: 11.54 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001243/0.2865, allocations: 0.8864 MB / 350.6 MB, free: 10.62 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003179/0.2869, allocations: 0.7799 MB / 351.4 MB, free: 9.809 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 9.551e-05/0.287, allocations: 14.3 kB / 351.4 MB, free: 9.797 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.309e-05/0.287, allocations: 23.44 kB / 351.4 MB, free: 9.773 MB / 286.1 MB Notification: Performance of SimCode: time 3.21e-07/0.287, allocations: 0 / 351.4 MB, free: 9.773 MB / 286.1 MB Notification: Performance of Templates: time 0.00945/0.2965, allocations: 5.228 MB / 356.7 MB, free: 4.547 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.makefile (rm -f Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.sim & ./Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.FluxTubes.Examples.SaturatedInductor.pipe 2>&1)