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.001231/0.001231, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.353/1.353, allocations: 205.1 MB / 222.4 MB, free: 4.582 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.001259/0.001259, allocations: 55.91 kB / 278.7 MB, free: 12.38 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.188/0.1893, allocations: 46.63 MB / 325.3 MB, free: 1.891 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.005052/0.1944, allocations: 4.126 MB / 329.5 MB, free: 14.62 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002657/0.1971, allocations: 1.676 MB / 331.1 MB, free: 13.26 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001999/0.1973, allocations: 11 kB / 331.1 MB, free: 13.26 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002219/0.1995, allocations: 1.014 MB / 332.2 MB, free: 12.5 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00064/0.2002, allocations: 230.2 kB / 332.4 MB, free: 12.32 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001569/0.2018, allocations: 0.7944 MB / 333.2 MB, free: 11.71 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005879/0.2024, allocations: 0.6107 MB / 333.8 MB, free: 11.36 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006879/0.2031, allocations: 0.4955 MB / 334.3 MB, free: 10.96 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003138/0.2034, allocations: 267 kB / 334.5 MB, free: 10.7 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003959/0.2038, allocations: 338.6 kB / 334.9 MB, free: 10.37 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 7.638e-05/0.2039, allocations: 56 kB / 334.9 MB, free: 10.32 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005259/0.2044, allocations: 267.8 kB / 335.2 MB, free: 10.05 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001202/0.2046, allocations: 131.5 kB / 335.3 MB, free: 9.926 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002637/0.2048, allocations: 310.5 kB / 335.6 MB, free: 9.621 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008913/0.2057, allocations: 0.8995 MB / 336.5 MB, free: 8.719 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.2057, allocations: 4 kB / 336.5 MB, free: 8.715 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2057, allocations: 0 / 336.5 MB, free: 8.715 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.009e-05/0.2058, allocations: 4 kB / 336.5 MB, free: 8.711 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.003448/0.2092, allocations: 1.202 MB / 337.7 MB, free: 7.461 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.2093, allocations: 23.83 kB / 337.8 MB, free: 7.438 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001145/0.2104, allocations: 172 kB / 337.9 MB, free: 7.27 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001929/0.2106, allocations: 240.2 kB / 338.2 MB, free: 6.996 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.955e-05/0.2107, allocations: 46.38 kB / 338.2 MB, free: 6.949 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.389e-05/0.2108, allocations: 64.38 kB / 338.3 MB, free: 6.887 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00117/0.2119, allocations: 0.7038 MB / 339 MB, free: 6.168 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.266e-05/0.212, allocations: 3.906 kB / 339 MB, free: 6.164 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.094e-05/0.2121, allocations: 32 kB / 339 MB, free: 6.133 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.654e-05/0.2121, allocations: 16 kB / 339 MB, free: 6.117 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001209/0.2133, allocations: 0.6062 MB / 339.6 MB, free: 5.512 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003159/0.2165, allocations: 2.32 MB / 341.9 MB, free: 3.047 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001684/0.2182, allocations: 1.629 MB / 343.6 MB, free: 1.184 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005346/0.2187, allocations: 275.3 kB / 343.8 MB, free: 0.9062 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001191/0.2188, allocations: 97.64 kB / 343.9 MB, free: 0.793 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.828e-05/0.2189, allocations: 39.12 kB / 344 MB, free: 0.7461 MB / 270.1 MB Notification: Performance of pre-optimization done (n=66): time 2.265e-06/0.2189, allocations: 4 kB / 344 MB, free: 0.7422 MB / 270.1 MB Notification: Performance of matching and sorting (n=66): time 0.001569/0.2205, allocations: 0.7016 MB / 344.7 MB, free: 36 kB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.677e-05/0.2205, allocations: 107.4 kB / 344.8 MB, free: 15.91 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003096/0.2209, allocations: 264.9 kB / 345 MB, free: 15.64 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.768e-05/0.2209, allocations: 41.83 kB / 345.1 MB, free: 15.59 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001458/0.2211, allocations: 260 kB / 345.3 MB, free: 15.33 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001538/0.2212, allocations: 224.8 kB / 345.6 MB, free: 15.11 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001823/0.2214, allocations: 118.6 kB / 345.7 MB, free: 14.98 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.2216, allocations: 342.8 kB / 346 MB, free: 14.64 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004898/0.222, allocations: 209.9 kB / 346.2 MB, free: 14.44 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005425/0.2226, allocations: 305.4 kB / 346.5 MB, free: 14.11 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009951/0.2236, allocations: 0.5142 MB / 347 MB, free: 13.58 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.2236, allocations: 0 / 347 MB, free: 13.58 MB / 286.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001248/0.2249, allocations: 0.6334 MB / 347.7 MB, free: 12.94 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.2249, allocations: 4 kB / 347.7 MB, free: 12.93 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.2249, allocations: 4 kB / 347.7 MB, free: 12.93 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.2249, allocations: 4 kB / 347.7 MB, free: 12.93 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007143/0.2257, allocations: 155.8 kB / 347.8 MB, free: 12.77 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.2257, allocations: 4.188 kB / 347.8 MB, free: 12.77 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000484/0.2262, allocations: 79.34 kB / 347.9 MB, free: 12.69 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.433e-05/0.2262, allocations: 27.98 kB / 347.9 MB, free: 12.66 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.0002368/0.2265, allocations: 193.6 kB / 348.1 MB, free: 12.46 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.595e-05/0.2266, allocations: 35.53 kB / 348.2 MB, free: 12.43 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001264/0.2279, allocations: 0.6046 MB / 348.8 MB, free: 11.82 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.2279, allocations: 4 kB / 348.8 MB, free: 11.82 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.2279, allocations: 4 kB / 348.8 MB, free: 11.82 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.2279, allocations: 7.922 kB / 348.8 MB, free: 11.81 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002044/0.23, allocations: 1.284 MB / 350.1 MB, free: 10.46 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.23, allocations: 4 kB / 350.1 MB, free: 10.46 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005805/0.2306, allocations: 127.8 kB / 350.2 MB, free: 10.34 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.221e-06/0.2306, allocations: 4 kB / 350.2 MB, free: 10.33 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.828e-05/0.2306, allocations: 15.98 kB / 350.2 MB, free: 10.32 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.561e-06/0.2306, allocations: 11.88 kB / 350.2 MB, free: 10.3 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.2306, allocations: 0 / 350.2 MB, free: 10.3 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001626/0.2323, allocations: 0.9743 MB / 351.2 MB, free: 9.312 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.51e-05/0.2324, allocations: 124.6 kB / 351.3 MB, free: 9.172 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.653e-05/0.2325, allocations: 19.91 kB / 351.3 MB, free: 9.152 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000411/0.2329, allocations: 31.92 kB / 351.4 MB, free: 9.121 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.387e-05/0.233, allocations: 48.55 kB / 351.4 MB, free: 9.074 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.178e-05/0.233, allocations: 23.98 kB / 351.4 MB, free: 9.051 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001799/0.2332, allocations: 184.5 kB / 351.6 MB, free: 8.871 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2332, allocations: 0 / 351.6 MB, free: 8.871 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005758/0.2338, allocations: 179.5 kB / 351.8 MB, free: 8.695 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.0002131/0.234, allocations: 139.1 kB / 351.9 MB, free: 8.551 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001452/0.2355, allocations: 0.5624 MB / 352.5 MB, free: 7.984 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2355, allocations: 0 / 352.5 MB, free: 7.984 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005114/0.236, allocations: 275 kB / 352.8 MB, free: 7.719 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005183/0.2365, allocations: 48.36 kB / 352.8 MB, free: 7.668 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001972/0.2385, allocations: 1.086 MB / 353.9 MB, free: 6.551 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003758/0.2389, allocations: 0.8421 MB / 354.7 MB, free: 5.688 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0004203/0.2393, allocations: 83.41 kB / 354.8 MB, free: 5.602 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001318/0.2395, allocations: 43.42 kB / 354.9 MB, free: 5.562 MB / 286.1 MB Notification: Performance of SimCode: time 4e-07/0.2395, allocations: 0 / 354.9 MB, free: 5.562 MB / 286.1 MB Notification: Performance of Templates: time 0.009642/0.2491, allocations: 5.117 MB / 360 MB, free: 452 kB / 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)