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.0009779/0.000978, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.006679/0.006679, allocations: 172.3 kB / 16.26 MB, free: 6.613 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.443/1.443, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.0004827/0.0004829, allocations: 8 kB / 279.5 MB, free: 12.5 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2316/0.2321, allocations: 47.58 MB / 327 MB, free: 1.375 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.003954/0.2361, allocations: 3.72 MB / 330.8 MB, free: 14.43 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003039/0.2392, allocations: 1.641 MB / 332.4 MB, free: 13.11 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002246/0.2394, allocations: 15.88 kB / 332.4 MB, free: 13.1 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000544/0.24, allocations: 216.3 kB / 332.6 MB, free: 12.97 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005279/0.2405, allocations: 195.8 kB / 332.8 MB, free: 12.81 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001588/0.2421, allocations: 0.7506 MB / 333.6 MB, free: 12.26 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008024/0.2429, allocations: 0.59 MB / 334.2 MB, free: 11.91 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001645/0.2446, allocations: 0.9005 MB / 335.1 MB, free: 11.25 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004357/0.245, allocations: 232.3 kB / 335.3 MB, free: 11.07 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003596/0.2454, allocations: 306.6 kB / 335.6 MB, free: 10.77 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.078e-05/0.2455, allocations: 24 kB / 335.6 MB, free: 10.74 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006063/0.2461, allocations: 239.7 kB / 335.8 MB, free: 10.51 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.154e-05/0.2462, allocations: 103.5 kB / 335.9 MB, free: 10.41 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002279/0.2464, allocations: 296.2 kB / 336.2 MB, free: 10.11 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008188/0.2472, allocations: 0.8733 MB / 337.1 MB, free: 9.234 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.2472, allocations: 4 kB / 337.1 MB, free: 9.23 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2472, allocations: 3.938 kB / 337.1 MB, free: 9.227 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.584e-06/0.2473, allocations: 0 / 337.1 MB, free: 9.227 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.003385/0.2506, allocations: 1.093 MB / 338.2 MB, free: 8.082 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.2507, allocations: 11.97 kB / 338.2 MB, free: 8.07 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001134/0.2518, allocations: 176 kB / 338.4 MB, free: 7.898 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002174/0.2521, allocations: 244.2 kB / 338.6 MB, free: 7.621 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.487e-05/0.2521, allocations: 50.38 kB / 338.7 MB, free: 7.574 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001021/0.2522, allocations: 68.38 kB / 338.7 MB, free: 7.508 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001314/0.2535, allocations: 0.7116 MB / 339.5 MB, free: 6.777 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.27e-05/0.2536, allocations: 7.906 kB / 339.5 MB, free: 6.77 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.372e-05/0.2537, allocations: 24 kB / 339.5 MB, free: 6.746 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.536e-05/0.2537, allocations: 16 kB / 339.5 MB, free: 6.73 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001262/0.2549, allocations: 0.6296 MB / 340.1 MB, free: 6.098 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003324/0.2583, allocations: 2.324 MB / 342.5 MB, free: 3.629 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001745/0.26, allocations: 1.641 MB / 344.1 MB, free: 1.758 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005613/0.2606, allocations: 283.3 kB / 344.4 MB, free: 1.473 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001459/0.2608, allocations: 97.64 kB / 344.5 MB, free: 1.359 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.041e-05/0.2608, allocations: 51.06 kB / 344.5 MB, free: 1.301 MB / 270.1 MB Notification: Performance of pre-optimization done (n=66): time 2.314e-06/0.2608, allocations: 0 / 344.5 MB, free: 1.301 MB / 270.1 MB Notification: Performance of matching and sorting (n=66): time 0.001646/0.2625, allocations: 0.7328 MB / 345.3 MB, free: 0.5625 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.101e-05/0.2626, allocations: 111.4 kB / 345.4 MB, free: 440 kB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002752/0.2629, allocations: 265 kB / 345.6 MB, free: 168 kB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.045e-05/0.2629, allocations: 37.7 kB / 345.7 MB, free: 124 kB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001594/0.2631, allocations: 264 kB / 345.9 MB, free: 15.86 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001571/0.2632, allocations: 228.7 kB / 346.1 MB, free: 15.63 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.325e-05/0.2633, allocations: 57.69 kB / 346.2 MB, free: 15.57 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.2635, allocations: 342.8 kB / 346.5 MB, free: 15.23 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004859/0.264, allocations: 225.9 kB / 346.8 MB, free: 15.01 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005554/0.2645, allocations: 309.4 kB / 347.1 MB, free: 14.68 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001088/0.2656, allocations: 0.5376 MB / 347.6 MB, free: 14.12 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-06/0.2656, allocations: 0 / 347.6 MB, free: 14.12 MB / 286.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001258/0.2669, allocations: 0.6492 MB / 348.2 MB, free: 13.46 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.2669, allocations: 8 kB / 348.2 MB, free: 13.46 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.2669, allocations: 0 / 348.2 MB, free: 13.46 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.267, allocations: 4 kB / 348.3 MB, free: 13.45 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007143/0.2677, allocations: 167.8 kB / 348.4 MB, free: 13.29 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.177e-05/0.2677, allocations: 7.984 kB / 348.4 MB, free: 13.28 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004803/0.2682, allocations: 71.42 kB / 348.5 MB, free: 13.21 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.401e-05/0.2682, allocations: 23.98 kB / 348.5 MB, free: 13.19 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.0002403/0.2685, allocations: 193.5 kB / 348.7 MB, free: 12.99 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/0.2686, allocations: 39.53 kB / 348.7 MB, free: 12.95 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001345/0.2699, allocations: 0.6203 MB / 349.4 MB, free: 12.32 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.727e-06/0.27, allocations: 12 kB / 349.4 MB, free: 12.31 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.27, allocations: 0 / 349.4 MB, free: 12.31 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.27, allocations: 0 / 349.4 MB, free: 12.31 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002145/0.2721, allocations: 1.316 MB / 350.7 MB, free: 10.93 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.735e-06/0.2722, allocations: 7.984 kB / 350.7 MB, free: 10.93 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005874/0.2728, allocations: 131.8 kB / 350.8 MB, free: 10.8 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.729e-05/0.2728, allocations: 15.98 kB / 350.8 MB, free: 10.78 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.298e-05/0.2728, allocations: 12 kB / 350.9 MB, free: 10.77 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.705e-06/0.2728, allocations: 7.938 kB / 350.9 MB, free: 10.76 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.2728, allocations: 0 / 350.9 MB, free: 10.76 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00172/0.2746, allocations: 1.006 MB / 351.9 MB, free: 9.738 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.891e-05/0.2747, allocations: 124.5 kB / 352 MB, free: 9.598 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.196e-05/0.2748, allocations: 12 kB / 352 MB, free: 9.586 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004099/0.2752, allocations: 39.91 kB / 352 MB, free: 9.547 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.523e-05/0.2753, allocations: 40.5 kB / 352.1 MB, free: 9.508 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.149e-05/0.2753, allocations: 16 kB / 352.1 MB, free: 9.492 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001874/0.2755, allocations: 196.5 kB / 352.3 MB, free: 9.301 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2755, allocations: 3.938 kB / 352.3 MB, free: 9.297 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005539/0.2761, allocations: 171.5 kB / 352.5 MB, free: 9.129 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.0002336/0.2763, allocations: 143.1 kB / 352.6 MB, free: 8.98 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001186/0.2775, allocations: 0.5546 MB / 353.2 MB, free: 8.43 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.2775, allocations: 0 / 353.2 MB, free: 8.43 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005286/0.2781, allocations: 287.5 kB / 353.4 MB, free: 8.148 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005146/0.2786, allocations: 48.36 kB / 353.5 MB, free: 8.098 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00221/0.2808, allocations: 1.373 MB / 354.9 MB, free: 6.695 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004197/0.2812, allocations: 0.8502 MB / 355.7 MB, free: 5.82 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0004127/0.2817, allocations: 75.41 kB / 355.8 MB, free: 5.742 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001475/0.2818, allocations: 47.42 kB / 355.8 MB, free: 5.699 MB / 286.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2818, allocations: 3.938 kB / 355.8 MB, free: 5.695 MB / 286.1 MB Notification: Performance of Templates: time 0.009646/0.2915, allocations: 4.774 MB / 360.6 MB, free: 0.918 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)