Notification: Performance of FrontEnd - loaded program: time 1.508e-05/1.548e-05, allocations: 0 / 353.7 MB, free: 6.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2089/0.209, allocations: 44.52 MB / 398.2 MB, free: 84.15 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1136/0.3226, allocations: 95.33 MB / 493.6 MB, free: 4.672 MB / 334.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002732/0.3229, allocations: 87.94 kB / 493.6 MB, free: 4.586 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.5411/0.864, allocations: 93.93 MB / 0.5738 GB, free: 39.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.668e-06/0.8641, allocations: 4 kB / 0.5738 GB, free: 39.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002405/0.8643, allocations: 104 kB / 0.5739 GB, free: 39.65 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1752 * Number of variables: 1752 Notification: Performance of Generate backend data structure: time 0.0252/0.8896, allocations: 6.072 MB / 0.5798 GB, free: 33.49 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.8896, allocations: 12.03 kB / 0.5798 GB, free: 33.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02302/0.9126, allocations: 4.392 MB / 0.5841 GB, free: 29.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01441/0.9271, allocations: 5.234 MB / 0.5892 GB, free: 23.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002374/0.9274, allocations: 210.1 kB / 0.5894 GB, free: 23.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001589/0.929, allocations: 295.9 kB / 0.5897 GB, free: 23.28 MB / 350.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01534/0.9443, allocations: 7.625 MB / 0.5972 GB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0219/0.9663, allocations: 11.34 MB / 0.6082 GB, free: 3.223 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002123/0.9665, allocations: 63.41 kB / 0.6083 GB, free: 3.16 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001114/0.9676, allocations: 32 kB / 0.6083 GB, free: 3.129 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001754/0.9694, allocations: 1.09 MB / 0.6094 GB, free: 2.035 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5815/1.551, allocations: 53.96 MB / 0.6621 GB, free: 46.47 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007043/1.558, allocations: 4.694 MB / 0.6667 GB, free: 45.81 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00482/1.563, allocations: 3.342 MB / 0.6699 GB, free: 45.78 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001929/1.565, allocations: 1.037 MB / 0.671 GB, free: 44.93 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.883e-05/1.565, allocations: 57.66 kB / 0.671 GB, free: 44.89 MB / 382.1 MB Notification: Performance of pre-optimization done (n=217): time 6.502e-06/1.565, allocations: 3 kB / 0.671 GB, free: 44.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=255): time 0.06783/1.633, allocations: 25.69 MB / 0.6961 GB, free: 39.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.619e-05/1.633, allocations: 205.3 kB / 0.6963 GB, free: 39.3 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005814/1.639, allocations: 3.31 MB / 0.6995 GB, free: 38.11 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006195/1.639, allocations: 25.7 kB / 0.6996 GB, free: 38.08 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002374/1.642, allocations: 3.519 MB / 0.703 GB, free: 35.57 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00124/1.643, allocations: 0.9203 MB / 0.7039 GB, free: 34.89 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006083/1.644, allocations: 7.453 kB / 0.7039 GB, free: 34.89 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0003989/1.644, allocations: 0.5994 MB / 0.7045 GB, free: 34.46 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005879/1.65, allocations: 3.308 MB / 0.7077 GB, free: 33.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008192/1.658, allocations: 7.256 MB / 0.7148 GB, free: 26.73 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008459/1.667, allocations: 4.827 MB / 0.7195 GB, free: 23.43 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001036/1.667, allocations: 40.94 kB / 0.7195 GB, free: 23.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=906) (initialization): time 0.02734/1.694, allocations: 11.8 MB / 0.7311 GB, free: 14.08 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001025/1.694, allocations: 64 kB / 0.7311 GB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001465/1.694, allocations: 140 kB / 0.7313 GB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007803/1.702, allocations: 2.254 MB / 0.7335 GB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007498/1.71, allocations: 1.684 MB / 0.7351 GB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02163/1.731, allocations: 14.26 MB / 0.749 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007665/1.739, allocations: 329.5 kB / 0.7494 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001553/1.741, allocations: 448.4 kB / 0.7498 GB, free: 13.47 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 641 * Number of states: 0 () * Number of discrete variables: 33 (sensor2.torqueColor[3],sensor2.torqueColor[2],sensor2.torqueColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],inertia2.cylinderColor[3],inertia2.cylinderColor[2],inertia2.cylinderColor[1],inertia1.cylinderColor[3],inertia1.cylinderColor[2],inertia1.cylinderColor[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 (833): * Single equations (assignments): 827 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 16,(4,100.0%) 21,(2,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001436/1.742, allocations: 464.5 kB / 0.7502 GB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001082/1.743, allocations: 371.2 kB / 0.7506 GB, free: 12.65 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02019/1.764, allocations: 7.37 MB / 0.7578 GB, free: 6.91 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.168e-05/1.764, allocations: 31.94 kB / 0.7578 GB, free: 6.879 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-05/1.764, allocations: 8 kB / 0.7578 GB, free: 6.871 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-05/1.764, allocations: 11.08 kB / 0.7578 GB, free: 6.871 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05006/1.814, allocations: 13.94 MB / 0.7714 GB, free: 10.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.559e-05/1.814, allocations: 4 kB / 0.7714 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004914/1.819, allocations: 445.4 kB / 0.7719 GB, free: 9.871 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01168/1.831, allocations: 2.019 MB / 0.7738 GB, free: 7.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000875/1.832, allocations: 15.98 kB / 0.7739 GB, free: 7.824 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03318/1.865, allocations: 13.1 MB / 0.7866 GB, free: 10.38 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.342e-06/1.865, allocations: 0 / 0.7866 GB, free: 10.38 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3952/2.26, allocations: 72.22 MB / 0.8572 GB, free: 114 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004416/2.265, allocations: 0.94 MB / 0.8581 GB, free: 113.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001581/2.266, allocations: 0 / 0.8581 GB, free: 113.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00578/2.272, allocations: 176.8 kB / 0.8583 GB, free: 113.6 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001193/2.273, allocations: 159.8 kB / 0.8584 GB, free: 113.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006177/2.274, allocations: 69.17 kB / 0.8585 GB, free: 113.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.006907/2.281, allocations: 2.22 MB / 0.8607 GB, free: 112.7 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.451e-06/2.281, allocations: 0 / 0.8607 GB, free: 112.7 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.01636/2.297, allocations: 1.606 MB / 0.8622 GB, free: 112.7 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (inertia1.phi,inertia1.w,revolute1.phi,revolute1.w,revolute2.phi,revolute2.w,revolute3.phi,revolute3.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (198): * Single equations (assignments): 192 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 12,(4,100.0%) 18,(2,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001151/2.298, allocations: 154.9 kB / 0.8624 GB, free: 112.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01489/2.313, allocations: 8.159 MB / 0.8703 GB, free: 109.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.046e-06/2.313, allocations: 0 / 0.8703 GB, free: 109.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006804/2.32, allocations: 3.601 MB / 0.8739 GB, free: 108.4 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002896/2.323, allocations: 370.9 kB / 0.8742 GB, free: 108.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0265/2.35, allocations: 12.54 MB / 0.8864 GB, free: 99.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006721/2.356, allocations: 3.935 MB / 0.8903 GB, free: 96.37 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.008157/2.365, allocations: 2.313 MB / 0.8926 GB, free: 94.94 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001947/2.367, allocations: 312.8 kB / 0.8928 GB, free: 94.68 MB / 446.1 MB Notification: Performance of SimCode: time 1.462e-06/2.367, allocations: 4 kB / 0.8929 GB, free: 94.68 MB / 446.1 MB Notification: Performance of Templates: time 0.1735/2.54, allocations: 67.86 MB / 0.9591 GB, free: 32.85 MB / 446.1 MB