Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.0008194/0.0008193, 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.0008865/0.0008866, 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.401/1.401, allocations: 205.4 MB / 222.1 MB, free: 5.457 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.0004086/0.0004086, allocations: 12 kB / 278.9 MB, free: 12.7 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2223/0.2227, allocations: 47.59 MB / 326.5 MB, free: 1.414 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic): time 0.09324/0.316, allocations: 103.8 MB / 430.3 MB, free: 11.39 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.05702/0.3731, allocations: 21.46 MB / 451.8 MB, free: 5.863 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02304/0.3962, allocations: 0.5065 MB / 452.3 MB, free: 5.355 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2419/0.6382, allocations: 5.338 MB / 457.6 MB, free: 4.324 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03787/0.6761, allocations: 15.78 MB / 473.4 MB, free: 3.566 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00682/0.6829, allocations: 1.704 MB / 475.1 MB, free: 3.535 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.1176/0.8005, allocations: 99.39 MB / 0.561 GB, free: 4.758 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0235/0.8241, allocations: 12.78 MB / 0.5735 GB, free: 11.64 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00766/0.8318, allocations: 3.25 MB / 0.5767 GB, free: 9.438 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008662/0.8404, allocations: 5.071 MB / 0.5816 GB, free: 5.77 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00265/0.8431, allocations: 340 kB / 0.5819 GB, free: 5.438 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00626/0.8494, allocations: 1.333 MB / 0.5832 GB, free: 4.34 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01069/0.8602, allocations: 4.251 MB / 0.5874 GB, free: 0.8047 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006715/0.8669, allocations: 1.883 MB / 0.5892 GB, free: 0 / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02289/0.8899, allocations: 13.65 MB / 0.6026 GB, free: 4.141 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.718e-06/0.8899, allocations: 3.984 kB / 0.6026 GB, free: 4.137 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.8899, allocations: 0 / 0.6026 GB, free: 4.137 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0006572/0.8906, 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.03304/0.9237, allocations: 9.362 MB / 0.6117 GB, free: 11.47 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.9237, allocations: 12.03 kB / 0.6117 GB, free: 11.46 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03848/0.9622, allocations: 5.541 MB / 0.6171 GB, free: 6.105 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4502/1.412, allocations: 8.992 MB / 0.6259 GB, free: 211.4 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001216/1.414, allocations: 0.519 MB / 0.6264 GB, free: 211.4 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005062/1.419, allocations: 0.7231 MB / 0.6271 GB, free: 211.4 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04195/1.461, allocations: 19.53 MB / 0.6462 GB, free: 202.5 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004407/1.461, allocations: 102.3 kB / 0.6463 GB, free: 202.4 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00253/1.464, allocations: 325.5 kB / 0.6466 GB, free: 202.2 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003872/1.468, allocations: 2.821 MB / 0.6494 GB, free: 199.4 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03381/1.502, allocations: 16.24 MB / 0.6652 GB, free: 183.1 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.1068/1.608, allocations: 74.62 MB / 0.7381 GB, free: 107.5 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02178/1.63, allocations: 8.507 MB / 0.7464 GB, free: 98.82 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006493/1.637, allocations: 4.753 MB / 0.751 GB, free: 94.05 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02724/1.664, allocations: 15.4 MB / 0.7661 GB, free: 78.22 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.867e-05/1.664, allocations: 80.58 kB / 0.7662 GB, free: 78.13 MB / 494.1 MB Notification: Performance of pre-optimization done (n=319): time 8.275e-06/1.664, allocations: 3.984 kB / 0.7662 GB, free: 78.13 MB / 494.1 MB Notification: Performance of matching and sorting (n=419): time 0.1646/1.829, allocations: 50.62 MB / 0.8156 GB, free: 27.46 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001243/1.829, allocations: 402.7 kB / 0.816 GB, free: 26.98 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01146/1.84, allocations: 7.604 MB / 0.8234 GB, free: 19.41 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001333/1.842, allocations: 93.7 kB / 0.8235 GB, free: 19.31 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003658/1.845, allocations: 5.608 MB / 0.829 GB, free: 13.63 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002057/1.848, allocations: 1.534 MB / 0.8305 GB, free: 12.08 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007724/1.848, allocations: 208 kB / 0.8307 GB, free: 11.88 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0004635/1.849, allocations: 0.7437 MB / 0.8314 GB, free: 11.12 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007144/1.856, allocations: 5.076 MB / 0.8364 GB, free: 6.043 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2969/2.153, allocations: 10.15 MB / 0.8463 GB, free: 184.1 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01583/2.169, allocations: 7.05 MB / 0.8532 GB, free: 183.1 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003267/2.169, allocations: 50.97 kB / 0.8532 GB, free: 183.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=1332) (initialization): time 0.04678/2.216, allocations: 20.77 MB / 0.8735 GB, free: 176.2 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005849/2.217, allocations: 77.94 kB / 0.8736 GB, free: 176.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005795/2.217, allocations: 177.1 kB / 0.8737 GB, free: 176.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01851/2.236, allocations: 6.475 MB / 0.8801 GB, free: 175 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007726/2.243, allocations: 2.156 MB / 0.8822 GB, free: 174.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04793/2.291, allocations: 31.43 MB / 0.9129 GB, free: 144.7 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01069/2.302, allocations: 0.6213 MB / 0.9135 GB, free: 144.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002604/2.305, allocations: 0.537 MB / 0.914 GB, free: 143.5 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.01149/2.316, allocations: 4.102 MB / 0.918 GB, free: 139.5 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003346/2.32, allocations: 0.689 MB / 0.9187 GB, free: 139.2 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02893/2.349, allocations: 13.82 MB / 0.9322 GB, free: 125.4 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-05/2.349, allocations: 45.25 kB / 0.9322 GB, free: 125.3 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.723e-05/2.349, allocations: 24 kB / 0.9322 GB, free: 125.3 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.948e-05/2.349, allocations: 19.94 kB / 0.9322 GB, free: 125.3 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06035/2.409, allocations: 27.14 MB / 0.9587 GB, free: 98.08 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-05/2.409, allocations: 8 kB / 0.9588 GB, free: 98.07 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002679/2.412, allocations: 0.55 MB / 0.9593 GB, free: 97.52 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01649/2.429, allocations: 5.949 MB / 0.9651 GB, free: 91.56 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001263/2.43, allocations: 86.28 kB / 0.9652 GB, free: 91.48 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04103/2.471, allocations: 28.2 MB / 0.9927 GB, free: 63.22 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.576e-06/2.471, allocations: 8 kB / 0.9927 GB, free: 63.21 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03627/2.507, allocations: 19.94 MB / 1.012 GB, free: 43.09 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006453/2.514, allocations: 1.543 MB / 1.014 GB, free: 41.52 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003091/2.517, allocations: 76.06 kB / 1.014 GB, free: 41.45 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005061/2.522, allocations: 325.1 kB / 1.014 GB, free: 41.13 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001328/2.523, allocations: 299.2 kB / 1.014 GB, free: 40.84 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003427/2.524, allocations: 116 kB / 1.014 GB, free: 40.73 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.008265/2.532, allocations: 4.846 MB / 1.019 GB, free: 35.92 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.764e-06/2.532, allocations: 0 / 1.019 GB, free: 35.92 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01219/2.544, allocations: 2.418 MB / 1.022 GB, free: 33.52 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.001035/2.545, allocations: 258.7 kB / 1.022 GB, free: 33.27 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.2424/2.788, allocations: 12.34 MB / 1.034 GB, free: 190.5 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-05/2.788, allocations: 5.812 kB / 1.034 GB, free: 190.5 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007203/2.795, allocations: 5.089 MB / 1.039 GB, free: 189 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007343/2.802, allocations: 1.022 MB / 1.04 GB, free: 188.6 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04901/2.851, allocations: 25.88 MB / 1.065 GB, free: 173.6 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01126/2.863, allocations: 6.392 MB / 1.071 GB, free: 168.8 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.008696/2.871, allocations: 2.96 MB / 1.074 GB, free: 166.1 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001768/2.873, allocations: 443.4 kB / 1.075 GB, free: 165.6 MB / 494.1 MB Notification: Performance of SimCode: time 9.12e-07/2.873, allocations: 0 / 1.075 GB, free: 165.6 MB / 494.1 MB Notification: Performance of Templates: time 0.1634/3.037, allocations: 102.4 MB / 1.175 GB, free: 63.16 MB / 494.1 MB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe 2>&1)