Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic") Notification: Performance of loadModel(Modelica): time 1.918/1.918, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.604e-05/2.61e-05, allocations: 0 / 269.4 MB, free: 6.391 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08417/0.08422, allocations: 47.57 MB / 316.9 MB, free: 6.734 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4401/0.5244, allocations: 107.7 MB / 424.6 MB, free: 12.77 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002646/0.5247, allocations: 85.39 kB / 424.7 MB, free: 12.73 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.09/1.615, allocations: 235.2 MB / 0.6444 GB, free: 29.59 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.008e-06/1.615, allocations: 0 / 0.6444 GB, free: 29.59 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0009972/1.616, allocations: 228 kB / 0.6446 GB, free: 29.37 MB / 426.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.07585/1.692, allocations: 12.3 MB / 0.6566 GB, free: 16.97 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/1.692, allocations: 8.031 kB / 0.6567 GB, free: 16.96 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0257/1.717, allocations: 3.986 MB / 0.6605 GB, free: 12.96 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03492/1.752, allocations: 12.2 MB / 0.6725 GB, free: 0.6719 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.5315/2.284, allocations: 0.8805 MB / 0.6733 GB, free: 42.84 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006031/2.29, allocations: 1.182 MB / 0.6745 GB, free: 42.84 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09853/2.389, allocations: 33.39 MB / 0.7071 GB, free: 38.09 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006066/2.389, allocations: 102.3 kB / 0.7072 GB, free: 38.09 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005349/2.395, allocations: 0.535 MB / 0.7077 GB, free: 38.09 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004748/2.399, allocations: 2.584 MB / 0.7102 GB, free: 38.07 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08523/2.485, allocations: 30.24 MB / 0.7398 GB, free: 35.34 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5343/3.019, allocations: 120.5 MB / 0.8574 GB, free: 32.36 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.06612/3.085, allocations: 17.21 MB / 0.8742 GB, free: 31.67 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01548/3.101, allocations: 8.74 MB / 0.8827 GB, free: 31.62 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05556/3.156, allocations: 31.09 MB / 0.9131 GB, free: 23.94 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.338e-05/3.156, allocations: 86.58 kB / 0.9132 GB, free: 23.9 MB / 474.8 MB Notification: Performance of pre-optimization done (n=489): time 9.697e-06/3.156, allocations: 0 / 0.9132 GB, free: 23.9 MB / 474.8 MB Notification: Performance of matching and sorting (n=726): time 0.6028/3.759, allocations: 123.4 MB / 1.034 GB, free: 11.72 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001816/3.759, allocations: 200.7 kB / 1.034 GB, free: 11.5 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01854/3.778, allocations: 6.931 MB / 1.041 GB, free: 4.562 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.002049/3.78, allocations: 145.1 kB / 1.041 GB, free: 4.418 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.2973/4.077, allocations: 7.076 MB / 1.048 GB, free: 143.1 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.004222/4.082, allocations: 2.576 MB / 1.05 GB, free: 141.5 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002819/4.085, allocations: 290.8 kB / 1.05 GB, free: 141.5 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 0.001431/4.086, allocations: 0.9072 MB / 1.051 GB, free: 141.2 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02253/4.109, allocations: 10.09 MB / 1.061 GB, free: 141.1 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02659/4.135, allocations: 16.64 MB / 1.077 GB, free: 132.9 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02549/4.161, allocations: 12.87 MB / 1.09 GB, free: 132.8 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002224/4.161, allocations: 66.5 kB / 1.09 GB, free: 132.8 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1878) (initialization): time 0.0626/4.224, allocations: 26.63 MB / 1.116 GB, free: 125.6 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001746/4.224, allocations: 102.6 kB / 1.116 GB, free: 125.6 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002563/4.224, allocations: 228.8 kB / 1.116 GB, free: 125.6 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004087/4.225, allocations: 348.4 kB / 1.117 GB, free: 125.6 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0255/4.25, allocations: 4.27 MB / 1.121 GB, free: 125.3 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004586/4.251, allocations: 465.9 kB / 1.121 GB, free: 125.2 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01792/4.269, allocations: 1.232 MB / 1.123 GB, free: 124.9 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003727/4.272, allocations: 0.7457 MB / 1.123 GB, free: 124.8 MB / 0.5262 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.006345/4.279, allocations: 1.133 MB / 1.124 GB, free: 123.9 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00282/4.282, allocations: 0.8029 MB / 1.125 GB, free: 123.4 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0423/4.324, allocations: 19.39 MB / 1.144 GB, free: 114.7 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.642e-05/4.324, allocations: 76.75 kB / 1.144 GB, free: 114.7 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.387e-05/4.324, allocations: 0.6875 kB / 1.144 GB, free: 114.7 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001318/4.324, allocations: 34.92 kB / 1.144 GB, free: 114.7 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09647/4.421, allocations: 42.32 MB / 1.186 GB, free: 86.32 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.835e-05/4.421, allocations: 4 kB / 1.186 GB, free: 86.31 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01629/4.437, allocations: 2.156 MB / 1.188 GB, free: 84.81 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001019/4.437, allocations: 28 kB / 1.188 GB, free: 84.78 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00177/4.439, allocations: 128.9 kB / 1.188 GB, free: 84.66 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.22e-05/4.439, allocations: 31.62 kB / 1.188 GB, free: 84.63 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.347e-06/4.439, allocations: 11.89 kB / 1.188 GB, free: 84.62 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06623/4.505, allocations: 33.61 MB / 1.221 GB, free: 53.65 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007964/4.513, allocations: 2.71 MB / 1.223 GB, free: 51.19 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003397/4.517, allocations: 124 kB / 1.223 GB, free: 51.07 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01041/4.527, allocations: 0.7577 MB / 1.224 GB, free: 50.63 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002429/4.53, allocations: 400 kB / 1.225 GB, free: 50.38 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00137/4.531, allocations: 178.2 kB / 1.225 GB, free: 50.21 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.01135/4.542, allocations: 4.798 MB / 1.229 GB, free: 45.96 MB / 0.5262 GB Notification: Performance of sort global known variables: time 1.029e-06/4.542, allocations: 0 / 1.229 GB, free: 45.96 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.01926/4.562, allocations: 3.57 MB / 1.233 GB, free: 43.63 MB / 0.5262 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.345/4.907, allocations: 410.5 kB / 1.233 GB, free: 133 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.04599/4.953, allocations: 22.57 MB / 1.255 GB, free: 132.9 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.03e-05/4.953, allocations: 3.531 kB / 1.255 GB, free: 132.9 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.01836/4.971, allocations: 9.686 MB / 1.265 GB, free: 132.8 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006539/4.978, allocations: 0.849 MB / 1.266 GB, free: 132.8 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07081/5.049, allocations: 28.78 MB / 1.294 GB, free: 125.7 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01954/5.068, allocations: 8.274 MB / 1.302 GB, free: 123.1 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 0.02198/5.09, allocations: 5.066 MB / 1.307 GB, free: 123 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007742/5.098, allocations: 0.6081 MB / 1.307 GB, free: 123 MB / 0.5262 GB Notification: Performance of SimCode: time 2.22e-06/5.098, allocations: 0 / 1.307 GB, free: 123 MB / 0.5262 GB Notification: Performance of Templates: time 0.6133/5.711, allocations: 121.2 MB / 1.426 GB, free: 139 MB / 0.5262 GB