Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.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.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008444/0.0008442, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008884/0.0008885, allocations: 168.7 kB / 15.95 MB, free: 204 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.458/1.458, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.0004629/0.0004629, allocations: 16 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.265/0.2655, allocations: 47.59 MB / 326.5 MB, free: 1.418 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic): time 0.09601/0.3616, allocations: 103.8 MB / 430.3 MB, free: 11.43 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.05353/0.4152, allocations: 21.46 MB / 451.8 MB, free: 5.895 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02652/0.4417, allocations: 0.5026 MB / 452.3 MB, free: 5.391 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0183/0.4601, allocations: 5.342 MB / 457.6 MB, free: 24 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2903/0.7505, allocations: 15.77 MB / 473.4 MB, free: 3.586 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007552/0.758, allocations: 1.703 MB / 475.1 MB, free: 3.555 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.1195/0.8776, allocations: 99.39 MB / 0.561 GB, free: 4.758 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01827/0.8959, allocations: 12.79 MB / 0.5735 GB, free: 11.64 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006563/0.9025, allocations: 3.245 MB / 0.5767 GB, free: 9.434 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008317/0.9109, allocations: 5.07 MB / 0.5816 GB, free: 5.766 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002756/0.9137, allocations: 340 kB / 0.5819 GB, free: 5.434 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004836/0.9185, allocations: 1.335 MB / 0.5832 GB, free: 4.336 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006885/0.9254, allocations: 4.247 MB / 0.5874 GB, free: 0.8047 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004887/0.9303, allocations: 1.879 MB / 0.5892 GB, free: 0 / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01622/0.9466, allocations: 13.66 MB / 0.6026 GB, free: 4.137 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.041e-05/0.9467, allocations: 0 / 0.6026 GB, free: 4.137 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.026e-06/0.9467, allocations: 0 / 0.6026 GB, free: 4.137 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0008545/0.9476, allocations: 0 / 0.6026 GB, free: 4.137 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2753 * Number of variables: 2753 Notification: Performance of Generate backend data structure: time 0.02448/0.9721, allocations: 9.366 MB / 0.6117 GB, free: 11.46 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.9721, allocations: 8.031 kB / 0.6117 GB, free: 11.46 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03927/1.011, allocations: 5.543 MB / 0.6171 GB, free: 6.105 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3876/1.399, allocations: 8.987 MB / 0.6259 GB, free: 211.5 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008821/1.4, allocations: 0.5179 MB / 0.6264 GB, free: 211.5 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004162/1.404, allocations: 0.7267 MB / 0.6271 GB, free: 211.5 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03872/1.443, allocations: 19.53 MB / 0.6462 GB, free: 202.6 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003577/1.443, allocations: 101.2 kB / 0.6463 GB, free: 202.5 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001113/1.444, allocations: 318.4 kB / 0.6466 GB, free: 202.2 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003497/1.448, allocations: 2.825 MB / 0.6494 GB, free: 199.4 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03053/1.478, allocations: 16.25 MB / 0.6652 GB, free: 183.2 MB / 494.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09161/1.57, allocations: 74.62 MB / 0.7381 GB, free: 107.5 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02094/1.591, allocations: 8.505 MB / 0.7464 GB, free: 98.86 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005983/1.597, allocations: 4.75 MB / 0.751 GB, free: 94.09 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0239/1.621, allocations: 15.41 MB / 0.7661 GB, free: 78.27 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.616e-05/1.621, allocations: 80.58 kB / 0.7662 GB, free: 78.18 MB / 494.1 MB Notification: Performance of pre-optimization done (n=319): time 7.023e-06/1.621, allocations: 2.406 kB / 0.7662 GB, free: 78.18 MB / 494.1 MB Notification: Performance of matching and sorting (n=419): time 0.1453/1.766, allocations: 50.62 MB / 0.8156 GB, free: 27.5 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.945e-05/1.767, allocations: 406.7 kB / 0.816 GB, free: 27.01 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00984/1.776, allocations: 7.604 MB / 0.8234 GB, free: 19.45 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001176/1.778, allocations: 85.7 kB / 0.8235 GB, free: 19.36 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003223/1.781, allocations: 5.62 MB / 0.829 GB, free: 13.66 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002311/1.783, allocations: 1.534 MB / 0.8305 GB, free: 12.11 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006534/1.784, allocations: 200 kB / 0.8307 GB, free: 11.91 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0004203/1.784, allocations: 0.7437 MB / 0.8314 GB, free: 11.16 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00676/1.791, allocations: 5.084 MB / 0.8364 GB, free: 6.074 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2348/2.026, allocations: 10.16 MB / 0.8463 GB, free: 184.2 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01174/2.038, allocations: 7.041 MB / 0.8532 GB, free: 183.2 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001777/2.038, allocations: 50.12 kB / 0.8532 GB, free: 183.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=1332) (initialization): time 0.03743/2.075, allocations: 20.78 MB / 0.8735 GB, free: 176.4 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001529/2.076, allocations: 79.91 kB / 0.8736 GB, free: 176.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002241/2.076, allocations: 173.5 kB / 0.8737 GB, free: 176.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01723/2.093, allocations: 6.475 MB / 0.8801 GB, free: 175.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006848/2.1, allocations: 2.149 MB / 0.8822 GB, free: 174.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04184/2.142, allocations: 31.43 MB / 0.9129 GB, free: 144.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01008/2.152, allocations: 0.6208 MB / 0.9135 GB, free: 144.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002368/2.154, allocations: 0.5363 MB / 0.914 GB, free: 143.6 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 784 * Number of states: 0 () * Number of discrete variables: 73 (jointRRP.jointUSP.prismatic.positiveBranch,jointRRP.jointUSP.rod1Color[3],jointRRP.jointUSP.rod1Color[2],jointRRP.jointUSP.rod1Color[1],jointRRP.jointUSP.cylinderColor[3],jointRRP.jointUSP.cylinderColor[2],jointRRP.jointUSP.cylinderColor[1],jointRRP.jointUSP.sphereColor[3],jointRRP.jointUSP.sphereColor[2],jointRRP.jointUSP.sphereColor[1],jointRRP.rodColor[3],jointRRP.rodColor[2],jointRRP.rodColor[1],jointRRP.cylinderColor[3],jointRRP.cylinderColor[2],jointRRP.cylinderColor[1],cylPosition.color[3],cylPosition.color[2],cylPosition.color[1],Mid.color[3],Mid.color[2],Mid.color[1],Crank2.color[3],Crank2.color[2],Crank2.color[1],Crank2.body.sphereColor[3],Crank2.body.sphereColor[2],Crank2.body.sphereColor[1],Crank1.color[3],Crank1.color[2],Crank1.color[1],Crank1.body.sphereColor[3],Crank1.body.sphereColor[2],Crank1.body.sphereColor[1],Crank3.color[3],Crank3.color[2],Crank3.color[1],Crank3.body.sphereColor[3],Crank3.body.sphereColor[2],Crank3.body.sphereColor[1],Crank4.color[3],Crank4.color[2],Crank4.color[1],Crank4.body.sphereColor[3],Crank4.body.sphereColor[2],Crank4.body.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],Bearing.cylinderColor[3],Bearing.cylinderColor[2],Bearing.cylinderColor[1],Rod2.color[3],Rod2.color[2],Rod2.color[1],Rod2.body.sphereColor[3],Rod2.body.sphereColor[2],Rod2.body.sphereColor[1],Piston.color[3],Piston.color[2],Piston.color[1],Piston.body.sphereColor[3],Piston.body.sphereColor[2],Piston.body.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1180): * Single equations (assignments): 1175 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 124} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01033/2.165, allocations: 4.097 MB / 0.918 GB, free: 139.6 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002101/2.167, allocations: 0.6989 MB / 0.9187 GB, free: 139.3 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02714/2.194, allocations: 13.82 MB / 0.9322 GB, free: 125.4 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.358e-05/2.194, allocations: 40 kB / 0.9322 GB, free: 125.4 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-05/2.194, allocations: 27.98 kB / 0.9322 GB, free: 125.3 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.945e-05/2.194, allocations: 15.94 kB / 0.9322 GB, free: 125.3 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05446/2.249, allocations: 27.14 MB / 0.9587 GB, free: 98.12 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.543e-05/2.249, allocations: 8 kB / 0.9588 GB, free: 98.12 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0028/2.252, allocations: 0.5537 MB / 0.9593 GB, free: 97.57 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01636/2.268, allocations: 5.957 MB / 0.9651 GB, free: 91.6 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001042/2.269, allocations: 83.98 kB / 0.9652 GB, free: 91.52 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03702/2.306, allocations: 28.2 MB / 0.9927 GB, free: 63.27 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.606e-06/2.306, allocations: 11.94 kB / 0.9927 GB, free: 63.25 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03318/2.339, allocations: 19.94 MB / 1.012 GB, free: 43.13 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004465/2.344, allocations: 1.549 MB / 1.014 GB, free: 41.56 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002239/2.346, allocations: 77.09 kB / 1.014 GB, free: 41.49 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004454/2.351, allocations: 323.6 kB / 1.014 GB, free: 41.17 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00107/2.352, allocations: 295.1 kB / 1.014 GB, free: 40.88 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004816/2.352, allocations: 113.7 kB / 1.014 GB, free: 40.77 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.008904/2.361, allocations: 4.847 MB / 1.019 GB, free: 35.96 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.41e-07/2.361, allocations: 0 / 1.019 GB, free: 35.96 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01254/2.374, allocations: 2.406 MB / 1.022 GB, free: 33.57 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 2 (Inertia.phi,Inertia.w) * 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 (292): * Single equations (assignments): 288 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 111} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001142/2.375, allocations: 264.1 kB / 1.022 GB, free: 33.32 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.2306/2.605, allocations: 12.34 MB / 1.034 GB, free: 187.1 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-05/2.606, allocations: 0 / 1.034 GB, free: 187.1 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008828/2.614, allocations: 5.091 MB / 1.039 GB, free: 185.8 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01116/2.626, allocations: 1.019 MB / 1.04 GB, free: 185.4 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07231/2.698, allocations: 25.88 MB / 1.065 GB, free: 171.2 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01485/2.713, allocations: 6.395 MB / 1.071 GB, free: 166.4 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.01571/2.729, allocations: 2.957 MB / 1.074 GB, free: 164 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002791/2.731, allocations: 431.4 kB / 1.075 GB, free: 163.5 MB / 494.1 MB Notification: Performance of SimCode: time 1.644e-06/2.731, allocations: 0 / 1.075 GB, free: 163.5 MB / 494.1 MB Notification: Performance of Templates: time 0.1645/2.896, allocations: 102.4 MB / 1.175 GB, free: 61.05 MB / 494.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe 2>&1)