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.001317/0.001317, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00155/0.00155, allocations: 192.8 kB / 16.14 MB, free: 6.668 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.441/1.441, allocations: 205.1 MB / 222 MB, free: 4.738 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.001222/0.001222, allocations: 51.92 kB / 278.1 MB, free: 12.74 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2245/0.2258, allocations: 46.63 MB / 324.7 MB, free: 1.938 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.004411/0.2302, allocations: 4.137 MB / 328.8 MB, free: 14.67 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002686/0.2329, allocations: 1.666 MB / 330.5 MB, free: 13.33 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001843/0.2331, allocations: 11.66 kB / 330.5 MB, free: 13.33 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002063/0.2352, allocations: 0.9524 MB / 331.5 MB, free: 12.63 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004652/0.2357, allocations: 197.1 kB / 331.6 MB, free: 12.48 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001525/0.2372, allocations: 0.7696 MB / 332.4 MB, free: 11.91 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005651/0.2378, allocations: 0.5821 MB / 333 MB, free: 11.57 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007732/0.2386, allocations: 457.1 kB / 333.4 MB, free: 11.29 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003207/0.2389, allocations: 250.8 kB / 333.7 MB, free: 11.12 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003742/0.2393, allocations: 334.6 kB / 334 MB, free: 10.79 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.814e-05/0.2394, allocations: 40 kB / 334.1 MB, free: 10.75 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000459/0.2398, allocations: 251.7 kB / 334.3 MB, free: 10.5 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.617e-05/0.2399, allocations: 111.5 kB / 334.4 MB, free: 10.39 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000248/0.2402, allocations: 290.5 kB / 334.7 MB, free: 10.11 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008531/0.2411, allocations: 0.8877 MB / 335.6 MB, free: 9.219 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.2411, allocations: 7.984 kB / 335.6 MB, free: 9.211 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.457e-06/0.2411, allocations: 11.94 kB / 335.6 MB, free: 9.199 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.653e-06/0.2411, allocations: 3.938 kB / 335.6 MB, free: 9.195 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.003426/0.2445, allocations: 1.19 MB / 336.8 MB, free: 7.953 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.2446, allocations: 12.03 kB / 336.8 MB, free: 7.941 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001128/0.2457, allocations: 176 kB / 337 MB, free: 7.77 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001832/0.2459, allocations: 252.1 kB / 337.2 MB, free: 7.484 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.166e-05/0.246, allocations: 50.38 kB / 337.3 MB, free: 7.438 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.445e-05/0.2461, allocations: 64.38 kB / 337.3 MB, free: 7.375 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001222/0.2473, allocations: 0.7038 MB / 338 MB, free: 6.652 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.303e-05/0.2473, allocations: 3.906 kB / 338 MB, free: 6.648 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.186e-05/0.2474, allocations: 27.98 kB / 338.1 MB, free: 6.621 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.459e-05/0.2474, allocations: 24 kB / 338.1 MB, free: 6.598 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001259/0.2487, allocations: 0.6062 MB / 338.7 MB, free: 5.988 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003236/0.2519, allocations: 2.316 MB / 341 MB, free: 3.527 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001674/0.2536, allocations: 1.626 MB / 342.6 MB, free: 1.672 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005096/0.2541, allocations: 279.8 kB / 342.9 MB, free: 1.391 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001243/0.2543, allocations: 101.6 kB / 343 MB, free: 1.273 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/0.2543, allocations: 39.12 kB / 343.1 MB, free: 1.227 MB / 270.1 MB Notification: Performance of pre-optimization done (n=66): time 2.054e-06/0.2543, allocations: 0 / 343.1 MB, free: 1.227 MB / 270.1 MB Notification: Performance of matching and sorting (n=66): time 0.001574/0.2559, allocations: 0.7015 MB / 343.8 MB, free: 0.5195 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.241e-05/0.256, allocations: 111.4 kB / 343.9 MB, free: 396 kB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003018/0.2563, allocations: 260.9 kB / 344.1 MB, free: 128 kB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.774e-05/0.2563, allocations: 37.7 kB / 344.2 MB, free: 84 kB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001945/0.2565, allocations: 264.1 kB / 344.4 MB, free: 15.82 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001528/0.2567, allocations: 228.7 kB / 344.6 MB, free: 15.59 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001807/0.2569, allocations: 114.6 kB / 344.8 MB, free: 15.48 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.257, allocations: 342.8 kB / 345.1 MB, free: 15.13 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004808/0.2575, allocations: 217.8 kB / 345.3 MB, free: 14.92 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000536/0.258, allocations: 301.4 kB / 345.6 MB, free: 14.6 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00105/0.2591, allocations: 0.5103 MB / 346.1 MB, free: 14.07 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.2591, allocations: 0 / 346.1 MB, free: 14.07 MB / 286.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001222/0.2603, allocations: 0.6373 MB / 346.7 MB, free: 13.42 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.2603, allocations: 4 kB / 346.7 MB, free: 13.42 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.2604, allocations: 4 kB / 346.7 MB, free: 13.41 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.2604, allocations: 4 kB / 346.8 MB, free: 13.41 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007002/0.2611, allocations: 155.8 kB / 346.9 MB, free: 13.26 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.2611, allocations: 4 kB / 346.9 MB, free: 13.25 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004643/0.2616, allocations: 79.53 kB / 347 MB, free: 13.18 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.273e-05/0.2616, allocations: 20 kB / 347 MB, free: 13.16 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.0002055/0.2618, allocations: 189.7 kB / 347.2 MB, free: 12.96 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.295e-05/0.2619, allocations: 39.52 kB / 347.2 MB, free: 12.92 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00124/0.2632, allocations: 0.6084 MB / 347.8 MB, free: 12.31 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.2632, allocations: 4 kB / 347.8 MB, free: 12.3 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.2632, allocations: 8 kB / 347.9 MB, free: 12.3 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.103e-06/0.2632, allocations: 3.984 kB / 347.9 MB, free: 12.29 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002057/0.2653, allocations: 1.292 MB / 349.1 MB, free: 10.94 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.2653, allocations: 0 / 349.1 MB, free: 10.94 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000569/0.2659, allocations: 131.8 kB / 349.3 MB, free: 10.81 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.2659, allocations: 7.938 kB / 349.3 MB, free: 10.8 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.633e-05/0.2659, allocations: 12 kB / 349.3 MB, free: 10.79 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.133e-06/0.266, allocations: 11.92 kB / 349.3 MB, free: 10.78 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.266, allocations: 0 / 349.3 MB, free: 10.78 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001643/0.2676, allocations: 0.9743 MB / 350.3 MB, free: 9.789 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.046e-05/0.2677, allocations: 120.6 kB / 350.4 MB, free: 9.652 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.48e-05/0.2678, allocations: 19.89 kB / 350.4 MB, free: 9.633 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004103/0.2682, allocations: 31.92 kB / 350.4 MB, free: 9.602 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.2683, allocations: 36.56 kB / 350.5 MB, free: 9.566 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.371e-05/0.2683, allocations: 27.98 kB / 350.5 MB, free: 9.539 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001744/0.2685, allocations: 188.5 kB / 350.7 MB, free: 9.355 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2685, allocations: 0 / 350.7 MB, free: 9.355 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005117/0.269, allocations: 171.5 kB / 350.9 MB, free: 9.188 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.0002186/0.2693, allocations: 139.2 kB / 351 MB, free: 9.043 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001079/0.2704, allocations: 0.539 MB / 351.5 MB, free: 8.508 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.2704, allocations: 0 / 351.5 MB, free: 8.508 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005104/0.2709, 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.0005051/0.2714, allocations: 52.34 kB / 351.9 MB, free: 8.188 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002091/0.2735, allocations: 1.329 MB / 353.2 MB, free: 6.832 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004121/0.2739, allocations: 0.8502 MB / 354 MB, free: 5.957 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0004302/0.2744, allocations: 83.39 kB / 354.1 MB, free: 5.871 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001404/0.2745, allocations: 43.42 kB / 354.2 MB, free: 5.832 MB / 286.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2745, allocations: 0 / 354.2 MB, free: 5.832 MB / 286.1 MB Notification: Performance of Templates: time 0.009045/0.2836, allocations: 4.836 MB / 359 MB, free: 0.9922 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)