Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001092/0.001092, allocations: 97.33 kB / 16.5 MB, free: 6.641 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.001317/0.001317, allocations: 195.1 kB / 17.42 MB, free: 6.066 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.41/1.41, allocations: 205.1 MB / 223.3 MB, free: 12.45 MB / 190.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.001422/0.001422, allocations: 56.3 kB / 279.3 MB, free: 3.578 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09872/0.1002, allocations: 46.63 MB / 326 MB, free: 4.879 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic): time 0.3103/0.4105, allocations: 114.3 MB / 440.3 MB, free: 3.914 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.05862/0.4691, allocations: 22.39 MB / 462.7 MB, free: 13.45 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02964/0.4989, allocations: 0.5104 MB / 463.2 MB, free: 12.94 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01484/0.5138, allocations: 7.983 MB / 471.2 MB, free: 4.941 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009803/0.5236, allocations: 3.422 MB / 474.6 MB, free: 1.508 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004749/0.5284, allocations: 1.856 MB / 476.4 MB, free: 15.65 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02177/0.5502, allocations: 17.36 MB / 493.8 MB, free: 14.26 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0128/0.563, allocations: 10.16 MB / 0.4922 GB, free: 4.023 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01063/0.5737, allocations: 3.754 MB / 0.4958 GB, free: 264 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01257/0.5863, allocations: 6.018 MB / 0.5017 GB, free: 10.22 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005007/0.5914, allocations: 0.6289 MB / 0.5023 GB, free: 9.59 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006827/0.5982, allocations: 1.869 MB / 0.5041 GB, free: 7.723 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007719/0.606, allocations: 4.73 MB / 0.5088 GB, free: 2.98 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01141/0.6175, allocations: 5.043 MB / 0.5137 GB, free: 13.91 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02364/0.6411, allocations: 16.65 MB / 0.5299 GB, free: 13.21 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.016e-05/0.6412, allocations: 0 / 0.5299 GB, free: 13.21 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.816e-06/0.6412, allocations: 0 / 0.5299 GB, free: 13.21 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0007539/0.642, allocations: 0 / 0.5299 GB, free: 13.21 MB / 446.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.03767/0.6797, allocations: 11.24 MB / 0.5409 GB, free: 1.875 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.593e-05/0.6797, allocations: 8.031 kB / 0.5409 GB, free: 1.867 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.479/1.159, allocations: 5.417 MB / 0.5462 GB, free: 62.61 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02158/1.18, allocations: 9.156 MB / 0.5552 GB, free: 61.68 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004437/1.181, allocations: 0.5213 MB / 0.5557 GB, free: 61.66 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002797/1.184, allocations: 0.7315 MB / 0.5564 GB, free: 61.65 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04267/1.226, allocations: 19.51 MB / 0.5754 GB, free: 58.76 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007514/1.227, allocations: 91.58 kB / 0.5755 GB, free: 58.75 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003215/1.23, allocations: 325.1 kB / 0.5758 GB, free: 58.75 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004485/1.235, allocations: 2.822 MB / 0.5786 GB, free: 57.85 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03399/1.269, allocations: 16.25 MB / 0.5945 GB, free: 41.89 MB / 446.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.1047/1.374, allocations: 74.57 MB / 0.6673 GB, free: 14.27 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0242/1.398, allocations: 8.474 MB / 0.6756 GB, free: 5.672 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007737/1.406, allocations: 4.762 MB / 0.6802 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0304/1.436, allocations: 15.41 MB / 0.6953 GB, free: 1.062 MB / 0.4982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.041e-05/1.436, allocations: 71.75 kB / 0.6953 GB, free: 0.9844 MB / 0.4982 GB Notification: Performance of pre-optimization done (n=319): time 7.043e-06/1.436, allocations: 0 / 0.6953 GB, free: 0.9844 MB / 0.4982 GB Notification: Performance of matching and sorting (n=419): time 0.4258/1.862, allocations: 50.43 MB / 0.7446 GB, free: 254.4 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000144/1.862, allocations: 411.4 kB / 0.745 GB, free: 254 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01487/1.877, allocations: 7.647 MB / 0.7524 GB, free: 252.2 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.00128/1.878, allocations: 88.52 kB / 0.7525 GB, free: 252.2 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.004068/1.882, allocations: 5.626 MB / 0.758 GB, free: 248.8 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002284/1.885, allocations: 1.534 MB / 0.7595 GB, free: 247.7 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003482/1.888, allocations: 2.079 MB / 0.7615 GB, free: 246.7 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 6.412e-05/1.888, allocations: 309.1 kB / 0.7618 GB, free: 246.4 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007177/1.895, allocations: 5.117 MB / 0.7668 GB, free: 244.5 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0114/1.907, allocations: 10.2 MB / 0.7768 GB, free: 235.9 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02041/1.927, allocations: 16.13 MB / 0.7926 GB, free: 224.3 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002326/1.928, allocations: 48.38 kB / 0.7926 GB, free: 224.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=1332) (initialization): time 0.04366/1.971, allocations: 20.87 MB / 0.813 GB, free: 211.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002096/1.971, allocations: 76 kB / 0.8131 GB, free: 211.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002668/1.972, allocations: 172 kB / 0.8132 GB, free: 211.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01894/1.991, allocations: 6.454 MB / 0.8195 GB, free: 204.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007634/1.998, allocations: 2.148 MB / 0.8216 GB, free: 202.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04357/2.042, allocations: 31.43 MB / 0.8523 GB, free: 171.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009345/2.051, allocations: 0.6179 MB / 0.8529 GB, free: 170.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002141/2.054, allocations: 0.5351 MB / 0.8534 GB, free: 169.9 MB / 0.545 GB 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,124,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008837/2.062, allocations: 4.1 MB / 0.8574 GB, free: 165.8 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002409/2.065, allocations: 0.6865 MB / 0.8581 GB, free: 165.1 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02905/2.094, allocations: 13.85 MB / 0.8716 GB, free: 151.2 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-05/2.094, allocations: 44 kB / 0.8717 GB, free: 151.2 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.667e-05/2.094, allocations: 30.89 kB / 0.8717 GB, free: 151.2 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.824e-05/2.094, allocations: 19.92 kB / 0.8717 GB, free: 151.1 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05602/2.15, allocations: 27.19 MB / 0.8983 GB, free: 123.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001001/2.15, allocations: 8 kB / 0.8983 GB, free: 123.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002808/2.153, allocations: 0.5475 MB / 0.8988 GB, free: 123.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01827/2.172, allocations: 5.954 MB / 0.9046 GB, free: 117.3 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00152/2.173, allocations: 79.92 kB / 0.9047 GB, free: 117.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04099/2.214, allocations: 28.2 MB / 0.9322 GB, free: 88.87 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.115e-06/2.214, allocations: 11.94 kB / 0.9323 GB, free: 88.86 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03601/2.25, allocations: 19.99 MB / 0.9518 GB, free: 68.68 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005529/2.256, allocations: 1.554 MB / 0.9533 GB, free: 67.1 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003538/2.259, allocations: 79.98 kB / 0.9534 GB, free: 67.02 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005807/2.265, allocations: 308.1 kB / 0.9537 GB, free: 66.72 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001913/2.267, allocations: 295.1 kB / 0.9539 GB, free: 66.43 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000944/2.268, allocations: 111.9 kB / 0.9541 GB, free: 66.32 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.009444/2.278, allocations: 4.898 MB / 0.9588 GB, free: 61.46 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.903e-06/2.278, allocations: 0 / 0.9588 GB, free: 61.46 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01455/2.292, allocations: 2.409 MB / 0.9612 GB, free: 59.07 MB / 0.545 GB 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,111,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001759/2.294, allocations: 281.9 kB / 0.9615 GB, free: 58.79 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01911/2.313, allocations: 12.38 MB / 0.9736 GB, free: 46.41 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.418e-05/2.313, allocations: 6.297 kB / 0.9736 GB, free: 46.41 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.008008/2.321, allocations: 5.105 MB / 0.9785 GB, free: 41.29 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01118/2.332, allocations: 1.01 MB / 0.9795 GB, free: 40.29 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2938/2.626, allocations: 26.86 MB / 1.006 GB, free: 232.1 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01458/2.641, allocations: 6.394 MB / 1.012 GB, free: 231.2 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.009336/2.65, allocations: 2.96 MB / 1.015 GB, free: 231.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002075/2.652, allocations: 433.5 kB / 1.015 GB, free: 231.1 MB / 0.545 GB Notification: Performance of SimCode: time 9.52e-07/2.652, allocations: 3.094 kB / 1.015 GB, free: 231.1 MB / 0.545 GB Notification: Performance of Templates: time 0.1591/2.811, allocations: 106.9 MB / 1.12 GB, free: 143.6 MB / 0.545 GB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1b_analytic.pipe 2>&1)