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.001143/0.001152, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001076/0.001076, allocations: 177.3 kB / 15.94 MB, free: 228 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.446/1.446, allocations: 205.4 MB / 222.1 MB, free: 5.535 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.0004238/0.0004239, allocations: 12 kB / 278.9 MB, free: 12.72 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2609/0.2614, allocations: 47.59 MB / 326.4 MB, free: 1.488 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic): time 0.09468/0.3561, allocations: 97.88 MB / 424.3 MB, free: 1.383 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.05912/0.4153, allocations: 22.5 MB / 446.8 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02319/0.4385, allocations: 0.5026 MB / 447.3 MB, free: 10.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01893/0.4575, allocations: 4.903 MB / 452.2 MB, free: 5.391 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2895/0.747, allocations: 13.87 MB / 466.1 MB, free: 4.809 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009316/0.7564, allocations: 1.688 MB / 467.8 MB, free: 4.789 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.1083/0.8646, allocations: 77.54 MB / 0.5326 GB, free: 14.24 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0191/0.8838, allocations: 12.7 MB / 0.5449 GB, free: 5.219 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007044/0.8909, allocations: 2.638 MB / 0.5475 GB, free: 3.527 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007148/0.8981, allocations: 3.54 MB / 0.551 GB, free: 1.02 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002512/0.9006, allocations: 340 kB / 0.5513 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004831/0.9055, allocations: 1.304 MB / 0.5526 GB, free: 15.61 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00662/0.9121, allocations: 3.925 MB / 0.5564 GB, free: 12.75 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004271/0.9165, allocations: 1.877 MB / 0.5582 GB, free: 12.08 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01766/0.9341, allocations: 14.34 MB / 0.5722 GB, free: 15.64 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.9342, allocations: 0 / 0.5722 GB, free: 15.64 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.766e-06/0.9342, allocations: 0 / 0.5722 GB, free: 15.64 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0006202/0.9348, allocations: 0 / 0.5722 GB, free: 15.64 MB / 462.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.03315/0.968, allocations: 10.16 MB / 0.5822 GB, free: 6.301 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/0.9681, allocations: 12.03 kB / 0.5822 GB, free: 6.289 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2984/1.266, allocations: 30.05 MB / 0.6115 GB, free: 10.13 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02995/1.296, allocations: 10.2 MB / 0.6215 GB, free: 2.965 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005488/1.297, allocations: 0.5209 MB / 0.622 GB, free: 2.672 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00352/1.301, allocations: 0.7207 MB / 0.6227 GB, free: 2.195 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4513/1.752, allocations: 19.43 MB / 0.6417 GB, free: 202.7 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004016/1.752, allocations: 93.45 kB / 0.6418 GB, free: 202.7 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00197/1.754, allocations: 328.8 kB / 0.6421 GB, free: 202.5 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004048/1.758, allocations: 2.818 MB / 0.6448 GB, free: 201.4 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03505/1.794, allocations: 15.81 MB / 0.6603 GB, free: 187.9 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.09911/1.893, allocations: 73.08 MB / 0.7316 GB, free: 113.9 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02013/1.913, allocations: 8.075 MB / 0.7395 GB, free: 105.7 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02337/1.936, allocations: 14.38 MB / 0.7536 GB, free: 90.89 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.244e-05/1.936, allocations: 68.5 kB / 0.7536 GB, free: 90.81 MB / 494.1 MB Notification: Performance of pre-optimization done (n=308): time 7.123e-06/1.936, allocations: 0 / 0.7536 GB, free: 90.81 MB / 494.1 MB Notification: Performance of matching and sorting (n=408): time 0.159/2.095, allocations: 48.33 MB / 0.8008 GB, free: 42.45 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001452/2.096, allocations: 402.6 kB / 0.8012 GB, free: 41.97 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01307/2.109, allocations: 8.404 MB / 0.8094 GB, free: 33.57 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001318/2.11, allocations: 89.7 kB / 0.8095 GB, free: 33.47 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004487/2.115, allocations: 5.826 MB / 0.8152 GB, free: 27.64 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002371/2.117, allocations: 1.484 MB / 0.8166 GB, free: 26.16 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005122/2.118, allocations: 181 kB / 0.8168 GB, free: 25.99 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003709/2.118, allocations: 0.6907 MB / 0.8175 GB, free: 25.29 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005414/2.123, allocations: 4.321 MB / 0.8217 GB, free: 20.96 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007895/2.131, allocations: 9.262 MB / 0.8308 GB, free: 9.262 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008276/2.14, allocations: 6.21 MB / 0.8368 GB, free: 3.035 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.934e-05/2.14, allocations: 51.94 kB / 0.8369 GB, free: 2.984 MB / 494.1 MB Notification: Performance of matching and sorting (n=1202) (initialization): time 0.3013/2.441, allocations: 17.63 MB / 0.8541 GB, free: 180.9 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001202/2.441, allocations: 78.22 kB / 0.8542 GB, free: 180.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002273/2.441, allocations: 172.8 kB / 0.8543 GB, free: 180.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01505/2.456, allocations: 5.024 MB / 0.8592 GB, free: 179.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006609/2.463, allocations: 1.943 MB / 0.8611 GB, free: 179.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03557/2.499, allocations: 27.89 MB / 0.8884 GB, free: 162.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008678/2.507, allocations: 0.5438 MB / 0.8889 GB, free: 161.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001747/2.509, allocations: 0.5 MB / 0.8894 GB, free: 161.4 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 780 * 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 (1050): * Single equations (assignments): 1045 * 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.007943/2.517, allocations: 4.094 MB / 0.8934 GB, free: 157.4 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001693/2.519, allocations: 0.7095 MB / 0.8941 GB, free: 157 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02091/2.54, allocations: 11.42 MB / 0.9052 GB, free: 145.6 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.857e-05/2.54, allocations: 47.94 kB / 0.9053 GB, free: 145.6 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.584e-05/2.54, allocations: 22.95 kB / 0.9053 GB, free: 145.5 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.281e-05/2.54, allocations: 15.94 kB / 0.9053 GB, free: 145.5 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05137/2.591, allocations: 24.7 MB / 0.9294 GB, free: 120.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.859e-05/2.592, allocations: 8 kB / 0.9294 GB, free: 120.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002784/2.594, allocations: 0.5227 MB / 0.93 GB, free: 120.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01391/2.608, allocations: 4.456 MB / 0.9343 GB, free: 115.9 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009077/2.609, allocations: 75.98 kB / 0.9344 GB, free: 115.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02982/2.639, allocations: 24.52 MB / 0.9583 GB, free: 91.34 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.476e-06/2.639, allocations: 15.94 kB / 0.9583 GB, free: 91.33 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02645/2.666, allocations: 18.29 MB / 0.9762 GB, free: 72.66 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004896/2.671, allocations: 1.456 MB / 0.9776 GB, free: 71.18 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001842/2.672, allocations: 76 kB / 0.9777 GB, free: 71.11 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003739/2.676, allocations: 264.6 kB / 0.978 GB, free: 70.85 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008276/2.677, allocations: 286.9 kB / 0.9782 GB, free: 70.57 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002819/2.677, allocations: 113 kB / 0.9783 GB, free: 70.46 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.007978/2.685, allocations: 5.511 MB / 0.9837 GB, free: 64.96 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.11e-07/2.685, allocations: 0 / 0.9837 GB, free: 64.96 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01003/2.695, allocations: 2.23 MB / 0.9859 GB, free: 62.75 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 (284): * Single equations (assignments): 280 * 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%) 108} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009141/2.696, allocations: 287 kB / 0.9862 GB, free: 62.48 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01475/2.711, allocations: 10.85 MB / 0.9968 GB, free: 51.68 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.156e-05/2.711, allocations: 0 / 0.9968 GB, free: 51.68 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005948/2.717, allocations: 4.56 MB / 1.001 GB, free: 47.09 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005774/2.723, allocations: 1.048 MB / 1.002 GB, free: 46.05 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2507/2.974, allocations: 24.86 MB / 1.027 GB, free: 177.4 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0121/2.986, allocations: 6.567 MB / 1.033 GB, free: 176.5 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.008307/2.994, allocations: 2.95 MB / 1.036 GB, free: 176.4 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001932/2.996, allocations: 442.5 kB / 1.036 GB, free: 176.4 MB / 494.1 MB Notification: Performance of SimCode: time 8.32e-07/2.996, allocations: 0 / 1.036 GB, free: 176.4 MB / 494.1 MB Notification: Performance of Templates: time 0.1503/3.146, allocations: 97.69 MB / 1.132 GB, free: 92.68 MB / 494.1 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: