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.001114/0.001114, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.0015/0.001501, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.42/1.42, allocations: 205.4 MB / 222.1 MB, free: 5.5 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.0004198/0.0004199, allocations: 16 kB / 278.9 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1987/0.1992, allocations: 47.59 MB / 326.5 MB, free: 1.41 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CylinderSections): time 0.003559/0.2028, allocations: 3.503 MB / 330 MB, free: 14.66 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002729/0.2055, allocations: 1.533 MB / 331.5 MB, free: 13.42 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003412/0.2059, allocations: 11.59 kB / 331.5 MB, free: 13.42 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005676/0.2065, allocations: 163.4 kB / 331.7 MB, free: 13.31 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007342/0.2072, allocations: 187.8 kB / 331.9 MB, free: 13.16 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001528/0.2087, allocations: 0.6337 MB / 332.5 MB, free: 12.68 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006758/0.2094, allocations: 0.5731 MB / 333.1 MB, free: 12.33 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001532/0.211, allocations: 0.8264 MB / 333.9 MB, free: 11.71 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004828/0.2115, allocations: 225.3 kB / 334.1 MB, free: 11.6 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006235/0.2121, allocations: 290.3 kB / 334.4 MB, free: 11.43 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001107/0.2122, allocations: 30.75 kB / 334.4 MB, free: 11.42 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006329/0.2129, allocations: 229.3 kB / 334.7 MB, free: 11.23 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.331e-05/0.213, allocations: 99.53 kB / 334.8 MB, free: 11.13 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001602/0.2131, allocations: 129.4 kB / 334.9 MB, free: 11 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007358/0.2139, allocations: 0.6752 MB / 335.6 MB, free: 10.32 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2139, allocations: 0 / 335.6 MB, free: 10.32 MB / 270.1 MB Notification: Performance of FrontEnd: time 4.419e-06/0.2139, allocations: 4 kB / 335.6 MB, free: 10.32 MB / 270.1 MB Notification: Performance of Transformations before backend: time 2.36e-05/0.2139, allocations: 0 / 335.6 MB, free: 10.32 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.003235/0.2172, allocations: 1.104 MB / 336.7 MB, free: 9.164 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.162e-05/0.2172, allocations: 8.031 kB / 336.7 MB, free: 9.156 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001104/0.2183, allocations: 179.1 kB / 336.9 MB, free: 8.98 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001946/0.2185, allocations: 234.9 kB / 337.1 MB, free: 8.711 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.243e-05/0.2186, allocations: 54 kB / 337.1 MB, free: 8.66 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.355e-05/0.2187, allocations: 64 kB / 337.2 MB, free: 8.598 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001334/0.22, allocations: 0.7074 MB / 337.9 MB, free: 7.871 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.126e-05/0.2201, allocations: 4 kB / 337.9 MB, free: 7.867 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.548e-05/0.2201, allocations: 24 kB / 337.9 MB, free: 7.844 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.598e-05/0.2201, allocations: 16 kB / 338 MB, free: 7.828 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001231/0.2214, allocations: 0.6218 MB / 338.6 MB, free: 7.203 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003191/0.2246, allocations: 2.332 MB / 340.9 MB, free: 4.73 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001569/0.2262, allocations: 1.636 MB / 342.5 MB, free: 2.863 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005084/0.2267, allocations: 279.7 kB / 342.8 MB, free: 2.586 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001226/0.2268, allocations: 101.6 kB / 342.9 MB, free: 2.469 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.566e-05/0.2269, allocations: 43.12 kB / 343 MB, free: 2.414 MB / 270.1 MB Notification: Performance of pre-optimization done (n=66): time 2.745e-06/0.2269, allocations: 0 / 343 MB, free: 2.414 MB / 270.1 MB Notification: Performance of matching and sorting (n=66): time 0.001535/0.2284, allocations: 0.7328 MB / 343.7 MB, free: 1.676 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.891e-05/0.2285, allocations: 111.4 kB / 343.8 MB, free: 1.543 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002731/0.2288, allocations: 260.9 kB / 344.1 MB, free: 1.281 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.631e-05/0.2288, allocations: 33.7 kB / 344.1 MB, free: 1.242 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001487/0.229, allocations: 264 kB / 344.4 MB, free: 0.9805 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001723/0.2291, allocations: 232.7 kB / 344.6 MB, free: 0.75 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.004e-05/0.2292, allocations: 8 kB / 344.6 MB, free: 0.7422 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.2293, allocations: 346.8 kB / 344.9 MB, free: 404 kB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004711/0.2298, allocations: 217.9 kB / 345.1 MB, free: 184 kB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005386/0.2303, allocations: 309.4 kB / 345.4 MB, free: 15.85 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005265/0.2309, allocations: 263.1 kB / 345.7 MB, free: 15.59 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.2309, allocations: 4 kB / 345.7 MB, free: 15.59 MB / 286.1 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001242/0.2321, allocations: 0.6453 MB / 346.3 MB, free: 14.94 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.2322, allocations: 8 kB / 346.4 MB, free: 14.93 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.2322, allocations: 0 / 346.4 MB, free: 14.93 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.2322, allocations: 4 kB / 346.4 MB, free: 14.93 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007232/0.2329, allocations: 167.7 kB / 346.5 MB, free: 14.76 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/0.2329, allocations: 8 kB / 346.5 MB, free: 14.75 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004614/0.2334, allocations: 75.41 kB / 346.6 MB, free: 14.68 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.321e-05/0.2335, allocations: 23.98 kB / 346.6 MB, free: 14.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002283/0.2337, allocations: 189.6 kB / 346.8 MB, free: 14.46 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.887e-05/0.2338, allocations: 39.53 kB / 346.8 MB, free: 14.42 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001289/0.2351, allocations: 0.6279 MB / 347.5 MB, free: 13.78 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.121e-05/0.2351, allocations: 8 kB / 347.5 MB, free: 13.77 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.2351, allocations: 4 kB / 347.5 MB, free: 13.77 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.2351, allocations: 3.984 kB / 347.5 MB, free: 13.77 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002076/0.2372, allocations: 1.312 MB / 348.8 MB, free: 12.4 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.2372, allocations: 0 / 348.8 MB, free: 12.4 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005741/0.2378, allocations: 131.9 kB / 348.9 MB, free: 12.27 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/0.2378, allocations: 4 kB / 348.9 MB, free: 12.27 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.314e-05/0.2379, allocations: 19.98 kB / 349 MB, free: 12.25 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.2379, allocations: 7.938 kB / 349 MB, free: 12.24 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.2379, allocations: 0 / 349 MB, free: 12.24 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001636/0.2395, allocations: 0.9979 MB / 350 MB, free: 11.23 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.704e-05/0.2397, allocations: 124.5 kB / 350.1 MB, free: 11.09 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.172e-05/0.2397, allocations: 12 kB / 350.1 MB, free: 11.07 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003765/0.2401, allocations: 27.98 kB / 350.1 MB, free: 11.05 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.02e-05/0.2402, allocations: 40.5 kB / 350.2 MB, free: 11.01 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.508e-05/0.2402, allocations: 19.98 kB / 350.2 MB, free: 10.99 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001852/0.2404, allocations: 192.5 kB / 350.4 MB, free: 10.8 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2404, allocations: 0 / 350.4 MB, free: 10.8 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005608/0.241, allocations: 175.5 kB / 350.5 MB, free: 10.63 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.0002242/0.2412, allocations: 151 kB / 350.7 MB, free: 10.47 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001085/0.2423, allocations: 0.5507 MB / 351.2 MB, free: 9.926 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.2424, allocations: 0 / 351.2 MB, free: 9.926 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005195/0.2429, allocations: 291.4 kB / 351.5 MB, free: 9.641 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004686/0.2434, allocations: 44.42 kB / 351.6 MB, free: 9.594 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002148/0.2455, allocations: 1.31 MB / 352.9 MB, free: 8.254 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004223/0.2459, allocations: 0.8502 MB / 353.7 MB, free: 7.379 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0004257/0.2464, allocations: 79.39 kB / 353.8 MB, free: 7.297 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001344/0.2465, allocations: 47.42 kB / 353.9 MB, free: 7.254 MB / 286.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2465, allocations: 0 / 353.9 MB, free: 7.254 MB / 286.1 MB Notification: Performance of Templates: time 0.008916/0.2555, allocations: 4.648 MB / 358.5 MB, free: 2.602 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)