Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_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.PlanarLoops_analytic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008262/0.008262, allocations: 102.7 kB / 15.73 MB, free: 6.035 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.001827/0.001828, allocations: 193.3 kB / 16.67 MB, free: 5.953 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.526/1.526, allocations: 205.1 MB / 222.5 MB, free: 4.488 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.001178/0.001178, allocations: 50.02 kB / 326.6 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.103, allocations: 46.62 MB / 373.2 MB, free: 1.312 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic): time 0.02922/0.1322, allocations: 26.8 MB / 400 MB, free: 6.391 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01832/0.1506, allocations: 7.965 MB / 407.9 MB, free: 14.4 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005959/0.1567, allocations: 179.6 kB / 408.1 MB, free: 14.22 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02137/0.1781, allocations: 11.09 MB / 419.2 MB, free: 3.098 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01243/0.1905, allocations: 3.742 MB / 423 MB, free: 15.34 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007074/0.1976, allocations: 2.59 MB / 425.5 MB, free: 12.75 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01558/0.2132, allocations: 10.36 MB / 435.9 MB, free: 2.355 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02248/0.2357, allocations: 15.79 MB / 451.7 MB, free: 2.445 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2565/0.4923, allocations: 5.238 MB / 456.9 MB, free: 17.82 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01419/0.5065, allocations: 6.822 MB / 463.8 MB, free: 17.8 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.007168/0.5137, allocations: 1.438 MB / 465.2 MB, free: 17.8 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01189/0.5256, allocations: 2.72 MB / 467.9 MB, free: 17.8 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0116/0.5373, allocations: 6.048 MB / 474 MB, free: 17.29 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01542/0.5527, allocations: 6.866 MB / 480.8 MB, free: 13.71 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02469/0.5775, allocations: 23.02 MB / 0.492 GB, free: 1.195 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.5775, allocations: 4.891 kB / 0.492 GB, free: 1.191 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.5775, allocations: 0 / 0.492 GB, free: 1.191 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0009183/0.5784, allocations: 0 / 0.492 GB, free: 1.191 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4012 * Number of variables: 4012 Notification: Performance of Generate backend data structure: time 0.047/0.6255, allocations: 13.99 MB / 0.5057 GB, free: 7.586 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.261e-05/0.6255, allocations: 8.031 kB / 0.5057 GB, free: 7.578 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.016/0.6415, allocations: 3.079 MB / 0.5087 GB, free: 4.484 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01658/0.6582, allocations: 7.173 MB / 0.5157 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008252/0.659, allocations: 0.7427 MB / 0.5164 GB, free: 13.01 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006246/0.6653, allocations: 1.108 MB / 0.5175 GB, free: 11.99 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0927/0.758, allocations: 33.88 MB / 0.5506 GB, free: 9.148 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004948/0.7586, allocations: 87.64 kB / 0.5507 GB, free: 9.102 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005157/0.7637, allocations: 455.7 kB / 0.5511 GB, free: 8.73 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008317/0.7721, allocations: 4.555 MB / 0.5556 GB, free: 4.234 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07965/0.8518, allocations: 31.96 MB / 0.5868 GB, free: 4.641 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4554/1.307, allocations: 113.6 MB / 0.6977 GB, free: 81.34 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05433/1.362, allocations: 18.71 MB / 0.716 GB, free: 79.75 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01287/1.375, allocations: 10.01 MB / 0.7257 GB, free: 75.16 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04877/1.423, allocations: 32.25 MB / 0.7572 GB, free: 52.29 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.866e-05/1.424, allocations: 90.14 kB / 0.7573 GB, free: 52.19 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=512): time 1.151e-05/1.424, allocations: 0 / 0.7573 GB, free: 52.19 MB / 0.5137 GB Notification: Performance of matching and sorting (n=773): time 0.8744/2.298, allocations: 165.9 MB / 0.9193 GB, free: 161.3 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001048/2.298, allocations: 210.2 kB / 0.9195 GB, free: 161.1 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0143/2.312, allocations: 7.995 MB / 0.9273 GB, free: 153.1 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.002842/2.315, allocations: 141.7 kB / 0.9274 GB, free: 153 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.004446/2.32, allocations: 6.929 MB / 0.9342 GB, free: 146 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.004719/2.325, allocations: 2.734 MB / 0.9369 GB, free: 143.3 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01153/2.336, allocations: 3.042 MB / 0.9398 GB, free: 140.3 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 5.707e-05/2.336, allocations: 308.9 kB / 0.9401 GB, free: 140 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01618/2.352, allocations: 11.22 MB / 0.9511 GB, free: 128.8 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02031/2.373, allocations: 17.78 MB / 0.9685 GB, free: 107.9 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04016/2.413, allocations: 30.23 MB / 0.998 GB, free: 74.58 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002833/2.413, allocations: 60 kB / 0.998 GB, free: 74.52 MB / 0.545 GB Notification: Performance of matching and sorting (n=1941) (initialization): time 0.0524/2.466, allocations: 29.51 MB / 1.027 GB, free: 44.97 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003223/2.466, allocations: 100.2 kB / 1.027 GB, free: 44.87 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003669/2.466, allocations: 224 kB / 1.027 GB, free: 44.65 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003573/2.467, allocations: 308 kB / 1.027 GB, free: 44.35 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02239/2.489, allocations: 4.593 MB / 1.032 GB, free: 39.75 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005322/2.49, allocations: 458.3 kB / 1.032 GB, free: 39.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.016/2.506, allocations: 1.172 MB / 1.034 GB, free: 38.13 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004285/2.51, allocations: 0.7473 MB / 1.034 GB, free: 37.38 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1004 * Number of states: 0 () * Number of discrete variables: 102 (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],jointRRR3.jointUSR.revolute.positiveBranch,jointRRR2.jointUSR.revolute.positiveBranch,jointRRR1.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.groundColor[3],world.groundColor[2],world.groundColor[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 (1905): * Single equations (assignments): 1896 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.2417/2.752, allocations: 5.499 MB / 1.04 GB, free: 187.1 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002499/2.754, allocations: 0.8035 MB / 1.04 GB, free: 187.1 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03326/2.788, allocations: 21.36 MB / 1.061 GB, free: 177.2 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.172e-05/2.788, allocations: 77.81 kB / 1.061 GB, free: 177.2 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.959e-05/2.788, allocations: 0 / 1.061 GB, free: 177.2 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.966e-05/2.788, allocations: 42.95 kB / 1.061 GB, free: 177.2 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06552/2.853, allocations: 45.29 MB / 1.106 GB, free: 155.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.198e-05/2.853, allocations: 8 kB / 1.106 GB, free: 155.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01404/2.867, allocations: 2.51 MB / 1.108 GB, free: 153.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001194/2.868, allocations: 32 kB / 1.108 GB, free: 153.4 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001301/2.869, allocations: 138 kB / 1.108 GB, free: 153.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.458e-05/2.869, allocations: 42.55 kB / 1.108 GB, free: 153.3 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-06/2.869, allocations: 4 kB / 1.108 GB, free: 153.3 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04787/2.917, allocations: 35.78 MB / 1.143 GB, free: 117.9 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008083/2.925, allocations: 2.902 MB / 1.146 GB, free: 115.3 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004629/2.93, allocations: 132 kB / 1.146 GB, free: 115.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01028/2.94, allocations: 0.776 MB / 1.147 GB, free: 114.4 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00287/2.943, allocations: 423.2 kB / 1.147 GB, free: 113.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002188/2.945, allocations: 194.8 kB / 1.148 GB, free: 113.8 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.01018/2.955, allocations: 5.003 MB / 1.152 GB, free: 108.8 MB / 0.545 GB Notification: Performance of sort global known variables: time 6.02e-07/2.955, allocations: 0 / 1.152 GB, free: 108.8 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0177/2.973, allocations: 3.281 MB / 1.156 GB, free: 105.5 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * 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 (757): * Single equations (assignments): 754 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003924/2.977, allocations: 445.5 kB / 1.156 GB, free: 105.1 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.03827/3.015, allocations: 25.09 MB / 1.181 GB, free: 80.12 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.879e-05/3.015, allocations: 4 kB / 1.181 GB, free: 80.12 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.01677/3.032, allocations: 10.66 MB / 1.191 GB, free: 69.46 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01204/3.044, allocations: 1.018 MB / 1.192 GB, free: 68.48 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06707/3.111, allocations: 34.08 MB / 1.225 GB, free: 34.34 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2309/3.342, allocations: 8.098 MB / 1.233 GB, free: 182.2 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.02018/3.362, allocations: 5.268 MB / 1.238 GB, free: 182.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007103/3.37, allocations: 0.6226 MB / 1.239 GB, free: 182.1 MB / 0.545 GB Notification: Performance of SimCode: time 9.92e-07/3.37, allocations: 0 / 1.239 GB, free: 182.1 MB / 0.545 GB Notification: Performance of Templates: time 0.1904/3.56, allocations: 128.6 MB / 1.364 GB, free: 83.34 MB / 0.545 GB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.pipe 2>&1)