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.001031/0.001031, allocations: 179.4 kB / 16.38 MB, free: 5.766 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.195/1.195, allocations: 194.5 MB / 211.6 MB, free: 3.051 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.001597/0.001597, allocations: 117.2 kB / 256.9 MB, free: 4.344 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003186/0.0003187, allocations: 8 kB / 310.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08275/0.08309, allocations: 44.49 MB / 355.1 MB, free: 2.34 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2522/0.3354, allocations: 101.8 MB / 456.8 MB, free: 4.195 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002024/0.3356, allocations: 96.81 kB / 456.9 MB, free: 4.141 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8136/1.149, allocations: 233.8 MB / 0.6745 GB, free: 27.68 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.046e-06/1.149, allocations: 2.938 kB / 0.6745 GB, free: 27.68 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0005723/1.15, allocations: 240 kB / 0.6748 GB, free: 27.68 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.03742/1.187, allocations: 13 MB / 0.6875 GB, free: 23.45 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/1.187, allocations: 12.47 kB / 0.6875 GB, free: 23.45 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02116/1.209, allocations: 3.984 MB / 0.6914 GB, free: 22.7 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03039/1.239, allocations: 12.22 MB / 0.7033 GB, free: 21.5 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001269/1.24, allocations: 0.8868 MB / 0.7042 GB, free: 21.48 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007451/1.248, allocations: 1.184 MB / 0.7053 GB, free: 21.46 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07267/1.32, allocations: 33.81 MB / 0.7384 GB, free: 16.59 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006182/1.321, allocations: 98.14 kB / 0.7384 GB, free: 16.59 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004996/1.326, allocations: 0.5336 MB / 0.739 GB, free: 16.59 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003515/1.33, allocations: 2.585 MB / 0.7415 GB, free: 16.55 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05957/1.389, allocations: 31.06 MB / 0.7718 GB, free: 2.637 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3538/1.743, allocations: 121.2 MB / 0.8902 GB, free: 23.29 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0439/1.787, allocations: 17.35 MB / 0.9072 GB, free: 22.57 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03703/1.824, allocations: 31.08 MB / 0.9375 GB, free: 12.41 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.531e-05/1.824, allocations: 89.8 kB / 0.9376 GB, free: 12.34 MB / 458.7 MB Notification: Performance of pre-optimization done (n=489): time 7.845e-06/1.824, allocations: 2.781 kB / 0.9376 GB, free: 12.34 MB / 458.7 MB Notification: Performance of matching and sorting (n=726): time 0.7941/2.618, allocations: 172.2 MB / 1.106 GB, free: 58.41 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.482e-05/2.618, allocations: 205.5 kB / 1.106 GB, free: 58.18 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01259/2.631, allocations: 7.021 MB / 1.113 GB, free: 52.41 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002141/2.633, allocations: 141.7 kB / 1.113 GB, free: 52.27 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004194/2.637, allocations: 7.072 MB / 1.12 GB, free: 46.18 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003727/2.641, allocations: 2.576 MB / 1.122 GB, free: 43.88 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002377/2.644, allocations: 291.4 kB / 1.123 GB, free: 43.59 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0009886/2.645, allocations: 0.916 MB / 1.124 GB, free: 42.84 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01522/2.66, allocations: 10.3 MB / 1.134 GB, free: 33.85 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2311/2.891, allocations: 16.91 MB / 1.15 GB, free: 68.66 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01833/2.909, allocations: 13.01 MB / 1.163 GB, free: 68.57 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001796/2.91, allocations: 65.09 kB / 1.163 GB, free: 68.57 MB / 458.7 MB Notification: Performance of matching and sorting (n=1875) (initialization): time 0.05472/2.964, allocations: 27.67 MB / 1.19 GB, free: 67.77 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002365/2.965, allocations: 102.9 kB / 1.19 GB, free: 67.77 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004495/2.965, allocations: 225.4 kB / 1.19 GB, free: 67.77 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004433/2.966, allocations: 347.3 kB / 1.191 GB, free: 67.77 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01878/2.984, allocations: 4.259 MB / 1.195 GB, free: 67.51 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004644/2.985, allocations: 464.9 kB / 1.195 GB, free: 67.41 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01476/3, allocations: 1.225 MB / 1.196 GB, free: 67.41 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003995/3.004, allocations: 0.7436 MB / 1.197 GB, free: 67.41 MB / 458.7 MB 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 () * Number of clocked 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.01495/3.019, allocations: 5.456 MB / 1.202 GB, free: 66.2 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003382/3.022, allocations: 0.7961 MB / 1.203 GB, free: 66.2 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03429/3.056, allocations: 19.61 MB / 1.222 GB, free: 57.07 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.137e-05/3.057, allocations: 75.09 kB / 1.222 GB, free: 57.07 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.218e-05/3.057, allocations: 3.094 kB / 1.222 GB, free: 57.07 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001526/3.057, allocations: 32.95 kB / 1.222 GB, free: 57.07 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06914/3.126, allocations: 42.54 MB / 1.264 GB, free: 38.67 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.05e-05/3.126, allocations: 7.375 kB / 1.264 GB, free: 38.67 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01142/3.137, allocations: 2.15 MB / 1.266 GB, free: 38.2 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.436e-05/3.137, allocations: 32 kB / 1.266 GB, free: 38.17 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001048/3.139, allocations: 124.8 kB / 1.266 GB, free: 38.05 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.773e-05/3.139, allocations: 35.05 kB / 1.266 GB, free: 38.02 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.743e-06/3.139, allocations: 14.62 kB / 1.266 GB, free: 38.01 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03604/3.175, allocations: 33.93 MB / 1.299 GB, free: 7.262 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007823/3.183, allocations: 2.718 MB / 1.302 GB, free: 4.805 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002312/3.185, allocations: 116 kB / 1.302 GB, free: 4.691 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007065/3.192, allocations: 0.7615 MB / 1.303 GB, free: 4.246 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001155/3.193, allocations: 389.9 kB / 1.303 GB, free: 4 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006567/3.194, allocations: 185.6 kB / 1.303 GB, free: 3.828 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.009155/3.203, allocations: 4.956 MB / 1.308 GB, free: 0 / 458.7 MB Notification: Performance of sort global known variables: time 4.81e-07/3.203, allocations: 3.062 kB / 1.308 GB, free: 0 / 458.7 MB Notification: Performance of remove unused functions: time 0.03098/3.234, allocations: 4.652 MB / 1.313 GB, free: 0 / 458.7 MB 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 () * Number of clocked 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.002485/3.236, allocations: 421 kB / 1.313 GB, free: 15.64 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.2372/3.474, allocations: 25.08 MB / 1.338 GB, free: 93.29 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.554e-05/3.474, allocations: 3.188 kB / 1.338 GB, free: 93.29 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01397/3.488, allocations: 9.829 MB / 1.347 GB, free: 93.26 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00489/3.493, allocations: 0.8614 MB / 1.348 GB, free: 93.23 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05603/3.549, allocations: 37.79 MB / 1.385 GB, free: 81.11 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01305/3.562, allocations: 8.262 MB / 1.393 GB, free: 78.54 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01743/3.579, allocations: 5.064 MB / 1.398 GB, free: 78.45 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006296/3.586, allocations: 0.6043 MB / 1.399 GB, free: 78.44 MB / 474.7 MB Notification: Performance of SimCode: time 1.232e-06/3.586, allocations: 0 / 1.399 GB, free: 78.44 MB / 474.7 MB Notification: Performance of Templates: time 0.4284/4.014, allocations: 122.4 MB / 1.518 GB, free: 86.36 MB / 474.7 MB 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)