Notification: Performance of FrontEnd - loaded program: time 1.884e-05/1.918e-05, allocations: 5.312 kB / 354.3 MB, free: 5.566 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.233/0.233, allocations: 44.52 MB / 398.8 MB, free: 84.04 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1137/0.3468, allocations: 96.13 MB / 495 MB, free: 3.766 MB / 334.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000247/0.3471, allocations: 83.95 kB / 495 MB, free: 3.684 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.6571/1.004, allocations: 133.1 MB / 0.6134 GB, free: 15.7 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.994e-06/1.004, allocations: 4 kB / 0.6134 GB, free: 15.7 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0004387/1.005, allocations: 132 kB / 0.6135 GB, free: 15.57 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2299 * Number of variables: 2299 Notification: Performance of Generate backend data structure: time 0.02425/1.029, allocations: 7.115 MB / 0.6205 GB, free: 8.355 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/1.029, allocations: 8.031 kB / 0.6205 GB, free: 8.348 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05755/1.087, allocations: 7.561 MB / 0.6278 GB, free: 0.7656 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0316/1.118, allocations: 9.677 MB / 0.6373 GB, free: 7.004 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004443/1.119, allocations: 277 kB / 0.6376 GB, free: 6.73 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002586/1.121, allocations: 395.7 kB / 0.6379 GB, free: 6.344 MB / 382.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.1596/1.281, allocations: 9.679 MB / 0.6474 GB, free: 55.81 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02875/1.31, allocations: 14.23 MB / 0.6613 GB, free: 51.96 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003648/1.31, allocations: 99.06 kB / 0.6614 GB, free: 51.96 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0016/1.312, allocations: 49 kB / 0.6614 GB, free: 51.96 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002511/1.314, allocations: 1.584 MB / 0.663 GB, free: 51.95 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1019/1.416, allocations: 73.68 MB / 0.7349 GB, free: 21.19 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007751/1.424, allocations: 5.237 MB / 0.74 GB, free: 18.6 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005484/1.43, allocations: 3.762 MB / 0.7437 GB, free: 16.94 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002606/1.432, allocations: 2.265 MB / 0.7459 GB, free: 14.88 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.794e-05/1.432, allocations: 72.48 kB / 0.746 GB, free: 14.82 MB / 398.1 MB Notification: Performance of pre-optimization done (n=301): time 7.567e-06/1.432, allocations: 0 / 0.746 GB, free: 14.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=381): time 0.1673/1.6, allocations: 40.78 MB / 0.7858 GB, free: 4.113 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001791/1.6, allocations: 276.8 kB / 0.7861 GB, free: 3.793 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009349/1.609, allocations: 4.638 MB / 0.7906 GB, free: 15.86 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007343/1.61, allocations: 32.09 kB / 0.7906 GB, free: 15.82 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004667/1.615, allocations: 4.774 MB / 0.7953 GB, free: 11.57 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002141/1.617, allocations: 1.35 MB / 0.7966 GB, free: 10.35 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007222/1.617, allocations: 0 / 0.7966 GB, free: 10.35 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000707/1.618, allocations: 0.7161 MB / 0.7973 GB, free: 9.75 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007614/1.626, allocations: 3.638 MB / 0.8009 GB, free: 6.488 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4114/2.037, allocations: 8.927 MB / 0.8096 GB, free: 91.56 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01018/2.048, allocations: 5.571 MB / 0.815 GB, free: 91.51 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002335/2.048, allocations: 59.5 kB / 0.8151 GB, free: 91.51 MB / 430.1 MB Notification: Performance of matching and sorting (n=1240) (initialization): time 0.04678/2.095, allocations: 15.52 MB / 0.8302 GB, free: 91.11 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001632/2.095, allocations: 85.84 kB / 0.8303 GB, free: 91.11 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000221/2.095, allocations: 189.3 kB / 0.8305 GB, free: 91.11 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01525/2.11, allocations: 4.095 MB / 0.8345 GB, free: 91.07 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008681/2.119, allocations: 2.104 MB / 0.8366 GB, free: 90.89 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04293/2.162, allocations: 21.01 MB / 0.8571 GB, free: 87.55 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01001/2.172, allocations: 386.7 kB / 0.8574 GB, free: 87.55 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00195/2.174, allocations: 0.5483 MB / 0.858 GB, free: 87.47 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 852 * Number of states: 0 () * Number of discrete variables: 63 (lineForceWithTwoMasses.massColor[3],lineForceWithTwoMasses.massColor[2],lineForceWithTwoMasses.massColor[1],lineForceWithTwoMasses.color_b[3],lineForceWithTwoMasses.color_b[2],lineForceWithTwoMasses.color_b[1],lineForceWithTwoMasses.color_a[3],lineForceWithTwoMasses.color_a[2],lineForceWithTwoMasses.color_a[1],rod4.color[3],rod4.color[2],rod4.color[1],rod3.color[3],rod3.color[2],rod3.color[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1],rod1.color[3],rod1.color[2],rod1.color[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.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 (1121): * Single equations (assignments): 1116 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 43,(5,64.0%) 47} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001728/2.176, allocations: 0.5834 MB / 0.8585 GB, free: 87.11 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001169/2.177, allocations: 0.5408 MB / 0.8591 GB, free: 87.11 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02407/2.201, allocations: 9.569 MB / 0.8684 GB, free: 84.21 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.353e-05/2.201, allocations: 42.97 kB / 0.8685 GB, free: 84.21 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.603e-05/2.201, allocations: 12.53 kB / 0.8685 GB, free: 84.21 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.197e-05/2.201, allocations: 29.75 kB / 0.8685 GB, free: 84.21 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04687/2.248, allocations: 18.14 MB / 0.8862 GB, free: 77.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.896e-05/2.248, allocations: 4 kB / 0.8862 GB, free: 77.42 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003314/2.252, allocations: 0.5279 MB / 0.8867 GB, free: 76.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01409/2.266, allocations: 3.52 MB / 0.8902 GB, free: 74.66 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006894/2.266, allocations: 15.7 kB / 0.8902 GB, free: 74.64 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03173/2.298, allocations: 17.67 MB / 0.9074 GB, free: 59.57 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.194e-06/2.298, allocations: 4 kB / 0.9074 GB, free: 59.56 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6022/2.9, allocations: 116.8 MB / 1.022 GB, free: 72.13 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005297/2.906, allocations: 1.087 MB / 1.023 GB, free: 71.83 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002081/2.908, allocations: 6.828 kB / 1.023 GB, free: 71.83 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007269/2.915, allocations: 172.7 kB / 1.023 GB, free: 71.83 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001677/2.917, allocations: 242.4 kB / 1.023 GB, free: 71.79 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006804/2.918, allocations: 96.34 kB / 1.023 GB, free: 71.77 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.01025/2.928, allocations: 3.116 MB / 1.026 GB, free: 70.68 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.461e-06/2.928, allocations: 5.312 kB / 1.026 GB, free: 70.68 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.02104/2.949, allocations: 2.261 MB / 1.028 GB, free: 70.67 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (284): * Single equations (assignments): 279 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 43,(1,100.0%) 35} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001384/2.95, allocations: 172.1 kB / 1.029 GB, free: 70.58 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.02488/2.975, allocations: 9.24 MB / 1.038 GB, free: 67.52 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.078e-05/2.975, allocations: 0 / 1.038 GB, free: 67.52 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01013/2.986, allocations: 3.665 MB / 1.041 GB, free: 66.01 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006054/2.992, allocations: 0.5889 MB / 1.042 GB, free: 65.78 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04964/3.041, allocations: 15.88 MB / 1.057 GB, free: 52.45 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01497/3.056, allocations: 5.156 MB / 1.062 GB, free: 48.71 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.01711/3.073, allocations: 2.946 MB / 1.065 GB, free: 47.02 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002052/3.076, allocations: 384.3 kB / 1.065 GB, free: 46.66 MB / 430.1 MB Notification: Performance of SimCode: time 1.741e-06/3.076, allocations: 0 / 1.065 GB, free: 46.66 MB / 430.1 MB Notification: Performance of Templates: time 0.4381/3.514, allocations: 98.14 MB / 1.161 GB, free: 77.65 MB / 430.1 MB