Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.001155/0.001155, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001216/0.001216, allocations: 196.3 kB / 16.14 MB, free: 6.734 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.405/1.405, allocations: 205.1 MB / 222 MB, free: 4.77 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.00189/0.00189, allocations: 52.3 kB / 278.1 MB, free: 12.76 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2472/0.2491, allocations: 46.63 MB / 324.7 MB, free: 1.926 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005127/0.2543, allocations: 4.139 MB / 328.8 MB, free: 14.66 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003435/0.2577, allocations: 1.666 MB / 330.5 MB, free: 13.32 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000197/0.2579, allocations: 11.31 kB / 330.5 MB, free: 13.32 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002132/0.2601, allocations: 0.9527 MB / 331.5 MB, free: 12.62 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005876/0.2607, allocations: 196.5 kB / 331.7 MB, free: 12.46 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001535/0.2623, allocations: 0.7699 MB / 332.4 MB, free: 11.89 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005944/0.2629, allocations: 0.5863 MB / 333 MB, free: 11.55 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007104/0.2636, allocations: 456.8 kB / 333.5 MB, free: 11.27 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003382/0.2639, allocations: 255.8 kB / 333.7 MB, free: 11.11 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000357/0.2643, allocations: 326.7 kB / 334 MB, free: 10.79 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 7.301e-05/0.2644, allocations: 40 kB / 334.1 MB, free: 10.75 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004927/0.2649, allocations: 251.7 kB / 334.3 MB, free: 10.5 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001013/0.265, allocations: 119.5 kB / 334.4 MB, free: 10.38 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002468/0.2652, allocations: 294.5 kB / 334.7 MB, free: 10.09 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008914/0.2661, allocations: 0.8877 MB / 335.6 MB, free: 9.203 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/0.2662, allocations: 7.984 kB / 335.6 MB, free: 9.195 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2662, allocations: 4 kB / 335.6 MB, free: 9.191 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.2662, allocations: 0 / 335.6 MB, free: 9.191 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.003439/0.2696, allocations: 1.194 MB / 336.8 MB, free: 7.945 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.2697, allocations: 12.03 kB / 336.8 MB, free: 7.934 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001089/0.2708, allocations: 180 kB / 337 MB, free: 7.758 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002116/0.271, allocations: 240.2 kB / 337.2 MB, free: 7.484 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.32e-05/0.271, allocations: 54.38 kB / 337.3 MB, free: 7.434 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.832e-05/0.2711, allocations: 64.38 kB / 337.3 MB, free: 7.371 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001208/0.2724, allocations: 0.7038 MB / 338 MB, free: 6.648 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.725e-05/0.2724, allocations: 11.84 kB / 338.1 MB, free: 6.637 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.966e-05/0.2725, allocations: 28 kB / 338.1 MB, free: 6.609 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.534e-05/0.2725, allocations: 16 kB / 338.1 MB, free: 6.594 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001269/0.2738, allocations: 0.6023 MB / 338.7 MB, free: 5.988 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003193/0.277, allocations: 2.32 MB / 341 MB, free: 3.523 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001588/0.2786, allocations: 1.621 MB / 342.6 MB, free: 1.676 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000532/0.2791, allocations: 275.3 kB / 342.9 MB, free: 1.398 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001363/0.2793, allocations: 101.6 kB / 343 MB, free: 1.281 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.392e-05/0.2793, allocations: 39.16 kB / 343.1 MB, free: 1.234 MB / 270.1 MB Notification: Performance of pre-optimization done (n=66): time 4.188e-06/0.2793, allocations: 3.984 kB / 343.1 MB, free: 1.23 MB / 270.1 MB Notification: Performance of matching and sorting (n=66): time 0.001608/0.281, allocations: 0.7016 MB / 343.8 MB, free: 0.5234 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.372e-05/0.281, allocations: 115.3 kB / 343.9 MB, free: 396 kB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000267/0.2813, allocations: 260.9 kB / 344.1 MB, free: 128 kB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.332e-05/0.2814, allocations: 33.83 kB / 344.2 MB, free: 88 kB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001675/0.2815, allocations: 268 kB / 344.4 MB, free: 15.82 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001604/0.2817, allocations: 224.7 kB / 344.6 MB, free: 15.6 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001846/0.2819, allocations: 118.6 kB / 344.8 MB, free: 15.48 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.282, allocations: 342.8 kB / 345.1 MB, free: 15.13 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000484/0.2825, allocations: 209.9 kB / 345.3 MB, free: 14.93 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005452/0.2831, allocations: 305.4 kB / 345.6 MB, free: 14.61 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001031/0.2841, allocations: 0.5142 MB / 346.1 MB, free: 14.07 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.2841, allocations: 0 / 346.1 MB, free: 14.07 MB / 286.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001326/0.2855, allocations: 0.6334 MB / 346.7 MB, free: 13.43 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.2855, allocations: 4 kB / 346.7 MB, free: 13.42 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.2855, allocations: 0 / 346.7 MB, free: 13.42 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/0.2855, allocations: 8 kB / 346.8 MB, free: 13.41 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007179/0.2863, allocations: 155.8 kB / 346.9 MB, free: 13.26 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.366e-05/0.2863, allocations: 7.938 kB / 346.9 MB, free: 13.25 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005017/0.2868, allocations: 79.53 kB / 347 MB, free: 13.18 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.82e-05/0.2869, allocations: 24 kB / 347 MB, free: 13.15 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.0002602/0.2871, allocations: 189.6 kB / 347.2 MB, free: 12.96 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.2872, allocations: 43.47 kB / 347.2 MB, free: 12.91 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001319/0.2886, allocations: 0.5968 MB / 347.8 MB, free: 12.31 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.818e-06/0.2886, allocations: 12 kB / 347.8 MB, free: 12.3 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.2886, allocations: 0 / 347.8 MB, free: 12.3 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.2886, allocations: 3.984 kB / 347.9 MB, free: 12.3 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002074/0.2907, allocations: 1.296 MB / 349.1 MB, free: 10.94 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.2907, allocations: 4 kB / 349.2 MB, free: 10.94 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005632/0.2913, allocations: 123.9 kB / 349.3 MB, free: 10.82 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.2913, allocations: 4 kB / 349.3 MB, free: 10.81 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.697e-05/0.2913, allocations: 15.94 kB / 349.3 MB, free: 10.8 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-05/0.2913, allocations: 11.92 kB / 349.3 MB, free: 10.79 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/0.2914, allocations: 0 / 349.3 MB, free: 10.79 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001656/0.293, allocations: 0.9743 MB / 350.3 MB, free: 9.793 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.202e-05/0.2931, allocations: 124.6 kB / 350.4 MB, free: 9.652 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.024e-05/0.2932, allocations: 15.91 kB / 350.4 MB, free: 9.637 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004072/0.2936, allocations: 27.92 kB / 350.4 MB, free: 9.609 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.2937, allocations: 44.56 kB / 350.5 MB, free: 9.566 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.414e-05/0.2938, allocations: 19.98 kB / 350.5 MB, free: 9.547 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001818/0.2939, allocations: 188.5 kB / 350.7 MB, free: 9.363 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2939, allocations: 4 kB / 350.7 MB, free: 9.359 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005513/0.2945, allocations: 171.5 kB / 350.9 MB, free: 9.191 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.0002412/0.2948, allocations: 147.1 kB / 351 MB, free: 9.039 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001125/0.2959, allocations: 0.5351 MB / 351.5 MB, free: 8.508 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2959, allocations: 0 / 351.5 MB, free: 8.508 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005236/0.2964, allocations: 271.1 kB / 351.8 MB, free: 8.242 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004915/0.2969, allocations: 48.36 kB / 351.9 MB, free: 8.191 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0021/0.299, allocations: 1.336 MB / 353.2 MB, free: 6.828 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003872/0.2994, allocations: 0.8424 MB / 354 MB, free: 5.961 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0004173/0.2999, allocations: 79.41 kB / 354.1 MB, free: 5.879 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001429/0.3, allocations: 43.42 kB / 354.2 MB, free: 5.84 MB / 286.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3, allocations: 3.938 kB / 354.2 MB, free: 5.836 MB / 286.1 MB Notification: Performance of Templates: time 0.008972/0.309, allocations: 4.832 MB / 359 MB, free: 1 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile (rm -f Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & ./Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1)