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.001653/0.001653, allocations: 188.1 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.557/1.557, allocations: 194.3 MB / 203.1 MB, free: 9.324 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001626/0.001626, allocations: 115.2 kB / 248.1 MB, free: 6.332 MB / 203.1 MB Notification: Performance of FrontEnd - loaded program: time 2.05e-05/2.026e-05, allocations: 8 kB / 298.1 MB, free: 8.25 MB / 251.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09248/0.09252, allocations: 44.5 MB / 342.6 MB, free: 11.65 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.356/0.4485, allocations: 101 MB / 443.6 MB, free: 11.26 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002582/0.4488, allocations: 86.36 kB / 443.7 MB, free: 11.21 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.7903/1.239, allocations: 228.6 MB / 0.6565 GB, free: 6.535 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.734e-06/1.239, allocations: 0 / 0.6565 GB, free: 6.535 MB / 395.1 MB Notification: Performance of Transformations before backend: time 0.0005768/1.24, allocations: 230.9 kB / 0.6567 GB, free: 6.312 MB / 395.1 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.5511/1.791, allocations: 12.28 MB / 0.6687 GB, free: 26.4 MB / 395.2 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/1.791, allocations: 8.875 kB / 0.6687 GB, free: 26.4 MB / 395.2 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0228/1.814, allocations: 3.985 MB / 0.6726 GB, free: 25.65 MB / 395.2 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03574/1.85, allocations: 12.17 MB / 0.6845 GB, free: 24.85 MB / 395.2 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007452/1.85, allocations: 395.9 kB / 0.6849 GB, free: 24.85 MB / 395.2 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006646/1.857, allocations: 0.699 MB / 0.6855 GB, free: 24.84 MB / 395.2 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04898/1.906, allocations: 21.48 MB / 0.7065 GB, free: 24.78 MB / 395.2 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06983/1.976, allocations: 26.42 MB / 0.7323 GB, free: 17.82 MB / 395.2 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005712/1.977, allocations: 101.1 kB / 0.7324 GB, free: 17.81 MB / 395.2 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005183/1.982, allocations: 52.44 kB / 0.7325 GB, free: 17.81 MB / 395.2 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003851/1.986, allocations: 2.587 MB / 0.735 GB, free: 17.33 MB / 395.2 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4447/2.43, allocations: 117.4 MB / 0.8496 GB, free: 25.11 MB / 443.2 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01263/2.443, allocations: 10.49 MB / 0.8599 GB, free: 24.45 MB / 443.2 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01099/2.454, allocations: 8.507 MB / 0.8682 GB, free: 24.39 MB / 443.2 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04577/2.5, allocations: 30.89 MB / 0.8984 GB, free: 15.9 MB / 443.2 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.679e-05/2.5, allocations: 87.84 kB / 0.8984 GB, free: 15.83 MB / 443.2 MB Notification: Performance of pre-optimization done (n=483): time 1.155e-05/2.5, allocations: 0 / 0.8984 GB, free: 15.83 MB / 443.2 MB Notification: Performance of matching and sorting (n=708): time 0.584/3.084, allocations: 116.9 MB / 1.013 GB, free: 116.1 MB / 491.2 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001089/3.084, allocations: 204.2 kB / 1.013 GB, free: 116 MB / 491.2 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01142/3.096, allocations: 6.079 MB / 1.019 GB, free: 115.6 MB / 491.2 MB Notification: Performance of collectPreVariables (initialization): time 0.002013/3.098, allocations: 32.55 kB / 1.019 GB, free: 115.6 MB / 491.2 MB Notification: Performance of collectInitialEqns (initialization): time 0.004856/3.103, allocations: 7.198 MB / 1.026 GB, free: 112.5 MB / 491.2 MB Notification: Performance of collectInitialBindings (initialization): time 0.004049/3.107, allocations: 2.426 MB / 1.028 GB, free: 111 MB / 491.2 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00292/3.11, allocations: 3.031 kB / 1.028 GB, free: 111 MB / 491.2 MB Notification: Performance of setup shared object (initialization): time 0.001094/3.111, allocations: 0.9089 MB / 1.029 GB, free: 110.6 MB / 491.2 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01405/3.125, allocations: 9.699 MB / 1.039 GB, free: 110.6 MB / 491.2 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02104/3.146, allocations: 16.53 MB / 1.055 GB, free: 101.9 MB / 491.2 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02244/3.168, allocations: 12.91 MB / 1.067 GB, free: 101.6 MB / 491.2 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004338/3.169, allocations: 67.25 kB / 1.067 GB, free: 101.6 MB / 491.2 MB Notification: Performance of matching and sorting (n=1887) (initialization): time 0.04602/3.215, allocations: 25.82 MB / 1.093 GB, free: 92.14 MB / 491.2 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002007/3.215, allocations: 108.2 kB / 1.093 GB, free: 92.14 MB / 491.2 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003979/3.215, allocations: 242.8 kB / 1.093 GB, free: 92.14 MB / 491.2 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004749/3.216, allocations: 362 kB / 1.093 GB, free: 92.14 MB / 491.2 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02028/3.236, allocations: 4.296 MB / 1.097 GB, free: 91.75 MB / 491.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003902/3.237, allocations: 480.3 kB / 1.098 GB, free: 91.66 MB / 491.2 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01472/3.251, allocations: 0.9522 MB / 1.099 GB, free: 91.63 MB / 491.2 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003583/3.255, allocations: 0.763 MB / 1.1 GB, free: 91.52 MB / 491.2 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1086 * 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 (1857): * Single equations (assignments): 1851 * 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.005259/3.26, allocations: 0.7759 MB / 1.1 GB, free: 90.89 MB / 491.2 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002205/3.262, allocations: 0.7459 MB / 1.101 GB, free: 90.48 MB / 491.2 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02759/3.29, allocations: 18.51 MB / 1.119 GB, free: 82.19 MB / 491.2 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.706e-05/3.29, allocations: 72.09 kB / 1.119 GB, free: 82.19 MB / 491.2 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.444e-05/3.29, allocations: 0 / 1.119 GB, free: 82.19 MB / 491.2 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001463/3.29, allocations: 31.97 kB / 1.119 GB, free: 82.19 MB / 491.2 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06434/3.355, allocations: 38.47 MB / 1.157 GB, free: 54.07 MB / 491.2 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.636e-05/3.355, allocations: 1.562 kB / 1.157 GB, free: 54.07 MB / 491.2 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01352/3.368, allocations: 2.119 MB / 1.159 GB, free: 52.59 MB / 491.2 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.429e-05/3.369, allocations: 24 kB / 1.159 GB, free: 52.57 MB / 491.2 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001641/3.37, allocations: 11.52 kB / 1.159 GB, free: 52.56 MB / 491.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.168e-05/3.37, allocations: 24.75 kB / 1.159 GB, free: 52.54 MB / 491.2 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/3.37, allocations: 7.938 kB / 1.159 GB, free: 52.53 MB / 491.2 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2917/3.662, allocations: 31.89 MB / 1.19 GB, free: 104.9 MB / 491.2 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006535/3.669, allocations: 2.633 MB / 1.193 GB, free: 104.8 MB / 491.2 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00265/3.671, allocations: 2.969 kB / 1.193 GB, free: 104.8 MB / 491.2 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007771/3.679, allocations: 0.649 MB / 1.193 GB, free: 104.8 MB / 491.2 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001339/3.68, allocations: 366.9 kB / 1.194 GB, free: 104.8 MB / 491.2 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007059/3.681, allocations: 166.5 kB / 1.194 GB, free: 104.8 MB / 491.2 MB Notification: Performance of sorting global known variables: time 0.007058/3.688, allocations: 4.051 MB / 1.198 GB, free: 104.6 MB / 491.2 MB Notification: Performance of sort global known variables: time 3.1e-07/3.688, allocations: 0 / 1.198 GB, free: 104.6 MB / 491.2 MB Notification: Performance of remove unused functions: time 0.01473/3.703, allocations: 2.744 MB / 1.2 GB, free: 104.6 MB / 491.2 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (692): * Single equations (assignments): 689 * 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.002021/3.705, allocations: 294.9 kB / 1.201 GB, free: 104.5 MB / 491.2 MB Notification: Performance of simCode: created initialization part: time 0.03037/3.735, allocations: 22.06 MB / 1.222 GB, free: 101.7 MB / 491.2 MB Notification: Performance of simCode: created event and clocks part: time 9.358e-06/3.735, allocations: 0 / 1.222 GB, free: 101.7 MB / 491.2 MB Notification: Performance of simCode: created simulation system equations: time 0.01387/3.749, allocations: 9.52 MB / 1.232 GB, free: 97.48 MB / 491.2 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007158/3.756, allocations: 0.6336 MB / 1.232 GB, free: 97.2 MB / 491.2 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05866/3.815, allocations: 28.11 MB / 1.26 GB, free: 86.78 MB / 491.2 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01608/3.831, allocations: 8.233 MB / 1.268 GB, free: 84.21 MB / 491.2 MB Notification: Performance of simCode: alias equations: time 0.01917/3.851, allocations: 5.141 MB / 1.273 GB, free: 84.13 MB / 491.2 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005887/3.856, allocations: 0.5753 MB / 1.273 GB, free: 83.64 MB / 491.2 MB Notification: Performance of SimCode: time 1.032e-06/3.856, allocations: 0 / 1.273 GB, free: 83.64 MB / 491.2 MB Notification: Performance of Templates: time 0.4173/4.274, allocations: 108.1 MB / 1.379 GB, free: 85.29 MB / 491.2 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)