Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.0008779/0.000878, allocations: 89.98 kB / 16.31 MB, free: 6.457 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.0009749/0.0009749, allocations: 183.1 kB / 17.21 MB, free: 6.328 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.488/1.488, allocations: 205.4 MB / 223.4 MB, free: 5.805 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.0004437/0.0004437, allocations: 19.98 kB / 280.2 MB, free: 13.04 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2362/0.2367, allocations: 47.58 MB / 327.7 MB, free: 1.398 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.003511/0.2402, allocations: 3.504 MB / 331.2 MB, free: 14.65 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002632/0.2429, allocations: 1.536 MB / 332.8 MB, free: 13.41 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001804/0.2431, allocations: 11.62 kB / 332.8 MB, free: 13.41 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003934/0.2435, allocations: 167.6 kB / 333 MB, free: 13.29 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005003/0.244, allocations: 191 kB / 333.1 MB, free: 13.14 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001326/0.2453, allocations: 0.6349 MB / 333.8 MB, free: 12.66 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006156/0.2459, allocations: 0.5645 MB / 334.3 MB, free: 12.32 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001449/0.2474, allocations: 0.8259 MB / 335.2 MB, free: 11.7 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004086/0.2478, allocations: 229.7 kB / 335.4 MB, free: 11.58 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004105/0.2482, allocations: 282 kB / 335.7 MB, free: 11.41 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.061e-05/0.2483, allocations: 27.66 kB / 335.7 MB, free: 11.41 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005734/0.2489, allocations: 236.6 kB / 335.9 MB, free: 11.3 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 8.458e-05/0.249, allocations: 99.53 kB / 336 MB, free: 11.21 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001269/0.2491, allocations: 125.5 kB / 336.1 MB, free: 11.08 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007267/0.2498, allocations: 0.679 MB / 336.8 MB, free: 10.4 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.2499, allocations: 0 / 336.8 MB, free: 10.4 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2499, allocations: 8 kB / 336.8 MB, free: 10.39 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.844e-06/0.2499, allocations: 0 / 336.8 MB, free: 10.39 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.003165/0.2531, allocations: 1.108 MB / 337.9 MB, free: 9.23 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.2531, allocations: 8.031 kB / 338 MB, free: 9.223 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001063/0.2542, allocations: 179.1 kB / 338.1 MB, free: 9.047 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002167/0.2544, allocations: 230.9 kB / 338.4 MB, free: 8.781 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.787e-05/0.2545, allocations: 50 kB / 338.4 MB, free: 8.734 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/0.2546, allocations: 68 kB / 338.5 MB, free: 8.668 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001296/0.2559, allocations: 0.7074 MB / 339.2 MB, free: 7.941 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.553e-05/0.2559, allocations: 7.938 kB / 339.2 MB, free: 7.934 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.874e-05/0.256, allocations: 24 kB / 339.2 MB, free: 7.91 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.533e-05/0.256, allocations: 16 kB / 339.2 MB, free: 7.895 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001229/0.2572, allocations: 0.614 MB / 339.8 MB, free: 7.277 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003253/0.2605, allocations: 2.332 MB / 342.2 MB, free: 4.805 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001608/0.2621, allocations: 1.636 MB / 343.8 MB, free: 2.938 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005248/0.2627, allocations: 283.7 kB / 344.1 MB, free: 2.656 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001305/0.2628, allocations: 93.66 kB / 344.2 MB, free: 2.547 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.785e-05/0.2628, allocations: 51.16 kB / 344.2 MB, free: 2.484 MB / 270.1 MB Notification: Performance of pre-optimization done (n=66): time 2.534e-06/0.2629, allocations: 0 / 344.2 MB, free: 2.484 MB / 270.1 MB Notification: Performance of matching and sorting (n=66): time 0.001592/0.2645, allocations: 0.725 MB / 344.9 MB, free: 1.754 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.88e-05/0.2645, allocations: 115.3 kB / 345.1 MB, free: 1.617 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002909/0.2648, allocations: 265 kB / 345.3 MB, free: 1.352 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.707e-05/0.2649, allocations: 33.7 kB / 345.3 MB, free: 1.312 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001548/0.265, allocations: 264 kB / 345.6 MB, free: 1.051 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001737/0.2652, allocations: 224.7 kB / 345.8 MB, free: 0.8281 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.282e-05/0.2653, allocations: 12 kB / 345.8 MB, free: 0.8164 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.2654, allocations: 342.8 kB / 346.2 MB, free: 484 kB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004867/0.2659, allocations: 221.9 kB / 346.4 MB, free: 260 kB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005396/0.2665, allocations: 313.5 kB / 346.7 MB, free: 15.92 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005501/0.267, allocations: 263.1 kB / 347 MB, free: 15.66 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.267, allocations: 0 / 347 MB, free: 15.66 MB / 286.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001241/0.2683, allocations: 0.6375 MB / 347.6 MB, free: 15.02 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.2683, allocations: 8 kB / 347.6 MB, free: 15.01 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/0.2683, allocations: 0 / 347.6 MB, free: 15.01 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.2683, allocations: 7.984 kB / 347.6 MB, free: 15 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006873/0.269, allocations: 171.8 kB / 347.8 MB, free: 14.84 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.44e-05/0.2691, allocations: 7.984 kB / 347.8 MB, free: 14.83 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004378/0.2695, allocations: 67.42 kB / 347.8 MB, free: 14.76 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.449e-05/0.2696, allocations: 27.98 kB / 347.9 MB, free: 14.73 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002214/0.2698, allocations: 193.5 kB / 348.1 MB, free: 14.54 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.713e-05/0.2699, allocations: 47.52 kB / 348.1 MB, free: 14.49 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001255/0.2712, allocations: 0.6163 MB / 348.7 MB, free: 13.86 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.699e-06/0.2712, allocations: 15.92 kB / 348.7 MB, free: 13.84 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.2712, allocations: 4 kB / 348.7 MB, free: 13.84 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.2712, allocations: 3.984 kB / 348.8 MB, free: 13.84 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002128/0.2733, allocations: 1.304 MB / 350.1 MB, free: 12.48 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.2734, allocations: 4 kB / 350.1 MB, free: 12.48 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005629/0.2739, allocations: 139.8 kB / 350.2 MB, free: 12.34 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.244e-05/0.2739, allocations: 4 kB / 350.2 MB, free: 12.34 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.145e-05/0.274, allocations: 12 kB / 350.2 MB, free: 12.32 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.144e-06/0.274, allocations: 4 kB / 350.2 MB, free: 12.32 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.274, allocations: 0 / 350.2 MB, free: 12.32 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001675/0.2757, allocations: 0.9978 MB / 351.2 MB, free: 11.3 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.2758, allocations: 124.5 kB / 351.3 MB, free: 11.16 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.361e-05/0.2759, allocations: 12 kB / 351.3 MB, free: 11.15 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003715/0.2763, allocations: 35.91 kB / 351.4 MB, free: 11.12 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.2764, allocations: 48.56 kB / 351.4 MB, free: 11.07 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.137e-05/0.2764, allocations: 16 kB / 351.4 MB, free: 11.05 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001788/0.2766, allocations: 188.5 kB / 351.6 MB, free: 10.87 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.2766, allocations: 0 / 351.6 MB, free: 10.87 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000558/0.2772, allocations: 179.5 kB / 351.8 MB, free: 10.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002306/0.2774, allocations: 151 kB / 352 MB, free: 10.54 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001124/0.2785, allocations: 0.5507 MB / 352.5 MB, free: 9.992 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.2786, allocations: 0 / 352.5 MB, free: 9.992 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000527/0.2791, allocations: 283.5 kB / 352.8 MB, free: 9.715 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005033/0.2796, allocations: 44.42 kB / 352.8 MB, free: 9.668 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002183/0.2818, allocations: 1.318 MB / 354.1 MB, free: 8.32 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004444/0.2822, allocations: 0.8385 MB / 355 MB, free: 7.457 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0004414/0.2827, allocations: 83.39 kB / 355.1 MB, free: 7.371 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001354/0.2828, allocations: 47.42 kB / 355.1 MB, free: 7.328 MB / 286.1 MB Notification: Performance of SimCode: time 7.32e-07/0.2828, allocations: 0 / 355.1 MB, free: 7.328 MB / 286.1 MB Notification: Performance of Templates: time 0.009431/0.2923, allocations: 4.644 MB / 359.7 MB, free: 2.68 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.makefile (rm -f Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; mkfifo Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe >> ../files/Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.sim & ./Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections.pipe 2>&1)