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.001021/0.001021, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001118/0.001118, allocations: 189.6 kB / 16.25 MB, free: 6.633 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.384/1.384, allocations: 205.1 MB / 222.1 MB, free: 4.699 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.00149/0.00149, allocations: 43.94 kB / 278.2 MB, free: 12.67 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2458/0.2473, allocations: 46.62 MB / 324.9 MB, free: 1.941 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.006257/0.2536, allocations: 4.138 MB / 329 MB, free: 14.68 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002957/0.2566, allocations: 1.653 MB / 330.6 MB, free: 13.34 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002268/0.2569, allocations: 11.88 kB / 330.7 MB, free: 13.34 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002241/0.2591, allocations: 0.9519 MB / 331.6 MB, free: 12.65 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005457/0.2597, allocations: 199.2 kB / 331.8 MB, free: 12.49 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001497/0.2612, allocations: 0.7509 MB / 332.6 MB, free: 11.93 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006384/0.2619, allocations: 0.6118 MB / 333.2 MB, free: 11.57 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008224/0.2627, allocations: 0.5517 MB / 333.7 MB, free: 11.21 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000336/0.263, allocations: 267 kB / 334 MB, free: 10.95 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003631/0.2634, allocations: 334.6 kB / 334.3 MB, free: 10.62 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.685e-05/0.2635, allocations: 52 kB / 334.4 MB, free: 10.57 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004977/0.264, allocations: 275.7 kB / 334.6 MB, free: 10.3 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.347e-05/0.2641, allocations: 127.5 kB / 334.8 MB, free: 10.18 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002367/0.2643, allocations: 306.5 kB / 335.1 MB, free: 9.875 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008922/0.2652, allocations: 0.8995 MB / 336 MB, free: 8.973 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2652, allocations: 4 kB / 336 MB, free: 8.969 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.2653, allocations: 0 / 336 MB, free: 8.969 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.036e-05/0.2653, allocations: 0 / 336 MB, free: 8.969 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.003381/0.2687, allocations: 1.206 MB / 337.2 MB, free: 7.715 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.2687, allocations: 15.89 kB / 337.2 MB, free: 7.699 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001084/0.2698, allocations: 183.9 kB / 337.4 MB, free: 7.52 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002108/0.27, allocations: 244.2 kB / 337.6 MB, free: 7.242 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.098e-05/0.2701, allocations: 50.38 kB / 337.6 MB, free: 7.191 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/0.2702, allocations: 72.36 kB / 337.7 MB, free: 7.121 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001204/0.2714, allocations: 0.6999 MB / 338.4 MB, free: 6.406 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.526e-05/0.2714, allocations: 7.906 kB / 338.4 MB, free: 6.398 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.91e-05/0.2715, allocations: 28 kB / 338.5 MB, free: 6.371 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.658e-05/0.2715, allocations: 16 kB / 338.5 MB, free: 6.355 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001228/0.2728, allocations: 0.6062 MB / 339.1 MB, free: 5.746 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003274/0.2761, allocations: 2.312 MB / 341.4 MB, free: 3.289 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001561/0.2776, allocations: 1.626 MB / 343 MB, free: 1.434 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005279/0.2782, allocations: 279.3 kB / 343.3 MB, free: 1.152 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001257/0.2783, allocations: 97.64 kB / 343.4 MB, free: 1.039 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.2784, allocations: 43.12 kB / 343.4 MB, free: 0.9883 MB / 270.1 MB Notification: Performance of pre-optimization done (n=66): time 2.525e-06/0.2784, allocations: 4 kB / 343.4 MB, free: 0.9844 MB / 270.1 MB Notification: Performance of matching and sorting (n=66): time 0.001575/0.2799, allocations: 0.6977 MB / 344.1 MB, free: 288 kB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.798e-05/0.28, allocations: 115.4 kB / 344.2 MB, free: 148 kB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002771/0.2803, allocations: 253.1 kB / 344.5 MB, free: 15.88 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.928e-05/0.2804, allocations: 41.7 kB / 344.5 MB, free: 15.84 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001585/0.2805, allocations: 268 kB / 344.8 MB, free: 15.57 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001575/0.2807, allocations: 224.6 kB / 345 MB, free: 15.35 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001823/0.2809, allocations: 118.6 kB / 345.1 MB, free: 15.23 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.281, allocations: 346.8 kB / 345.5 MB, free: 14.88 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004602/0.2815, allocations: 209.9 kB / 345.7 MB, free: 14.68 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005192/0.282, allocations: 301.4 kB / 346 MB, free: 14.36 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001012/0.283, allocations: 0.5142 MB / 346.5 MB, free: 13.82 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.2831, allocations: 4 kB / 346.5 MB, free: 13.82 MB / 286.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001232/0.2843, allocations: 0.6295 MB / 347.1 MB, free: 13.18 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.2843, allocations: 8 kB / 347.1 MB, free: 13.17 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.2843, allocations: 0 / 347.1 MB, free: 13.17 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.2844, allocations: 4 kB / 347.1 MB, free: 13.17 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007587/0.2851, allocations: 163.8 kB / 347.3 MB, free: 13.01 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/0.2852, allocations: 8.188 kB / 347.3 MB, free: 13 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000493/0.2857, allocations: 75.34 kB / 347.4 MB, free: 12.93 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.202e-05/0.2857, allocations: 20 kB / 347.4 MB, free: 12.91 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.0002561/0.286, allocations: 189.6 kB / 347.6 MB, free: 12.71 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.088e-05/0.2861, allocations: 43.52 kB / 347.6 MB, free: 12.67 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001334/0.2874, allocations: 0.6007 MB / 348.2 MB, free: 12.06 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/0.2874, allocations: 8 kB / 348.2 MB, free: 12.05 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.2874, allocations: 0 / 348.2 MB, free: 12.05 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.2874, allocations: 3.984 kB / 348.2 MB, free: 12.05 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002092/0.2895, allocations: 1.296 MB / 349.5 MB, free: 10.7 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.2896, allocations: 4 kB / 349.5 MB, free: 10.69 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005912/0.2902, allocations: 127.8 kB / 349.6 MB, free: 10.57 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.206e-05/0.2902, allocations: 4 kB / 349.6 MB, free: 10.56 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.941e-05/0.2903, allocations: 15.94 kB / 349.7 MB, free: 10.55 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.374e-06/0.2903, allocations: 7.938 kB / 349.7 MB, free: 10.54 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.2903, allocations: 3.984 kB / 349.7 MB, free: 10.54 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001684/0.292, allocations: 0.9782 MB / 350.7 MB, free: 9.539 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/0.2921, allocations: 116.6 kB / 350.8 MB, free: 9.406 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.653e-05/0.2922, allocations: 19.89 kB / 350.8 MB, free: 9.387 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004088/0.2926, allocations: 35.98 kB / 350.8 MB, free: 9.352 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/0.2927, allocations: 40.5 kB / 350.9 MB, free: 9.312 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.476e-05/0.2928, allocations: 16 kB / 350.9 MB, free: 9.297 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002192/0.293, allocations: 192.5 kB / 351.1 MB, free: 9.109 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.293, allocations: 0 / 351.1 MB, free: 9.109 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006498/0.2936, allocations: 175.5 kB / 351.2 MB, free: 8.938 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.0003076/0.294, allocations: 143.1 kB / 351.4 MB, free: 8.789 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.00144/0.2954, allocations: 0.5624 MB / 351.9 MB, free: 8.23 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.2954, allocations: 0 / 351.9 MB, free: 8.23 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005125/0.2959, allocations: 275 kB / 352.2 MB, free: 7.961 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004963/0.2965, allocations: 48.78 kB / 352.3 MB, free: 7.91 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00235/0.2988, allocations: 1.336 MB / 353.6 MB, free: 6.543 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004192/0.2992, allocations: 0.8421 MB / 354.4 MB, free: 5.68 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0004155/0.2997, allocations: 87.38 kB / 354.5 MB, free: 5.59 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001361/0.2998, allocations: 43.42 kB / 354.6 MB, free: 5.551 MB / 286.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2998, allocations: 0 / 354.6 MB, free: 5.551 MB / 286.1 MB Notification: Performance of Templates: time 0.009596/0.3094, allocations: 5.043 MB / 359.6 MB, free: 0.5039 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)