Notification: Performance of FrontEnd - loaded program: time 2.37e-05/2.384e-05, allocations: 0 / 359.4 MB, free: 0.5508 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1824/0.1825, allocations: 44.52 MB / 403.9 MB, free: 83.43 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3262/0.5087, allocations: 101 MB / 0.4931 GB, free: 40.27 MB / 334.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003489/0.5091, allocations: 86.58 kB / 0.4932 GB, free: 40.27 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.331/1.84, allocations: 228.6 MB / 0.7164 GB, free: 45.42 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.431e-06/1.84, allocations: 0 / 0.7164 GB, free: 45.42 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0008307/1.841, allocations: 236.5 kB / 0.7167 GB, free: 45.41 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4009 * Number of variables: 4009 Notification: Performance of Generate backend data structure: time 0.06236/1.904, allocations: 12.36 MB / 0.7287 GB, free: 41.32 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/1.904, allocations: 7.531 kB / 0.7287 GB, free: 41.32 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05327/1.957, allocations: 3.984 MB / 0.7326 GB, free: 40.54 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05011/2.007, allocations: 12.18 MB / 0.7445 GB, free: 36.25 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007067/2.008, allocations: 0.4962 MB / 0.745 GB, free: 35.75 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006411/2.014, allocations: 0.6935 MB / 0.7457 GB, free: 35.07 MB / 398.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0559/2.07, allocations: 21.49 MB / 0.7667 GB, free: 15.1 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06812/2.139, allocations: 26.43 MB / 0.7925 GB, free: 2.965 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008004/2.139, allocations: 103.1 kB / 0.7926 GB, free: 2.863 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005698/2.145, allocations: 52 kB / 0.7926 GB, free: 2.812 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008269/2.153, allocations: 2.576 MB / 0.7951 GB, free: 248 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7106/2.864, allocations: 116.8 MB / 0.9092 GB, free: 29.73 MB / 446.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01633/2.88, allocations: 10.5 MB / 0.9195 GB, free: 24.48 MB / 446.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01339/2.894, allocations: 8.506 MB / 0.9278 GB, free: 20.38 MB / 446.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2583/3.152, allocations: 30.88 MB / 0.9579 GB, free: 92.88 MB / 446.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001278/3.152, allocations: 84.75 kB / 0.958 GB, free: 92.84 MB / 446.3 MB Notification: Performance of pre-optimization done (n=483): time 0.01604/3.169, allocations: 0 / 0.958 GB, free: 92.84 MB / 446.3 MB Notification: Performance of matching and sorting (n=708): time 0.4545/3.623, allocations: 114.7 MB / 1.07 GB, free: 49.27 MB / 446.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.388e-05/3.623, allocations: 200 kB / 1.07 GB, free: 49.05 MB / 446.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01182/3.635, allocations: 6.086 MB / 1.076 GB, free: 43.88 MB / 446.3 MB Notification: Performance of collectPreVariables (initialization): time 0.001818/3.637, allocations: 25.7 kB / 1.076 GB, free: 43.85 MB / 446.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.004818/3.642, allocations: 7.195 MB / 1.083 GB, free: 37.5 MB / 446.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.003696/3.645, allocations: 2.43 MB / 1.086 GB, free: 35.29 MB / 446.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001734/3.647, allocations: 0 / 1.086 GB, free: 35.29 MB / 446.3 MB Notification: Performance of setup shared object (initialization): time 0.0008927/3.648, allocations: 0.9106 MB / 1.086 GB, free: 34.55 MB / 446.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01775/3.666, allocations: 9.705 MB / 1.096 GB, free: 25.66 MB / 446.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1997/3.866, allocations: 16.53 MB / 1.112 GB, free: 79.46 MB / 446.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.04505/3.911, allocations: 12.92 MB / 1.125 GB, free: 79.36 MB / 446.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000294/3.911, allocations: 66.28 kB / 1.125 GB, free: 79.36 MB / 446.3 MB Notification: Performance of matching and sorting (n=1887) (initialization): time 0.06305/3.974, allocations: 25.81 MB / 1.15 GB, free: 78.62 MB / 446.3 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002059/3.974, allocations: 104.4 kB / 1.15 GB, free: 78.62 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003231/3.975, allocations: 238.3 kB / 1.15 GB, free: 78.62 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004169/3.975, allocations: 368 kB / 1.151 GB, free: 78.62 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02664/4.002, allocations: 4.301 MB / 1.155 GB, free: 78.35 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004211/4.002, allocations: 484.1 kB / 1.155 GB, free: 78.25 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01809/4.02, allocations: 0.9498 MB / 1.156 GB, free: 78.25 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003811/4.024, allocations: 0.7699 MB / 1.157 GB, free: 78.25 MB / 446.3 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1086 * Number of states: 0 () * Number of discrete variables: 99 (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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1857): * Single equations (assignments): 1851 * 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.005453/4.03, allocations: 0.7633 MB / 1.158 GB, free: 77.85 MB / 446.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002369/4.032, allocations: 0.7451 MB / 1.158 GB, free: 77.85 MB / 446.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03767/4.07, allocations: 18.52 MB / 1.177 GB, free: 70.43 MB / 446.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.321e-05/4.07, allocations: 74.64 kB / 1.177 GB, free: 70.43 MB / 446.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.258e-05/4.07, allocations: 3.938 kB / 1.177 GB, free: 70.43 MB / 446.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001196/4.07, allocations: 35.05 kB / 1.177 GB, free: 70.43 MB / 446.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08602/4.156, allocations: 38.45 MB / 1.214 GB, free: 47.48 MB / 446.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.997e-05/4.156, allocations: 3.281 kB / 1.214 GB, free: 47.48 MB / 446.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02471/4.181, allocations: 2.12 MB / 1.216 GB, free: 46 MB / 446.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001344/4.181, allocations: 23.89 kB / 1.216 GB, free: 45.98 MB / 446.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002638/4.184, allocations: 15.89 kB / 1.216 GB, free: 45.97 MB / 446.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.438e-05/4.184, allocations: 27.95 kB / 1.216 GB, free: 45.95 MB / 446.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.966e-06/4.184, allocations: 4 kB / 1.216 GB, free: 45.94 MB / 446.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1287/4.313, allocations: 51.2 MB / 1.266 GB, free: 76 kB / 446.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00874/4.322, allocations: 2.634 MB / 1.269 GB, free: 13.68 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002873/4.324, allocations: 8 kB / 1.269 GB, free: 13.67 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009528/4.334, allocations: 0.6483 MB / 1.27 GB, free: 13.34 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002388/4.336, allocations: 371.4 kB / 1.27 GB, free: 13.11 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001109/4.338, allocations: 173.3 kB / 1.27 GB, free: 12.95 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.1648/4.502, allocations: 4.552 MB / 1.275 GB, free: 95.81 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.585e-06/4.502, allocations: 0 / 1.275 GB, free: 95.81 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.03032/4.533, allocations: 3.116 MB / 1.278 GB, free: 95.81 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (692): * Single equations (assignments): 689 * 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.003485/4.536, allocations: 290.8 kB / 1.278 GB, free: 95.72 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.04359/4.58, allocations: 22.06 MB / 1.299 GB, free: 95.61 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 9.527e-06/4.58, allocations: 0 / 1.299 GB, free: 95.61 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.02344/4.603, allocations: 9.518 MB / 1.309 GB, free: 95.59 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006729/4.61, allocations: 0.6208 MB / 1.309 GB, free: 95.56 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09444/4.705, allocations: 32.15 MB / 1.341 GB, free: 83.88 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02005/4.725, allocations: 8.444 MB / 1.349 GB, free: 81.32 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.02379/4.749, allocations: 5.15 MB / 1.354 GB, free: 79.25 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007244/4.756, allocations: 0.5717 MB / 1.355 GB, free: 78.71 MB / 462.3 MB Notification: Performance of SimCode: time 1.829e-06/4.756, allocations: 0 / 1.355 GB, free: 78.71 MB / 462.3 MB Notification: Performance of Templates: time 0.4604/5.216, allocations: 108.2 MB / 1.46 GB, free: 87.8 MB / 462.3 MB