Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.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.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001747/0.001747, 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.001864/0.001864, allocations: 192.9 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.451/1.451, allocations: 205.1 MB / 222.4 MB, free: 4.555 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.001209/0.001209, allocations: 51.91 kB / 278.7 MB, free: 12.36 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2328/0.234, allocations: 46.63 MB / 325.3 MB, free: 1.852 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.004942/0.239, allocations: 4.146 MB / 329.5 MB, free: 14.56 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003018/0.242, allocations: 1.665 MB / 331.1 MB, free: 13.21 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002351/0.2423, allocations: 11.34 kB / 331.1 MB, free: 13.21 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002251/0.2446, allocations: 1.011 MB / 332.2 MB, free: 12.46 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005488/0.2451, allocations: 230.2 kB / 332.4 MB, free: 12.27 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0017/0.2468, allocations: 0.7977 MB / 333.2 MB, free: 11.66 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007691/0.2476, allocations: 0.6143 MB / 333.8 MB, free: 11.3 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007846/0.2484, allocations: 0.4974 MB / 334.3 MB, free: 10.92 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004045/0.2488, allocations: 267 kB / 334.5 MB, free: 10.66 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003905/0.2492, allocations: 338.6 kB / 334.9 MB, free: 10.32 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 7.902e-05/0.2493, allocations: 52 kB / 334.9 MB, free: 10.27 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005631/0.2499, allocations: 271.8 kB / 335.2 MB, free: 10.01 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001306/0.25, allocations: 127.5 kB / 335.3 MB, free: 9.883 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002541/0.2503, allocations: 310.5 kB / 335.6 MB, free: 9.578 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009569/0.2513, allocations: 0.9033 MB / 336.5 MB, free: 8.672 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.2513, allocations: 4 kB / 336.5 MB, free: 8.668 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.2513, allocations: 0 / 336.5 MB, free: 8.668 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.191e-05/0.2513, allocations: 0 / 336.5 MB, free: 8.668 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.003505/0.2548, allocations: 1.202 MB / 337.7 MB, free: 7.418 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.2549, allocations: 11.89 kB / 337.7 MB, free: 7.406 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001106/0.256, allocations: 180 kB / 337.9 MB, free: 7.23 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000239/0.2562, allocations: 236.2 kB / 338.1 MB, free: 6.961 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.255e-05/0.2563, allocations: 50.38 kB / 338.2 MB, free: 6.91 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001097/0.2564, allocations: 68.38 kB / 338.3 MB, free: 6.844 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001305/0.2577, allocations: 0.7038 MB / 339 MB, free: 6.125 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.704e-05/0.2578, allocations: 3.906 kB / 339 MB, free: 6.121 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.216e-05/0.2578, allocations: 32 kB / 339 MB, free: 6.09 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.475e-05/0.2579, allocations: 16 kB / 339 MB, free: 6.074 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001251/0.2591, allocations: 0.6023 MB / 339.6 MB, free: 5.473 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003488/0.2626, allocations: 2.32 MB / 341.9 MB, free: 3.008 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001737/0.2644, allocations: 1.63 MB / 343.6 MB, free: 1.145 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005422/0.2649, allocations: 275.3 kB / 343.8 MB, free: 0.8672 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001508/0.2651, allocations: 97.64 kB / 343.9 MB, free: 0.7539 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.038e-05/0.2651, allocations: 47.12 kB / 344 MB, free: 0.6992 MB / 270.1 MB Notification: Performance of pre-optimization done (n=66): time 2.415e-06/0.2652, allocations: 4 kB / 344 MB, free: 0.6953 MB / 270.1 MB Notification: Performance of matching and sorting (n=66): time 0.001781/0.2669, allocations: 0.7015 MB / 344.7 MB, free: 15.99 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.185e-05/0.267, allocations: 111.4 kB / 344.8 MB, free: 15.86 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003655/0.2674, allocations: 252.9 kB / 345 MB, free: 15.6 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.244e-05/0.2675, allocations: 41.83 kB / 345.1 MB, free: 15.55 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001889/0.2677, allocations: 268 kB / 345.3 MB, free: 15.28 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001797/0.2679, allocations: 220.7 kB / 345.6 MB, free: 15.06 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000201/0.2681, allocations: 118.6 kB / 345.7 MB, free: 14.94 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.2682, allocations: 346.8 kB / 346 MB, free: 14.59 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005009/0.2687, allocations: 205.9 kB / 346.2 MB, free: 14.39 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005681/0.2693, allocations: 309.3 kB / 346.5 MB, free: 14.07 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001066/0.2704, allocations: 0.5142 MB / 347 MB, free: 13.53 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.2704, allocations: 0 / 347 MB, free: 13.53 MB / 286.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001248/0.2717, allocations: 0.6295 MB / 347.7 MB, free: 12.89 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.2717, allocations: 11.94 kB / 347.7 MB, free: 12.88 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.2717, allocations: 0 / 347.7 MB, free: 12.88 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.612e-05/0.2718, allocations: 4 kB / 347.7 MB, free: 12.88 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007156/0.2725, allocations: 159.8 kB / 347.8 MB, free: 12.72 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.2725, allocations: 8.188 kB / 347.8 MB, free: 12.71 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005159/0.273, allocations: 75.34 kB / 347.9 MB, free: 12.64 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.823e-05/0.2731, allocations: 24 kB / 347.9 MB, free: 12.62 MB / 286.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 84 * 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.0002879/0.2734, allocations: 189.6 kB / 348.1 MB, free: 12.42 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000123/0.2735, allocations: 39.53 kB / 348.2 MB, free: 12.38 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001358/0.2749, allocations: 0.6006 MB / 348.8 MB, free: 11.78 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.034e-05/0.2749, allocations: 12 kB / 348.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.2749, allocations: 0 / 348.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.2749, allocations: 3.984 kB / 348.8 MB, free: 11.77 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002086/0.277, allocations: 1.284 MB / 350.1 MB, free: 10.42 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.277, allocations: 8 kB / 350.1 MB, free: 10.41 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005686/0.2776, allocations: 131.8 kB / 350.2 MB, free: 10.29 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.058e-05/0.2776, allocations: 8 kB / 350.2 MB, free: 10.28 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.6e-05/0.2777, allocations: 23.91 kB / 350.2 MB, free: 10.25 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.2777, allocations: 3.938 kB / 350.2 MB, free: 10.25 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.2777, allocations: 4 kB / 350.2 MB, free: 10.25 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00169/0.2794, allocations: 0.9705 MB / 351.2 MB, free: 9.258 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/0.2795, allocations: 120.6 kB / 351.3 MB, free: 9.121 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.876e-05/0.2796, allocations: 15.91 kB / 351.3 MB, free: 9.105 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004051/0.28, allocations: 27.92 kB / 351.4 MB, free: 9.078 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001128/0.2801, allocations: 52.5 kB / 351.4 MB, free: 9.027 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.342e-05/0.2802, allocations: 19.98 kB / 351.4 MB, free: 9.008 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.000201/0.2804, allocations: 188.5 kB / 351.6 MB, free: 8.824 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2804, allocations: 0 / 351.6 MB, free: 8.824 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000591/0.281, allocations: 179.5 kB / 351.8 MB, free: 8.648 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (source.port_p.reference.gamma) * 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 (66): * Single equations (assignments): 66 * 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 Backend phase and start with SimCode phase: time 0.0002506/0.2812, allocations: 131.2 kB / 351.9 MB, free: 8.512 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001473/0.2827, allocations: 0.5662 MB / 352.5 MB, free: 7.941 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.2827, allocations: 0 / 352.5 MB, free: 7.941 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005129/0.2833, allocations: 275.1 kB / 352.8 MB, free: 7.676 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005373/0.2838, allocations: 44.36 kB / 352.8 MB, free: 7.629 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002199/0.286, allocations: 1.09 MB / 353.9 MB, free: 6.508 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005186/0.2866, allocations: 0.8382 MB / 354.7 MB, free: 5.648 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0004378/0.287, allocations: 83.39 kB / 354.8 MB, free: 5.562 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001422/0.2871, allocations: 43.42 kB / 354.9 MB, free: 5.523 MB / 286.1 MB Notification: Performance of SimCode: time 5.91e-07/0.2872, allocations: 3.938 kB / 354.9 MB, free: 5.52 MB / 286.1 MB Notification: Performance of Templates: time 0.01091/0.2981, allocations: 5.114 MB / 360 MB, free: 412 kB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile (rm -f Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & ./Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1)