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.00152/0.00152, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001801/0.001801, allocations: 195.7 kB / 16.26 MB, free: 6.621 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.408/1.408, allocations: 205.1 MB / 222.1 MB, free: 4.734 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.001313/0.001313, allocations: 48.36 kB / 278.2 MB, free: 12.67 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2449/0.2462, allocations: 46.63 MB / 324.9 MB, free: 2.062 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005048/0.2513, allocations: 4.154 MB / 329 MB, free: 14.78 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00292/0.2542, allocations: 1.644 MB / 330.7 MB, free: 13.46 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004363/0.2547, allocations: 15.81 kB / 330.7 MB, free: 13.45 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002298/0.257, allocations: 0.9452 MB / 331.6 MB, free: 12.77 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008937/0.2579, allocations: 199.3 kB / 331.8 MB, free: 12.61 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001727/0.2597, allocations: 0.7423 MB / 332.6 MB, free: 12.05 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001141/0.2608, allocations: 0.6157 MB / 333.2 MB, free: 11.7 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001054/0.2619, allocations: 0.5487 MB / 333.7 MB, free: 11.33 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005561/0.2625, allocations: 270.9 kB / 334 MB, free: 11.07 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004937/0.263, allocations: 338.6 kB / 334.3 MB, free: 10.73 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001179/0.2631, allocations: 52 kB / 334.4 MB, free: 10.68 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006624/0.2638, allocations: 267.7 kB / 334.6 MB, free: 10.42 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001191/0.2639, allocations: 131.6 kB / 334.8 MB, free: 10.29 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003375/0.2642, allocations: 310.5 kB / 335.1 MB, free: 9.988 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001067/0.2653, allocations: 0.9072 MB / 336 MB, free: 9.078 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2653, allocations: 0 / 336 MB, free: 9.078 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.2653, allocations: 3.938 kB / 336 MB, free: 9.074 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.955e-05/0.2654, allocations: 0 / 336 MB, free: 9.074 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.003671/0.269, allocations: 1.202 MB / 337.2 MB, free: 7.824 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.2691, allocations: 11.89 kB / 337.2 MB, free: 7.812 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001152/0.2702, allocations: 180 kB / 337.4 MB, free: 7.637 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002743/0.2705, allocations: 240.2 kB / 337.6 MB, free: 7.363 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.595e-05/0.2706, allocations: 54.38 kB / 337.6 MB, free: 7.309 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001403/0.2708, allocations: 68.31 kB / 337.7 MB, free: 7.242 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001407/0.2722, allocations: 0.6999 MB / 338.4 MB, free: 6.527 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.139e-05/0.2722, allocations: 7.906 kB / 338.4 MB, free: 6.52 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.634e-05/0.2723, allocations: 28 kB / 338.4 MB, free: 6.492 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.604e-05/0.2723, allocations: 16 kB / 338.5 MB, free: 6.477 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001309/0.2736, allocations: 0.6022 MB / 339.1 MB, free: 5.871 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003468/0.2771, allocations: 2.324 MB / 341.4 MB, free: 3.402 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001578/0.2787, allocations: 1.633 MB / 343 MB, free: 1.539 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005052/0.2792, allocations: 267.4 kB / 343.3 MB, free: 1.27 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001347/0.2794, allocations: 97.66 kB / 343.4 MB, free: 1.156 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.626e-05/0.2794, allocations: 43.12 kB / 343.4 MB, free: 1.105 MB / 270.1 MB Notification: Performance of pre-optimization done (n=66): time 2.234e-06/0.2794, allocations: 0 / 343.4 MB, free: 1.105 MB / 270.1 MB Notification: Performance of matching and sorting (n=66): time 0.001529/0.281, allocations: 0.7015 MB / 344.1 MB, free: 408 kB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.199e-05/0.281, allocations: 111.4 kB / 344.2 MB, free: 272 kB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000259/0.2813, allocations: 257 kB / 344.5 MB, free: 4 kB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 5.845e-05/0.2814, allocations: 41.7 kB / 344.5 MB, free: 15.96 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001626/0.2815, allocations: 267.9 kB / 344.8 MB, free: 15.69 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001756/0.2817, allocations: 220.8 kB / 345 MB, free: 15.47 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001946/0.2819, allocations: 118.6 kB / 345.1 MB, free: 15.35 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.2821, allocations: 346.8 kB / 345.5 MB, free: 15 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004874/0.2826, allocations: 209.9 kB / 345.7 MB, free: 14.8 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005428/0.2831, allocations: 305.3 kB / 346 MB, free: 14.48 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009832/0.2841, allocations: 0.5103 MB / 346.5 MB, free: 13.94 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.171e-06/0.2841, allocations: 4 kB / 346.5 MB, free: 13.94 MB / 286.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001278/0.2854, allocations: 0.6334 MB / 347.1 MB, free: 13.3 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/0.2854, allocations: 8 kB / 347.1 MB, free: 13.29 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.467e-06/0.2855, allocations: 0 / 347.1 MB, free: 13.29 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/0.2855, allocations: 4 kB / 347.1 MB, free: 13.29 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007396/0.2862, allocations: 156 kB / 347.3 MB, free: 13.13 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.68e-05/0.2863, allocations: 12 kB / 347.3 MB, free: 13.12 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005058/0.2868, allocations: 71.34 kB / 347.3 MB, free: 13.05 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.948e-05/0.2868, allocations: 24 kB / 347.4 MB, free: 13.03 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.0002518/0.2871, allocations: 189.6 kB / 347.6 MB, free: 12.83 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001059/0.2872, allocations: 39.53 kB / 347.6 MB, free: 12.79 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001324/0.2885, allocations: 0.6046 MB / 348.2 MB, free: 12.18 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-05/0.2886, allocations: 8 kB / 348.2 MB, free: 12.18 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.2886, allocations: 0 / 348.2 MB, free: 12.18 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.285e-06/0.2886, allocations: 3.984 kB / 348.2 MB, free: 12.17 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002302/0.2909, allocations: 1.3 MB / 349.5 MB, free: 10.81 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.453e-06/0.2909, allocations: 0 / 349.5 MB, free: 10.81 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005861/0.2915, allocations: 135.7 kB / 349.6 MB, free: 10.68 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.039e-05/0.2915, allocations: 4 kB / 349.6 MB, free: 10.68 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.455e-05/0.2916, allocations: 15.98 kB / 349.7 MB, free: 10.66 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.581e-06/0.2916, allocations: 3.938 kB / 349.7 MB, free: 10.66 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.2916, allocations: 4 kB / 349.7 MB, free: 10.65 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001814/0.2934, allocations: 0.9705 MB / 350.6 MB, free: 9.664 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001285/0.2936, allocations: 124.6 kB / 350.8 MB, free: 9.523 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.367e-05/0.2936, allocations: 15.91 kB / 350.8 MB, free: 9.508 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004181/0.2941, allocations: 31.98 kB / 350.8 MB, free: 9.477 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001217/0.2942, allocations: 44.44 kB / 350.9 MB, free: 9.434 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.632e-05/0.2942, allocations: 19.98 kB / 350.9 MB, free: 9.414 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002011/0.2944, allocations: 188.5 kB / 351.1 MB, free: 9.23 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2944, allocations: 0 / 351.1 MB, free: 9.23 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006109/0.2951, allocations: 171.5 kB / 351.2 MB, free: 9.062 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.0002931/0.2954, allocations: 151.1 kB / 351.4 MB, free: 8.906 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001538/0.2969, allocations: 0.5662 MB / 351.9 MB, free: 8.344 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.2969, allocations: 0 / 351.9 MB, free: 8.344 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005371/0.2975, allocations: 271.1 kB / 352.2 MB, free: 8.078 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005777/0.2981, allocations: 48.86 kB / 352.3 MB, free: 8.027 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002785/0.3009, allocations: 1.332 MB / 353.6 MB, free: 6.664 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000477/0.3014, allocations: 0.846 MB / 354.4 MB, free: 5.797 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0004287/0.3018, allocations: 83.39 kB / 354.5 MB, free: 5.711 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001381/0.3019, allocations: 47.42 kB / 354.6 MB, free: 5.668 MB / 286.1 MB Notification: Performance of SimCode: time 8.92e-07/0.3019, allocations: 0 / 354.6 MB, free: 5.668 MB / 286.1 MB Notification: Performance of Templates: time 0.01027/0.3122, allocations: 5.047 MB / 359.6 MB, free: 0.6172 MB / 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)