Notification: Performance of FrontEnd - loaded program: time 2.704e-05/2.747e-05, allocations: 0 / 0.5379 GB, free: 7.793 MB / 432.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1375, allocations: 76.94 MB / 0.613 GB, free: 10.75 MB / 0.5002 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7439/0.8815, allocations: 139.5 MB / 0.7492 GB, free: 1.785 MB / 0.5022 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002359/0.8818, allocations: 71.97 kB / 0.7493 GB, free: 1.715 MB / 0.5022 GB Notification: Performance of FrontEnd: time 0.8846/1.766, allocations: 143.3 MB / 0.8893 GB, free: 145.2 MB / 0.6115 GB Notification: Performance of Transformations before backend: time 0.000945/1.767, allocations: 144.4 kB / 0.8894 GB, free: 145.2 MB / 0.6115 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2253 * Number of variables: 2253 Notification: Performance of Generate backend data structure: time 0.03352/1.801, allocations: 8.456 MB / 0.8977 GB, free: 142.4 MB / 0.6115 GB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/1.801, allocations: 8.844 kB / 0.8977 GB, free: 142.4 MB / 0.6115 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07405/1.875, allocations: 14.61 MB / 0.9119 GB, free: 141.9 MB / 0.6115 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03612/1.911, allocations: 12.75 MB / 0.9244 GB, free: 140.7 MB / 0.6115 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003902/1.912, allocations: 212.5 kB / 0.9246 GB, free: 140.7 MB / 0.6115 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00295/1.915, allocations: 417.2 kB / 0.925 GB, free: 140.7 MB / 0.6115 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02317/1.938, allocations: 10.39 MB / 0.9352 GB, free: 139.6 MB / 0.6115 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03417/1.972, allocations: 14.77 MB / 0.9496 GB, free: 132.7 MB / 0.6115 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006179/1.973, allocations: 107 kB / 0.9497 GB, free: 132.7 MB / 0.6115 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00267/1.975, allocations: 41.19 kB / 0.9497 GB, free: 132.7 MB / 0.6115 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002789/1.978, allocations: 1.467 MB / 0.9512 GB, free: 132.2 MB / 0.6115 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09278/2.071, allocations: 67.57 MB / 1.017 GB, free: 64.76 MB / 0.6115 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01061/2.082, allocations: 6.957 MB / 1.024 GB, free: 57.67 MB / 0.6115 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007783/2.09, allocations: 5.136 MB / 1.029 GB, free: 52.52 MB / 0.6115 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005234/2.09, allocations: 259.3 kB / 1.029 GB, free: 52.24 MB / 0.6115 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.039e-05/2.09, allocations: 68.81 kB / 1.029 GB, free: 52.16 MB / 0.6115 GB Notification: Performance of pre-optimization done (n=346): time 9.192e-06/2.09, allocations: 0 / 1.029 GB, free: 52.16 MB / 0.6115 GB Notification: Performance of matching and sorting (n=427): time 0.139/2.229, allocations: 50.32 MB / 1.078 GB, free: 1.777 MB / 0.6115 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001244/2.229, allocations: 432.4 kB / 1.079 GB, free: 1.262 MB / 0.6115 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01367/2.243, allocations: 5.308 MB / 1.084 GB, free: 11.95 MB / 0.6272 GB Notification: Performance of collectPreVariables (initialization): time 0.001086/2.244, allocations: 29.7 kB / 1.084 GB, free: 11.91 MB / 0.6272 GB Notification: Performance of collectInitialEqns (initialization): time 0.005774/2.25, allocations: 4.677 MB / 1.089 GB, free: 7.176 MB / 0.6272 GB Notification: Performance of collectInitialBindings (initialization): time 0.002874/2.253, allocations: 1.491 MB / 1.09 GB, free: 5.664 MB / 0.6272 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001318/2.254, allocations: 3.938 kB / 1.09 GB, free: 5.66 MB / 0.6272 GB Notification: Performance of setup shared object (initialization): time 0.001017/2.255, allocations: 0.6734 MB / 1.091 GB, free: 4.977 MB / 0.6272 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01111/2.267, allocations: 4.951 MB / 1.096 GB, free: 16 kB / 0.6272 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2853/2.552, allocations: 9.236 MB / 1.105 GB, free: 141.1 MB / 0.6272 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01465/2.567, allocations: 6.85 MB / 1.111 GB, free: 141.1 MB / 0.6272 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002417/2.567, allocations: 43.03 kB / 1.111 GB, free: 141.1 MB / 0.6272 GB Notification: Performance of matching and sorting (n=1110) (initialization): time 0.04585/2.613, allocations: 18.16 MB / 1.129 GB, free: 140.5 MB / 0.6272 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001977/2.613, allocations: 71.2 kB / 1.129 GB, free: 140.5 MB / 0.6272 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002743/2.613, allocations: 147.6 kB / 1.129 GB, free: 140.5 MB / 0.6272 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01905/2.632, allocations: 5.329 MB / 1.134 GB, free: 140.5 MB / 0.6272 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00955/2.642, allocations: 1.98 MB / 1.136 GB, free: 140.3 MB / 0.6272 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05218/2.694, allocations: 26.76 MB / 1.163 GB, free: 134.5 MB / 0.6272 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009854/2.704, allocations: 0.6048 MB / 1.163 GB, free: 134.5 MB / 0.6272 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002335/2.706, allocations: 481.5 kB / 1.164 GB, free: 134.4 MB / 0.6272 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 673 * Number of states: 0 () * Number of discrete variables: 54 (force.color[3],force.color[2],force.color[1],bodybox[3].color[3],bodybox[3].color[2],bodybox[3].color[1],bodybox[3].body.sphereColor[3],bodybox[3].body.sphereColor[2],bodybox[3].body.sphereColor[1],bodybox[2].color[3],bodybox[2].color[2],bodybox[2].color[1],bodybox[2].body.sphereColor[3],bodybox[2].body.sphereColor[2],bodybox[2].body.sphereColor[1],bodybox[1].color[3],bodybox[1].color[2],bodybox[1].color[1],bodybox[1].body.sphereColor[3],bodybox[1].body.sphereColor[2],bodybox[1].body.sphereColor[1],bodyboxN.color[3],bodyboxN.color[2],bodyboxN.color[1],bodyboxN.body.sphereColor[3],bodyboxN.body.sphereColor[2],bodyboxN.body.sphereColor[1],bodybox1.color[3],bodybox1.color[2],bodybox1.color[1],bodybox1.body.sphereColor[3],bodybox1.body.sphereColor[2],bodybox1.body.sphereColor[1],revolute[4].cylinderColor[3],revolute[4].cylinderColor[2],revolute[4].cylinderColor[1],revolute[3].cylinderColor[3],revolute[3].cylinderColor[2],revolute[3].cylinderColor[1],revolute[2].cylinderColor[3],revolute[2].cylinderColor[2],revolute[2].cylinderColor[1],revolute[1].cylinderColor[3],revolute[1].cylinderColor[2],revolute[1].cylinderColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (984): * Single equations (assignments): 980 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(11,70.2%) 92} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003335/2.71, allocations: 0.5064 MB / 1.164 GB, free: 134.1 MB / 0.6272 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001604/2.711, allocations: 0.5813 MB / 1.165 GB, free: 134.1 MB / 0.6272 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03332/2.745, allocations: 13.61 MB / 1.178 GB, free: 130.5 MB / 0.6272 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.186e-05/2.745, allocations: 48.69 kB / 1.178 GB, free: 130.5 MB / 0.6272 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.201e-05/2.745, allocations: 17.88 kB / 1.178 GB, free: 130.5 MB / 0.6272 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.414e-05/2.745, allocations: 20.42 kB / 1.178 GB, free: 130.5 MB / 0.6272 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06077/2.806, allocations: 25.57 MB / 1.203 GB, free: 118.9 MB / 0.6272 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.209e-05/2.806, allocations: 7.797 kB / 1.203 GB, free: 118.9 MB / 0.6272 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003991/2.81, allocations: 0.707 MB / 1.204 GB, free: 118.4 MB / 0.6272 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01549/2.825, allocations: 5.025 MB / 1.209 GB, free: 115 MB / 0.6272 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001041/2.827, allocations: 16 kB / 1.209 GB, free: 115 MB / 0.6272 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04664/2.873, allocations: 26 MB / 1.234 GB, free: 90.43 MB / 0.6272 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.291e-05/2.873, allocations: 11.94 kB / 1.234 GB, free: 90.41 MB / 0.6272 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.654/3.527, allocations: 160.1 MB / 1.39 GB, free: 129.7 MB / 0.6428 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005334/3.533, allocations: 1.531 MB / 1.392 GB, free: 129.4 MB / 0.6428 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002182/3.535, allocations: 15.16 kB / 1.392 GB, free: 129.4 MB / 0.6428 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006136/3.541, allocations: 453.9 kB / 1.392 GB, free: 129.4 MB / 0.6428 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001699/3.543, allocations: 279.3 kB / 1.393 GB, free: 129.3 MB / 0.6428 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006776/3.544, allocations: 101.4 kB / 1.393 GB, free: 129.3 MB / 0.6428 GB Notification: Performance of sorting global known variables: time 0.00959/3.553, allocations: 3.776 MB / 1.396 GB, free: 128.1 MB / 0.6428 GB Notification: Performance of sort global known variables: time 1.636e-06/3.553, allocations: 0 / 1.396 GB, free: 128.1 MB / 0.6428 GB Notification: Performance of remove unused functions: time 0.01582/3.569, allocations: 2.618 MB / 1.399 GB, free: 128.1 MB / 0.6428 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (revolute[1].phi,revolute[1].w,revolute[2].phi,revolute[2].w,revolute[3].phi,revolute[3].w,revolute[4].phi,revolute[4].w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (313): * Single equations (assignments): 309 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(11,68.6%) 89} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001429/3.571, allocations: 176.9 kB / 1.399 GB, free: 128 MB / 0.6428 GB Notification: Performance of simCode: created initialization part: time 0.02825/3.599, allocations: 12.2 MB / 1.411 GB, free: 124.6 MB / 0.6428 GB Notification: Performance of simCode: created event and clocks part: time 1.037e-05/3.599, allocations: 2.906 kB / 1.411 GB, free: 124.6 MB / 0.6428 GB Notification: Performance of simCode: created simulation system equations: time 0.01315/3.612, allocations: 5.759 MB / 1.417 GB, free: 122.7 MB / 0.6428 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006477/3.619, allocations: 0.8244 MB / 1.417 GB, free: 122.5 MB / 0.6428 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0573/3.676, allocations: 21.5 MB / 1.438 GB, free: 115.2 MB / 0.6428 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01326/3.689, allocations: 6.036 MB / 1.444 GB, free: 112.1 MB / 0.6428 GB Notification: Performance of simCode: alias equations: time 0.01294/3.702, allocations: 3.869 MB / 1.448 GB, free: 109.7 MB / 0.6428 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002932/3.705, allocations: 411.7 kB / 1.448 GB, free: 109.3 MB / 0.6428 GB Notification: Performance of SimCode: time 1.851e-06/3.705, allocations: 4 kB / 1.448 GB, free: 109.3 MB / 0.6428 GB Notification: Performance of Templates: time 0.5347/4.24, allocations: 126.3 MB / 1.572 GB, free: 144.5 MB / 0.6584 GB