Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009837/0.0009838, allocations: 182 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.669/1.669, allocations: 194.3 MB / 208.4 MB, free: 6.715 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001661/0.001661, allocations: 114.3 kB / 253.5 MB, free: 9.59 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.329e-05/3.331e-05, allocations: 4 kB / 304.9 MB, free: 29.76 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09539/0.09544, allocations: 44.5 MB / 349.4 MB, free: 1.242 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3797/0.4752, allocations: 101.7 MB / 451.1 MB, free: 10.02 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002955/0.4756, allocations: 88.06 kB / 451.2 MB, free: 9.969 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7726/1.248, allocations: 234 MB / 0.6691 GB, free: 9.652 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.695e-06/1.248, allocations: 0 / 0.6691 GB, free: 9.652 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000647/1.249, allocations: 235.9 kB / 0.6694 GB, free: 9.422 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4009 * Number of variables: 4009 Notification: Performance of Generate backend data structure: time 0.04267/1.292, allocations: 12.29 MB / 0.6814 GB, free: 13.04 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.326e-05/1.292, allocations: 8.031 kB / 0.6814 GB, free: 13.03 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02307/1.315, allocations: 3.986 MB / 0.6853 GB, free: 9.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5554/1.87, allocations: 12.17 MB / 0.6972 GB, free: 39.83 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000915/1.871, allocations: 0.8864 MB / 0.698 GB, free: 39.8 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00586/1.877, allocations: 1.189 MB / 0.6992 GB, free: 39.8 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0853/1.962, allocations: 33.51 MB / 0.7319 GB, free: 35.02 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006518/1.963, allocations: 97.62 kB / 0.732 GB, free: 35.02 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006194/1.969, allocations: 0.537 MB / 0.7325 GB, free: 35.02 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003837/1.973, allocations: 2.585 MB / 0.7351 GB, free: 35 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06772/2.041, allocations: 30.6 MB / 0.7649 GB, free: 30.9 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5754/2.616, allocations: 120.4 MB / 0.8825 GB, free: 27.91 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.07633/2.693, allocations: 17.26 MB / 0.8993 GB, free: 27.21 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01722/2.71, allocations: 8.73 MB / 0.9079 GB, free: 27.16 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06441/2.774, allocations: 31.08 MB / 0.9382 GB, free: 19.48 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.906e-05/2.775, allocations: 87.45 kB / 0.9383 GB, free: 19.43 MB / 458.8 MB Notification: Performance of pre-optimization done (n=489): time 8.917e-06/2.775, allocations: 0 / 0.9383 GB, free: 19.43 MB / 458.8 MB Notification: Performance of matching and sorting (n=726): time 0.7439/3.518, allocations: 122.2 MB / 1.058 GB, free: 123.1 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001186/3.519, allocations: 205.9 kB / 1.058 GB, free: 123 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01813/3.537, allocations: 6.91 MB / 1.065 GB, free: 122.3 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.002715/3.539, allocations: 137.1 kB / 1.065 GB, free: 122.3 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.006155/3.546, allocations: 7.069 MB / 1.072 GB, free: 118.5 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.004647/3.55, allocations: 2.572 MB / 1.074 GB, free: 116.9 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002535/3.553, allocations: 287.6 kB / 1.074 GB, free: 116.9 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.001105/3.554, allocations: 0.9099 MB / 1.075 GB, free: 116.6 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01607/3.57, allocations: 10.09 MB / 1.085 GB, free: 116.6 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02149/3.592, allocations: 16.7 MB / 1.102 GB, free: 108.3 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01982/3.611, allocations: 12.88 MB / 1.114 GB, free: 104.2 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002968/3.612, allocations: 70.58 kB / 1.114 GB, free: 104.2 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1875) (initialization): time 0.04902/3.661, allocations: 27.24 MB / 1.141 GB, free: 93.69 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001906/3.661, allocations: 108.8 kB / 1.141 GB, free: 93.69 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003456/3.661, allocations: 227.4 kB / 1.141 GB, free: 93.69 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003691/3.662, allocations: 350.3 kB / 1.141 GB, free: 93.69 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02047/3.682, allocations: 4.254 MB / 1.146 GB, free: 93.31 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000485/3.683, allocations: 465.9 kB / 1.146 GB, free: 93.21 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0175/3.7, allocations: 1.22 MB / 1.147 GB, free: 92.96 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0046/3.705, allocations: 0.749 MB / 1.148 GB, free: 92.85 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1031 * Number of states: 0 () * Number of discrete variables: 99 (body3.sphereColor[3],body3.sphereColor[2],body3.sphereColor[1],body3.cylinderColor[3],body3.cylinderColor[2],body3.cylinderColor[1],rod4.color[3],rod4.color[2],rod4.color[1],jointRRR3.rodColor[3],jointRRR3.rodColor[2],jointRRR3.rodColor[1],jointRRR3.cylinderColor[3],jointRRR3.cylinderColor[2],jointRRR3.cylinderColor[1],jointRRR3.jointUSR.rod1Color[3],jointRRR3.jointUSR.rod1Color[2],jointRRR3.jointUSR.rod1Color[1],jointRRR3.jointUSR.cylinderColor[3],jointRRR3.jointUSR.cylinderColor[2],jointRRR3.jointUSR.cylinderColor[1],jointRRR3.jointUSR.sphereColor[3],jointRRR3.jointUSR.sphereColor[2],jointRRR3.jointUSR.sphereColor[1],jointRRR3.jointUSR.revoluteColor[3],jointRRR3.jointUSR.revoluteColor[2],jointRRR3.jointUSR.revoluteColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body2.cylinderColor[3],body2.cylinderColor[2],body2.cylinderColor[1],rod3.color[3],rod3.color[2],rod3.color[1],jointRRR2.rodColor[3],jointRRR2.rodColor[2],jointRRR2.rodColor[1],jointRRR2.cylinderColor[3],jointRRR2.cylinderColor[2],jointRRR2.cylinderColor[1],jointRRR2.jointUSR.rod1Color[3],jointRRR2.jointUSR.rod1Color[2],jointRRR2.jointUSR.rod1Color[1],jointRRR2.jointUSR.cylinderColor[3],jointRRR2.jointUSR.cylinderColor[2],jointRRR2.jointUSR.cylinderColor[1],jointRRR2.jointUSR.sphereColor[3],jointRRR2.jointUSR.sphereColor[2],jointRRR2.jointUSR.sphereColor[1],jointRRR2.jointUSR.revoluteColor[3],jointRRR2.jointUSR.revoluteColor[2],jointRRR2.jointUSR.revoluteColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],body1.cylinderColor[3],body1.cylinderColor[2],body1.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],rod1.color[3],rod1.color[2],rod1.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],jointRRR1.rodColor[3],jointRRR1.rodColor[2],jointRRR1.rodColor[1],jointRRR1.cylinderColor[3],jointRRR1.cylinderColor[2],jointRRR1.cylinderColor[1],jointRRR1.jointUSR.revolute.positiveBranch,jointRRR2.jointUSR.revolute.positiveBranch,jointRRR3.jointUSR.revolute.positiveBranch,jointRRR1.jointUSR.rod1Color[3],jointRRR1.jointUSR.rod1Color[2],jointRRR1.jointUSR.rod1Color[1],jointRRR1.jointUSR.cylinderColor[3],jointRRR1.jointUSR.cylinderColor[2],jointRRR1.jointUSR.cylinderColor[1],jointRRR1.jointUSR.sphereColor[3],jointRRR1.jointUSR.sphereColor[2],jointRRR1.jointUSR.sphereColor[1],jointRRR1.jointUSR.revoluteColor[3],jointRRR1.jointUSR.revoluteColor[2],jointRRR1.jointUSR.revoluteColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1845): * Single equations (assignments): 1839 * Array equations: 6 * 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.00664/3.712, allocations: 1.128 MB / 1.149 GB, free: 91.94 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003389/3.715, allocations: 0.7997 MB / 1.15 GB, free: 91.5 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03506/3.75, allocations: 19.39 MB / 1.169 GB, free: 82.73 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001005/3.75, allocations: 76.78 kB / 1.169 GB, free: 82.73 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.233e-05/3.75, allocations: 3.625 kB / 1.169 GB, free: 82.73 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001042/3.75, allocations: 36.14 kB / 1.169 GB, free: 82.73 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07842/3.829, allocations: 42.32 MB / 1.21 GB, free: 48.21 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.088e-05/3.829, allocations: 8 kB / 1.21 GB, free: 48.2 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01289/3.842, allocations: 2.147 MB / 1.212 GB, free: 46.7 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001381/3.842, allocations: 32 kB / 1.212 GB, free: 46.67 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002016/3.844, allocations: 123.5 kB / 1.212 GB, free: 46.55 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.212e-05/3.844, allocations: 35.45 kB / 1.212 GB, free: 46.52 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.284e-06/3.844, allocations: 15.59 kB / 1.212 GB, free: 46.51 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.39/4.234, allocations: 35.55 MB / 1.247 GB, free: 113.7 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009468/4.244, allocations: 2.716 MB / 1.25 GB, free: 113.6 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004222/4.248, allocations: 116 kB / 1.25 GB, free: 113.6 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01129/4.259, allocations: 0.7641 MB / 1.251 GB, free: 113.6 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00267/4.262, allocations: 394.1 kB / 1.251 GB, free: 113.6 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001406/4.263, allocations: 181.3 kB / 1.251 GB, free: 113.6 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.01109/4.274, allocations: 4.779 MB / 1.256 GB, free: 113.3 MB / 0.4949 GB Notification: Performance of sort global known variables: time 6.61e-07/4.274, allocations: 0 / 1.256 GB, free: 113.3 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.01897/4.293, allocations: 3.166 MB / 1.259 GB, free: 113.3 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (710): * Single equations (assignments): 707 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003266/4.297, allocations: 416 kB / 1.259 GB, free: 113.2 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.03674/4.334, allocations: 22.91 MB / 1.282 GB, free: 108.4 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.264e-05/4.334, allocations: 4 kB / 1.282 GB, free: 108.4 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.01452/4.348, allocations: 9.724 MB / 1.291 GB, free: 104.1 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00737/4.356, allocations: 0.8561 MB / 1.292 GB, free: 103.7 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06876/4.424, allocations: 28.78 MB / 1.32 GB, free: 92.82 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01841/4.443, allocations: 8.269 MB / 1.328 GB, free: 90.24 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.02117/4.464, allocations: 5.066 MB / 1.333 GB, free: 87.06 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006944/4.471, allocations: 0.5966 MB / 1.334 GB, free: 86.49 MB / 0.4949 GB Notification: Performance of SimCode: time 2.164e-06/4.471, allocations: 0 / 1.334 GB, free: 86.49 MB / 0.4949 GB Notification: Performance of Templates: time 0.4864/4.957, allocations: 122.3 MB / 1.453 GB, free: 92.78 MB / 0.4949 GB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.pipe 2>&1)