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.001442/0.001442, allocations: 102.8 kB / 16.5 MB, free: 6.645 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.001522/0.001522, allocations: 195.2 kB / 17.42 MB, free: 6.066 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.402/1.402, allocations: 205.1 MB / 223.3 MB, free: 12.46 MB / 190.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.001725/0.001725, allocations: 52.39 kB / 279.3 MB, free: 3.586 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1425, allocations: 46.64 MB / 326 MB, free: 4.883 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.009242/0.1518, allocations: 4.141 MB / 330.1 MB, free: 0.7109 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.004965/0.1568, allocations: 1.667 MB / 331.8 MB, free: 15.03 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005285/0.1574, allocations: 8 kB / 331.8 MB, free: 15.02 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003521/0.161, allocations: 0.9496 MB / 332.7 MB, free: 14.07 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009297/0.162, allocations: 194.8 kB / 332.9 MB, free: 13.88 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002207/0.1642, allocations: 0.775 MB / 333.7 MB, free: 13.1 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001001/0.1652, allocations: 0.5872 MB / 334.3 MB, free: 12.51 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001193/0.1664, allocations: 457.9 kB / 334.7 MB, free: 12.06 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005376/0.167, allocations: 255 kB / 335 MB, free: 11.81 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006591/0.1676, allocations: 326.6 kB / 335.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001332/0.1678, allocations: 40 kB / 335.3 MB, free: 11.45 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008701/0.1687, allocations: 251.7 kB / 335.6 MB, free: 11.21 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001678/0.1689, allocations: 119.5 kB / 335.7 MB, free: 11.09 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004992/0.1694, allocations: 290.5 kB / 336 MB, free: 10.8 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00156/0.171, allocations: 0.8916 MB / 336.9 MB, free: 9.91 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.171, allocations: 4 kB / 336.9 MB, free: 9.906 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.171, allocations: 3.938 kB / 336.9 MB, free: 9.902 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.958e-05/0.1711, allocations: 4 kB / 336.9 MB, free: 9.898 MB / 286.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.006426/0.1775, allocations: 1.194 MB / 338.1 MB, free: 8.652 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.101e-05/0.1776, allocations: 8.031 kB / 338.1 MB, free: 8.645 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001966/0.1796, allocations: 180 kB / 338.3 MB, free: 8.469 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003138/0.1799, allocations: 252.1 kB / 338.5 MB, free: 8.184 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.838e-05/0.18, allocations: 50.38 kB / 338.6 MB, free: 8.137 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001603/0.1802, allocations: 72.22 kB / 338.6 MB, free: 8.066 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002108/0.1823, allocations: 0.7077 MB / 339.3 MB, free: 7.34 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.403e-05/0.1823, allocations: 0 / 339.3 MB, free: 7.34 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.814e-05/0.1824, allocations: 24 kB / 339.4 MB, free: 7.316 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.272e-05/0.1825, allocations: 16 kB / 339.4 MB, free: 7.301 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002376/0.1849, allocations: 0.6062 MB / 340 MB, free: 6.691 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006146/0.191, allocations: 2.316 MB / 342.3 MB, free: 4.23 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002903/0.194, allocations: 1.636 MB / 343.9 MB, free: 2.367 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000966/0.195, allocations: 275.4 kB / 344.2 MB, free: 2.09 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001955/0.1952, allocations: 97.64 kB / 344.3 MB, free: 1.977 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.696e-05/0.1952, allocations: 43.12 kB / 344.3 MB, free: 1.926 MB / 286.1 MB Notification: Performance of pre-optimization done (n=66): time 7.194e-06/0.1953, allocations: 3.984 kB / 344.4 MB, free: 1.922 MB / 286.1 MB Notification: Performance of matching and sorting (n=66): time 0.002849/0.1981, allocations: 0.7016 MB / 345.1 MB, free: 1.215 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.955e-05/0.1982, allocations: 107.4 kB / 345.2 MB, free: 1.086 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004935/0.1987, allocations: 256.9 kB / 345.4 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 6.832e-05/0.1988, allocations: 37.7 kB / 345.4 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002371/0.1991, allocations: 264.1 kB / 345.7 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002622/0.1994, allocations: 228.7 kB / 345.9 MB, free: 304 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003147/0.1997, allocations: 114.6 kB / 346 MB, free: 184 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002153/0.1999, allocations: 346.8 kB / 346.4 MB, free: 15.83 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008988/0.2009, allocations: 209.9 kB / 346.6 MB, free: 15.62 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00103/0.2019, allocations: 305.4 kB / 346.9 MB, free: 15.3 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001933/0.2039, allocations: 0.5142 MB / 347.4 MB, free: 14.77 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.128e-06/0.2039, allocations: 0 / 347.4 MB, free: 14.77 MB / 302.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002349/0.2063, allocations: 0.6296 MB / 348 MB, free: 14.13 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.976e-05/0.2063, allocations: 4 kB / 348 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/0.2063, allocations: 4 kB / 348 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.478e-05/0.2064, allocations: 4 kB / 348 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001284/0.2077, allocations: 163.7 kB / 348.2 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.116e-05/0.2077, allocations: 4 kB / 348.2 MB, free: 13.95 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008276/0.2086, allocations: 75.44 kB / 348.3 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.368e-05/0.2086, allocations: 24 kB / 348.3 MB, free: 13.86 MB / 302.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.0003841/0.209, allocations: 193.6 kB / 348.5 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001692/0.2092, allocations: 35.53 kB / 348.5 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00223/0.2115, allocations: 0.6085 MB / 349.1 MB, free: 13.01 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-05/0.2115, allocations: 4 kB / 349.1 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.335e-06/0.2115, allocations: 8 kB / 349.1 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.199e-05/0.2115, allocations: 3.984 kB / 349.1 MB, free: 12.99 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003794/0.2153, allocations: 1.288 MB / 350.4 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.066e-06/0.2154, allocations: 0 / 350.4 MB, free: 11.64 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00107/0.2165, allocations: 143.7 kB / 350.6 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.796e-06/0.2165, allocations: 3.938 kB / 350.6 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.751e-05/0.2166, allocations: 15.98 kB / 350.6 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.221e-05/0.2166, allocations: 7.938 kB / 350.6 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.2166, allocations: 0 / 350.6 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003011/0.2196, allocations: 0.9666 MB / 351.6 MB, free: 10.49 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001651/0.2198, allocations: 124.5 kB / 351.7 MB, free: 10.35 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.2199, allocations: 12 kB / 351.7 MB, free: 10.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007364/0.2207, allocations: 31.92 kB / 351.7 MB, free: 10.31 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001632/0.2209, allocations: 44.5 kB / 351.8 MB, free: 10.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.153e-05/0.2209, allocations: 24.05 kB / 351.8 MB, free: 10.24 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003293/0.2213, allocations: 188.5 kB / 352 MB, free: 10.06 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.166e-06/0.2213, allocations: 0 / 352 MB, free: 10.06 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0009874/0.2223, allocations: 175.5 kB / 352.2 MB, free: 9.887 MB / 302.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.0003077/0.2226, allocations: 139.2 kB / 352.3 MB, free: 9.742 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001915/0.2246, allocations: 0.5354 MB / 352.8 MB, free: 9.211 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.2246, allocations: 4 kB / 352.8 MB, free: 9.207 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009197/0.2255, allocations: 271 kB / 353.1 MB, free: 8.941 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008696/0.2264, allocations: 44.42 kB / 353.1 MB, free: 8.898 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003645/0.2301, allocations: 1.321 MB / 354.5 MB, free: 7.551 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006167/0.2307, allocations: 0.8463 MB / 355.3 MB, free: 6.68 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0008373/0.2316, allocations: 79.41 kB / 355.4 MB, free: 6.598 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002548/0.2318, allocations: 47.42 kB / 355.4 MB, free: 6.551 MB / 302.1 MB Notification: Performance of SimCode: time 8.42e-07/0.2319, allocations: 0 / 355.4 MB, free: 6.551 MB / 302.1 MB Notification: Performance of Templates: time 0.01753/0.2494, allocations: 4.845 MB / 360.3 MB, free: 1.707 MB / 302.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)