Notification: Performance of FrontEnd - loaded program: time 1.938e-05/1.951e-05, allocations: 0.5 kB / 0.5378 GB, free: 7.453 MB / 432 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1433, allocations: 76.96 MB / 0.613 GB, free: 10.39 MB / 0.5 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8/0.9434, allocations: 139.5 MB / 0.7492 GB, free: 28.56 MB / 0.5176 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002607/0.9437, allocations: 76.84 kB / 0.7492 GB, free: 28.48 MB / 0.5176 GB Notification: Performance of FrontEnd: time 0.4509/1.395, allocations: 103.1 MB / 0.8499 GB, free: 4.82 MB / 0.5957 GB Notification: Performance of Transformations before backend: time 0.0003704/1.395, allocations: 100 kB / 0.85 GB, free: 4.723 MB / 0.5957 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1637 * Number of variables: 1637 Notification: Performance of Generate backend data structure: time 0.01881/1.414, allocations: 5.511 MB / 0.8554 GB, free: 15.12 MB / 0.6114 GB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/1.414, allocations: 8.031 kB / 0.8554 GB, free: 15.11 MB / 0.6114 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.051/1.465, allocations: 9.275 MB / 0.8645 GB, free: 5.812 MB / 0.6114 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3091/1.774, allocations: 8.212 MB / 0.8725 GB, free: 147.4 MB / 0.6114 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005799/1.775, allocations: 151 kB / 0.8726 GB, free: 147.4 MB / 0.6114 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003321/1.778, allocations: 291.2 kB / 0.8729 GB, free: 147.4 MB / 0.6114 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02454/1.803, allocations: 7.135 MB / 0.8799 GB, free: 147.3 MB / 0.6114 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02526/1.828, allocations: 10.47 MB / 0.8901 GB, free: 144.8 MB / 0.6114 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003116/1.828, allocations: 71.44 kB / 0.8902 GB, free: 144.8 MB / 0.6114 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001557/1.83, allocations: 30.97 kB / 0.8902 GB, free: 144.8 MB / 0.6114 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001933/1.832, allocations: 1.058 MB / 0.8912 GB, free: 144.8 MB / 0.6114 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07953/1.911, allocations: 48.55 MB / 0.9386 GB, free: 116.4 MB / 0.6114 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009466/1.921, allocations: 4.106 MB / 0.9426 GB, free: 114.5 MB / 0.6114 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005912/1.927, allocations: 2.722 MB / 0.9453 GB, free: 113.5 MB / 0.6114 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000536/1.927, allocations: 244.2 kB / 0.9455 GB, free: 113.3 MB / 0.6114 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.29e-05/1.928, allocations: 56.69 kB / 0.9456 GB, free: 113.2 MB / 0.6114 GB Notification: Performance of pre-optimization done (n=214): time 1.023e-05/1.928, allocations: 1.172 kB / 0.9456 GB, free: 113.2 MB / 0.6114 GB Notification: Performance of matching and sorting (n=245): time 0.08812/2.016, allocations: 23.21 MB / 0.9683 GB, free: 105.6 MB / 0.6114 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001164/2.016, allocations: 316.5 kB / 0.9686 GB, free: 105.2 MB / 0.6114 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01131/2.027, allocations: 3.771 MB / 0.9722 GB, free: 103.9 MB / 0.6114 GB Notification: Performance of collectPreVariables (initialization): time 0.0006019/2.028, allocations: 28.52 kB / 0.9723 GB, free: 103.9 MB / 0.6114 GB Notification: Performance of collectInitialEqns (initialization): time 0.003613/2.032, allocations: 3.497 MB / 0.9757 GB, free: 101.2 MB / 0.6114 GB Notification: Performance of collectInitialBindings (initialization): time 0.001553/2.033, allocations: 0.8847 MB / 0.9766 GB, free: 100.5 MB / 0.6114 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007394/2.034, allocations: 0 / 0.9766 GB, free: 100.5 MB / 0.6114 GB Notification: Performance of setup shared object (initialization): time 0.0005897/2.035, allocations: 0.5828 MB / 0.9771 GB, free: 100.1 MB / 0.6114 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007149/2.042, allocations: 2.685 MB / 0.9797 GB, free: 99.23 MB / 0.6114 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01011/2.052, allocations: 6.281 MB / 0.9859 GB, free: 93.5 MB / 0.6114 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01049/2.062, allocations: 4.115 MB / 0.9899 GB, free: 91.38 MB / 0.6114 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000161/2.063, allocations: 36 kB / 0.9899 GB, free: 91.35 MB / 0.6114 GB Notification: Performance of matching and sorting (n=828) (initialization): time 0.03539/2.098, allocations: 9.885 MB / 0.9996 GB, free: 83.22 MB / 0.6114 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001411/2.098, allocations: 60 kB / 0.9996 GB, free: 83.16 MB / 0.6114 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000211/2.098, allocations: 127.2 kB / 0.9998 GB, free: 83.04 MB / 0.6114 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008534/2.107, allocations: 1.899 MB / 1.002 GB, free: 81.69 MB / 0.6114 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008455/2.116, allocations: 1.471 MB / 1.003 GB, free: 80.43 MB / 0.6114 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02284/2.138, allocations: 10.67 MB / 1.013 GB, free: 71.7 MB / 0.6114 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006839/2.145, allocations: 338.6 kB / 1.014 GB, free: 71.46 MB / 0.6114 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001413/2.147, allocations: 381.3 kB / 1.014 GB, free: 71.1 MB / 0.6114 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 577 * Number of states: 0 () * Number of discrete variables: 36 (force.color[3],force.color[2],force.color[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[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 (762): * Single equations (assignments): 758 * 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 {(5,80.0%) 38} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001726/2.149, allocations: 432.1 kB / 1.015 GB, free: 70.67 MB / 0.6114 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001075/2.15, allocations: 402.8 kB / 1.015 GB, free: 70.27 MB / 0.6114 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01359/2.163, allocations: 5.678 MB / 1.021 GB, free: 65.96 MB / 0.6114 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-05/2.163, allocations: 31.52 kB / 1.021 GB, free: 65.93 MB / 0.6114 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.097e-05/2.163, allocations: 8 kB / 1.021 GB, free: 65.93 MB / 0.6114 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.233e-05/2.163, allocations: 8.75 kB / 1.021 GB, free: 65.93 MB / 0.6114 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04331/2.207, allocations: 11.89 MB / 1.032 GB, free: 55.37 MB / 0.6114 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.227e-05/2.207, allocations: 4 kB / 1.032 GB, free: 55.37 MB / 0.6114 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003992/2.211, allocations: 407.4 kB / 1.033 GB, free: 54.97 MB / 0.6114 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009181/2.22, allocations: 1.647 MB / 1.034 GB, free: 53.32 MB / 0.6114 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000789/2.221, allocations: 8 kB / 1.034 GB, free: 53.31 MB / 0.6114 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02073/2.242, allocations: 9.956 MB / 1.044 GB, free: 43.24 MB / 0.6114 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-05/2.242, allocations: 4 kB / 1.044 GB, free: 43.24 MB / 0.6114 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4088/2.651, allocations: 62.15 MB / 1.105 GB, free: 143.8 MB / 0.627 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004534/2.655, allocations: 0.8685 MB / 1.105 GB, free: 143.7 MB / 0.627 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001999/2.657, allocations: 9.641 kB / 1.105 GB, free: 143.7 MB / 0.627 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006373/2.664, allocations: 184.5 kB / 1.106 GB, free: 143.7 MB / 0.627 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001204/2.665, allocations: 149.6 kB / 1.106 GB, free: 143.7 MB / 0.627 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000559/2.666, allocations: 64.03 kB / 1.106 GB, free: 143.7 MB / 0.627 GB Notification: Performance of sorting global known variables: time 0.01029/2.676, allocations: 2.622 MB / 1.108 GB, free: 143.6 MB / 0.627 GB Notification: Performance of sort global known variables: time 2.083e-06/2.676, allocations: 1.547 kB / 1.108 GB, free: 143.6 MB / 0.627 GB Notification: Performance of remove unused functions: time 0.01688/2.693, allocations: 1.513 MB / 1.11 GB, free: 143.6 MB / 0.627 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 (revolute[1].phi,revolute[1].w,revolute[2].phi,revolute[2].w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (187): * Single equations (assignments): 183 * 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 {(4,87.5%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009458/2.694, allocations: 156 kB / 1.11 GB, free: 143.5 MB / 0.627 GB Notification: Performance of simCode: created initialization part: time 0.01354/2.707, allocations: 6.489 MB / 1.116 GB, free: 143.3 MB / 0.627 GB Notification: Performance of simCode: created event and clocks part: time 9.725e-06/2.707, allocations: 0 / 1.116 GB, free: 143.3 MB / 0.627 GB Notification: Performance of simCode: created simulation system equations: time 0.005284/2.713, allocations: 2.564 MB / 1.119 GB, free: 143.2 MB / 0.627 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004075/2.717, allocations: 0.5245 MB / 1.119 GB, free: 143.1 MB / 0.627 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02809/2.745, allocations: 12.32 MB / 1.131 GB, free: 140.9 MB / 0.627 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008837/2.754, allocations: 4.227 MB / 1.136 GB, free: 140.1 MB / 0.627 GB Notification: Performance of simCode: alias equations: time 0.008821/2.763, allocations: 2.394 MB / 1.138 GB, free: 140 MB / 0.627 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001729/2.764, allocations: 285 kB / 1.138 GB, free: 140 MB / 0.627 GB Notification: Performance of SimCode: time 1.62e-06/2.765, allocations: 0 / 1.138 GB, free: 140 MB / 0.627 GB Notification: Performance of Templates: time 0.1464/2.911, allocations: 59.94 MB / 1.197 GB, free: 127.3 MB / 0.627 GB