Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic") Notification: Performance of loadModel(Modelica): time 1.892/1.892, allocations: 225.8 MB / 239.3 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.462e-05/3.473e-05, allocations: 8 kB / 292.1 MB, free: 8.812 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08979/0.08985, allocations: 50.41 MB / 342.5 MB, free: 6.383 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4011/0.491, allocations: 109.7 MB / 452.3 MB, free: 0.7539 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002698/0.4913, allocations: 89.89 kB / 452.4 MB, free: 0.7109 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.102/1.594, allocations: 237.7 MB / 0.6739 GB, free: 16.41 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.617e-06/1.594, allocations: 0 / 0.6739 GB, free: 16.41 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0005778/1.594, allocations: 239.9 kB / 0.6741 GB, free: 16.17 MB / 442.7 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.04291/1.637, allocations: 12.29 MB / 0.6861 GB, free: 3.789 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/1.637, allocations: 8.031 kB / 0.6861 GB, free: 3.781 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3089/1.946, allocations: 3.981 MB / 0.69 GB, free: 43.89 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03948/1.986, allocations: 11.76 MB / 0.7015 GB, free: 43.39 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001179/1.987, allocations: 0.8846 MB / 0.7024 GB, free: 43.36 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006007/1.993, allocations: 1.18 MB / 0.7035 GB, free: 43.35 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09929/2.092, allocations: 33.39 MB / 0.7361 GB, free: 38.61 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006313/2.093, allocations: 106.6 kB / 0.7362 GB, free: 38.6 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005389/2.098, allocations: 0.5378 MB / 0.7368 GB, free: 38.6 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004778/2.103, allocations: 2.583 MB / 0.7393 GB, free: 38.58 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0854/2.189, allocations: 30.24 MB / 0.7688 GB, free: 33.09 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5443/2.733, allocations: 120.4 MB / 0.8864 GB, free: 29.79 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.06981/2.803, allocations: 17.22 MB / 0.9032 GB, free: 29.11 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01454/2.817, allocations: 8.721 MB / 0.9117 GB, free: 29.06 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05714/2.875, allocations: 31.05 MB / 0.942 GB, free: 21.39 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.969e-05/2.875, allocations: 81.02 kB / 0.9421 GB, free: 21.35 MB / 490.7 MB Notification: Performance of pre-optimization done (n=489): time 1.134e-05/2.875, allocations: 0.8438 kB / 0.9421 GB, free: 21.35 MB / 490.7 MB Notification: Performance of matching and sorting (n=726): time 0.6243/3.499, allocations: 123.1 MB / 1.062 GB, free: 13.08 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001685/3.499, allocations: 201.7 kB / 1.062 GB, free: 12.85 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.019/3.518, allocations: 6.894 MB / 1.069 GB, free: 5.949 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.002156/3.52, allocations: 143 kB / 1.069 GB, free: 5.809 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.3151/3.836, allocations: 6.829 MB / 1.076 GB, free: 140.2 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.00457/3.84, allocations: 2.579 MB / 1.079 GB, free: 139.7 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002792/3.843, allocations: 291.1 kB / 1.079 GB, free: 139.7 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.001452/3.845, allocations: 0.9125 MB / 1.08 GB, free: 139.3 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02373/3.868, allocations: 10.09 MB / 1.09 GB, free: 139.3 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02717/3.896, allocations: 16.64 MB / 1.106 GB, free: 131 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02607/3.922, allocations: 12.88 MB / 1.118 GB, free: 130.9 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002221/3.922, allocations: 66.56 kB / 1.118 GB, free: 130.9 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1878) (initialization): time 0.07252/3.994, allocations: 26.39 MB / 1.144 GB, free: 124.9 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003401/3.995, allocations: 104.8 kB / 1.144 GB, free: 124.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000514/3.995, allocations: 226.8 kB / 1.145 GB, free: 124.9 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008553/3.996, allocations: 348.7 kB / 1.145 GB, free: 124.9 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.05074/4.047, allocations: 4.271 MB / 1.149 GB, free: 124.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008871/4.048, allocations: 455.7 kB / 1.149 GB, free: 124.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02584/4.074, allocations: 1.227 MB / 1.151 GB, free: 124.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00388/4.078, allocations: 0.7516 MB / 1.151 GB, free: 124 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1034 * 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],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.groundColor[3],world.groundColor[2],world.groundColor[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 (1848): * Single equations (assignments): 1842 * 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.006304/4.084, allocations: 1.134 MB / 1.152 GB, free: 123.1 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003158/4.087, allocations: 0.7982 MB / 1.153 GB, free: 122.7 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04334/4.131, allocations: 19.39 MB / 1.172 GB, free: 113.9 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.217e-05/4.131, allocations: 68.22 kB / 1.172 GB, free: 113.9 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.487e-05/4.131, allocations: 7.625 kB / 1.172 GB, free: 113.9 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001294/4.131, allocations: 40.19 kB / 1.172 GB, free: 113.9 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09535/4.226, allocations: 42.31 MB / 1.214 GB, free: 90.12 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.7e-05/4.226, allocations: 10.84 kB / 1.214 GB, free: 90.11 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01667/4.243, allocations: 2.147 MB / 1.216 GB, free: 88.61 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001042/4.243, allocations: 34.44 kB / 1.216 GB, free: 88.58 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001935/4.245, allocations: 127.7 kB / 1.216 GB, free: 88.46 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.724e-05/4.245, allocations: 28 kB / 1.216 GB, free: 88.43 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.984e-06/4.245, allocations: 11.94 kB / 1.216 GB, free: 88.42 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05771/4.303, allocations: 33.6 MB / 1.249 GB, free: 57.46 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008174/4.311, allocations: 2.715 MB / 1.251 GB, free: 54.99 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003554/4.315, allocations: 122.2 kB / 1.252 GB, free: 54.88 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01059/4.325, allocations: 0.7629 MB / 1.252 GB, free: 54.43 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00247/4.328, allocations: 389.9 kB / 1.253 GB, free: 54.19 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001761/4.33, allocations: 178.1 kB / 1.253 GB, free: 54.02 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.01137/4.341, allocations: 4.768 MB / 1.257 GB, free: 49.8 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.097e-06/4.341, allocations: 0 / 1.257 GB, free: 49.8 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01751/4.359, allocations: 3.164 MB / 1.261 GB, free: 46.66 MB / 0.5417 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.00259/4.361, allocations: 424.7 kB / 1.261 GB, free: 46.29 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.3538/4.715, allocations: 24.27 MB / 1.285 GB, free: 143.4 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.156e-05/4.715, allocations: 0 / 1.285 GB, free: 143.4 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01955/4.735, allocations: 9.682 MB / 1.294 GB, free: 143.4 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007258/4.742, allocations: 0.8621 MB / 1.295 GB, free: 143.3 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08025/4.822, allocations: 30.13 MB / 1.324 GB, free: 139 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02109/4.843, allocations: 8.265 MB / 1.332 GB, free: 136.5 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01066/4.854, allocations: 0.7064 MB / 1.333 GB, free: 136.4 MB / 0.5417 GB Notification: Performance of SimCode: time 1.829e-06/4.854, allocations: 0 / 1.333 GB, free: 136.4 MB / 0.5417 GB Notification: Performance of Templates: time 0.6043/5.459, allocations: 183.3 MB / 1.512 GB, free: 119.8 MB / 0.5417 GB