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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic") Notification: Performance of loadModel(Modelica): time 1.934/1.934, allocations: 225.8 MB / 238.8 MB, free: 11.15 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.115e-05/3.129e-05, allocations: 4 kB / 292.1 MB, free: 8.305 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08976/0.08982, allocations: 50.42 MB / 342.6 MB, free: 5.867 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3987/0.4885, allocations: 109.7 MB / 452.2 MB, free: 0.8828 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000269/0.4888, allocations: 89.58 kB / 452.3 MB, free: 0.8398 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.094/1.583, allocations: 237.7 MB / 0.6738 GB, free: 16.14 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.078e-06/1.583, allocations: 0 / 0.6738 GB, free: 16.14 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0005653/1.583, allocations: 239.9 kB / 0.6741 GB, free: 15.91 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.03984/1.623, allocations: 12.28 MB / 0.6861 GB, free: 3.527 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/1.623, allocations: 16.03 kB / 0.6861 GB, free: 3.512 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3013/1.925, allocations: 3.973 MB / 0.69 GB, free: 43.94 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0386/1.963, allocations: 11.76 MB / 0.7014 GB, free: 43.44 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001202/1.964, allocations: 0.884 MB / 0.7023 GB, free: 43.41 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005967/1.97, allocations: 1.184 MB / 0.7035 GB, free: 43.4 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08952/2.06, allocations: 33.39 MB / 0.7361 GB, free: 38.65 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004787/2.061, allocations: 105.9 kB / 0.7362 GB, free: 38.65 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004444/2.065, allocations: 0.5319 MB / 0.7367 GB, free: 38.65 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004682/2.07, allocations: 2.58 MB / 0.7392 GB, free: 38.63 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07812/2.148, allocations: 30.24 MB / 0.7687 GB, free: 33.12 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5245/2.672, allocations: 120.4 MB / 0.8863 GB, free: 29.76 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.06177/2.734, allocations: 17.22 MB / 0.9031 GB, free: 29.07 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01374/2.748, allocations: 8.727 MB / 0.9117 GB, free: 29.02 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05219/2.8, allocations: 31.05 MB / 0.942 GB, free: 21.36 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.978e-05/2.8, allocations: 90.11 kB / 0.9421 GB, free: 21.31 MB / 490.7 MB Notification: Performance of pre-optimization done (n=489): time 1.036e-05/2.8, allocations: 0 / 0.9421 GB, free: 21.31 MB / 490.7 MB Notification: Performance of matching and sorting (n=726): time 0.6569/3.457, allocations: 123 MB / 1.062 GB, free: 13.05 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001795/3.458, allocations: 204.7 kB / 1.062 GB, free: 12.82 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01782/3.475, allocations: 6.897 MB / 1.069 GB, free: 5.918 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.001977/3.477, allocations: 137.7 kB / 1.069 GB, free: 5.777 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.3059/3.783, allocations: 7.072 MB / 1.076 GB, free: 140.1 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.004331/3.788, allocations: 2.584 MB / 1.079 GB, free: 139.3 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002522/3.79, allocations: 286.1 kB / 1.079 GB, free: 139.3 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.001409/3.792, allocations: 0.9085 MB / 1.08 GB, free: 139 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02156/3.813, allocations: 10.09 MB / 1.09 GB, free: 138.9 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.026/3.839, allocations: 16.64 MB / 1.106 GB, free: 130.7 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02466/3.864, allocations: 12.87 MB / 1.118 GB, free: 130.6 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004323/3.864, allocations: 66.69 kB / 1.119 GB, free: 130.6 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1878) (initialization): time 0.06013/3.925, allocations: 26.64 MB / 1.145 GB, free: 124.4 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001842/3.925, allocations: 101.8 kB / 1.145 GB, free: 124.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002866/3.925, allocations: 227.7 kB / 1.145 GB, free: 124.4 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000413/3.926, allocations: 350.7 kB / 1.145 GB, free: 124.4 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02416/3.95, allocations: 4.263 MB / 1.149 GB, free: 124 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004745/3.95, allocations: 464.2 kB / 1.15 GB, free: 123.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01737/3.968, allocations: 1.226 MB / 1.151 GB, free: 123.7 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003889/3.972, allocations: 0.7443 MB / 1.152 GB, free: 123.6 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.006759/3.978, allocations: 1.139 MB / 1.153 GB, free: 122.6 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003192/3.982, allocations: 0.8021 MB / 1.154 GB, free: 122.2 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04128/4.023, allocations: 19.39 MB / 1.173 GB, free: 113.4 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.543e-05/4.023, allocations: 78.84 kB / 1.173 GB, free: 113.4 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.358e-05/4.023, allocations: 0 / 1.173 GB, free: 113.4 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000118/4.023, allocations: 36.34 kB / 1.173 GB, free: 113.4 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09115/4.114, allocations: 42.31 MB / 1.214 GB, free: 89.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.952e-05/4.114, allocations: 8 kB / 1.214 GB, free: 89.77 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01589/4.13, allocations: 2.143 MB / 1.216 GB, free: 88.27 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.874e-05/4.13, allocations: 35.23 kB / 1.216 GB, free: 88.24 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0019/4.132, allocations: 124.6 kB / 1.216 GB, free: 88.12 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.42e-05/4.132, allocations: 35.27 kB / 1.216 GB, free: 88.09 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.143e-06/4.133, allocations: 11.94 kB / 1.216 GB, free: 88.08 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05705/4.19, allocations: 33.6 MB / 1.249 GB, free: 57.11 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008301/4.198, allocations: 2.706 MB / 1.252 GB, free: 54.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00366/4.202, allocations: 123.8 kB / 1.252 GB, free: 54.54 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01022/4.212, allocations: 0.7648 MB / 1.253 GB, free: 54.09 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002508/4.214, allocations: 392.3 kB / 1.253 GB, free: 53.85 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001834/4.216, allocations: 184.6 kB / 1.253 GB, free: 53.68 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.01169/4.228, allocations: 4.762 MB / 1.258 GB, free: 49.46 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.63e-06/4.228, allocations: 0 / 1.258 GB, free: 49.46 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01761/4.246, allocations: 3.174 MB / 1.261 GB, free: 46.31 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.002611/4.248, allocations: 416.6 kB / 1.261 GB, free: 45.95 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.4068/4.655, allocations: 24.4 MB / 1.285 GB, free: 143.6 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.207e-05/4.655, allocations: 3.156 kB / 1.285 GB, free: 143.6 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01791/4.673, allocations: 9.678 MB / 1.295 GB, free: 143.5 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006205/4.679, allocations: 0.8621 MB / 1.295 GB, free: 143.5 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06649/4.746, allocations: 28.73 MB / 1.323 GB, free: 139.6 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01842/4.764, allocations: 8.264 MB / 1.332 GB, free: 137.5 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.02825/4.793, allocations: 5.072 MB / 1.337 GB, free: 137.4 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00772/4.8, allocations: 0.6006 MB / 1.337 GB, free: 137.4 MB / 0.5417 GB Notification: Performance of SimCode: time 1.879e-06/4.801, allocations: 0 / 1.337 GB, free: 137.4 MB / 0.5417 GB Notification: Performance of Templates: time 0.2715/5.072, allocations: 121.1 MB / 1.455 GB, free: 57.14 MB / 0.5417 GB