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_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic") Notification: Performance of loadModel(Modelica): time 1.943/1.943, allocations: 225.8 MB / 239.4 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.951e-05/2.956e-05, allocations: 4 kB / 292.7 MB, free: 8.359 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09108/0.09113, allocations: 50.42 MB / 343.1 MB, free: 5.922 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4459/0.5371, allocations: 109.7 MB / 452.8 MB, free: 0.8633 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002629/0.5374, allocations: 88.8 kB / 452.9 MB, free: 0.8203 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.118/1.656, allocations: 237.7 MB / 0.6744 GB, free: 16.27 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.716e-06/1.656, allocations: 3.938 kB / 0.6744 GB, free: 16.27 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000577/1.657, allocations: 231.9 kB / 0.6746 GB, free: 16.04 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.04176/1.698, allocations: 12.28 MB / 0.6866 GB, free: 3.664 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/1.698, allocations: 15.97 kB / 0.6866 GB, free: 3.648 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3035/2.002, allocations: 3.972 MB / 0.6905 GB, free: 43.86 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03862/2.041, allocations: 11.76 MB / 0.702 GB, free: 43.36 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00136/2.042, allocations: 0.8844 MB / 0.7028 GB, free: 43.33 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00626/2.048, allocations: 1.186 MB / 0.704 GB, free: 43.32 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09782/2.146, allocations: 33.38 MB / 0.7366 GB, free: 38.57 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005492/2.147, allocations: 109.9 kB / 0.7367 GB, free: 38.57 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00482/2.152, allocations: 0.5385 MB / 0.7372 GB, free: 38.57 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004705/2.156, allocations: 2.581 MB / 0.7397 GB, free: 38.55 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09343/2.25, allocations: 30.24 MB / 0.7693 GB, free: 33.02 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6488/2.899, allocations: 120.4 MB / 0.8868 GB, free: 29.66 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.06804/2.967, allocations: 17.23 MB / 0.9037 GB, free: 28.97 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01441/2.981, allocations: 8.726 MB / 0.9122 GB, free: 28.92 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05716/3.038, allocations: 31.05 MB / 0.9425 GB, free: 21.26 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.339e-05/3.038, allocations: 83.92 kB / 0.9426 GB, free: 21.21 MB / 490.7 MB Notification: Performance of pre-optimization done (n=489): time 1.089e-05/3.038, allocations: 0 / 0.9426 GB, free: 21.21 MB / 490.7 MB Notification: Performance of matching and sorting (n=726): time 0.6095/3.648, allocations: 123 MB / 1.063 GB, free: 13.08 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001923/3.648, allocations: 201.8 kB / 1.063 GB, free: 12.85 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01818/3.666, allocations: 6.898 MB / 1.07 GB, free: 5.949 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.00206/3.668, allocations: 145.2 kB / 1.07 GB, free: 5.805 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.3093/3.978, allocations: 7.062 MB / 1.077 GB, free: 140 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.004294/3.982, allocations: 2.585 MB / 1.079 GB, free: 139.2 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002558/3.985, allocations: 288.9 kB / 1.079 GB, free: 139.2 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.00143/3.986, allocations: 0.9095 MB / 1.08 GB, free: 138.9 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0228/4.009, allocations: 10.09 MB / 1.09 GB, free: 138.9 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02624/4.035, allocations: 16.64 MB / 1.106 GB, free: 130.6 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02557/4.061, allocations: 12.88 MB / 1.119 GB, free: 130.5 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002089/4.061, allocations: 62.44 kB / 1.119 GB, free: 130.5 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1878) (initialization): time 0.06147/4.123, allocations: 26.64 MB / 1.145 GB, free: 124.3 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001798/4.123, allocations: 100.7 kB / 1.145 GB, free: 124.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002663/4.123, allocations: 228.6 kB / 1.145 GB, free: 124.3 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004016/4.124, allocations: 348.2 kB / 1.146 GB, free: 124.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02714/4.151, allocations: 4.264 MB / 1.15 GB, free: 123.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004562/4.151, allocations: 461.7 kB / 1.15 GB, free: 123.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01755/4.169, allocations: 1.229 MB / 1.152 GB, free: 123.6 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003704/4.172, allocations: 0.7455 MB / 1.152 GB, free: 123.5 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.005476/4.178, allocations: 1.141 MB / 1.153 GB, free: 122.5 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002746/4.181, allocations: 0.7981 MB / 1.154 GB, free: 122.1 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04143/4.222, allocations: 19.39 MB / 1.173 GB, free: 113.3 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.409e-05/4.222, allocations: 74.62 kB / 1.173 GB, free: 113.3 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.309e-05/4.222, allocations: 0 / 1.173 GB, free: 113.3 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001166/4.222, allocations: 36.42 kB / 1.173 GB, free: 113.3 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09327/4.316, allocations: 42.32 MB / 1.215 GB, free: 89.68 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.089e-05/4.316, allocations: 7.094 kB / 1.215 GB, free: 89.68 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01638/4.332, allocations: 2.151 MB / 1.217 GB, free: 88.17 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.817e-05/4.332, allocations: 28 kB / 1.217 GB, free: 88.14 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00183/4.334, allocations: 125.7 kB / 1.217 GB, free: 88.03 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.894e-05/4.334, allocations: 35.94 kB / 1.217 GB, free: 87.99 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.129e-06/4.334, allocations: 11.41 kB / 1.217 GB, free: 87.98 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06401/4.398, allocations: 33.6 MB / 1.25 GB, free: 57.02 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007891/4.406, allocations: 2.712 MB / 1.252 GB, free: 54.56 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003335/4.41, allocations: 116 kB / 1.252 GB, free: 54.45 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01003/4.42, allocations: 0.766 MB / 1.253 GB, free: 54 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002505/4.422, allocations: 388.3 kB / 1.254 GB, free: 53.76 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001508/4.424, allocations: 185.8 kB / 1.254 GB, free: 53.59 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.01117/4.435, allocations: 4.767 MB / 1.258 GB, free: 49.36 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.091e-06/4.435, allocations: 0 / 1.258 GB, free: 49.36 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01677/4.452, allocations: 3.163 MB / 1.261 GB, free: 46.23 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.002517/4.454, allocations: 421.7 kB / 1.262 GB, free: 45.86 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.3429/4.797, allocations: 24.44 MB / 1.286 GB, free: 143.5 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.124e-05/4.797, allocations: 1.75 kB / 1.286 GB, free: 143.5 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01885/4.816, allocations: 9.682 MB / 1.295 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.006553/4.823, allocations: 0.8549 MB / 1.296 GB, free: 143.4 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07141/4.894, allocations: 28.75 MB / 1.324 GB, free: 139.5 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02105/4.915, allocations: 8.257 MB / 1.332 GB, free: 137.4 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.03669/4.952, allocations: 5.068 MB / 1.337 GB, free: 137.3 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008345/4.96, allocations: 0.6041 MB / 1.338 GB, free: 137.3 MB / 0.5417 GB Notification: Performance of SimCode: time 1.844e-06/4.96, allocations: 0 / 1.338 GB, free: 137.3 MB / 0.5417 GB Notification: Performance of Templates: time 0.278/5.238, allocations: 121.1 MB / 1.456 GB, free: 57.2 MB / 0.5417 GB