Notification: Performance of FrontEnd - loaded program: time 2.658e-05/2.675e-05, allocations: 4 kB / 350.3 MB, free: 9.672 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.196/0.1961, allocations: 44.52 MB / 394.8 MB, free: 83.25 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1108/0.3069, allocations: 92.12 MB / 486.9 MB, free: 8.344 MB / 334.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002622/0.3072, allocations: 79.95 kB / 487 MB, free: 8.266 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.4893/0.7965, allocations: 104 MB / 0.5771 GB, free: 33.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.287e-06/0.7966, allocations: 0 / 0.5771 GB, free: 33.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002827/0.7969, allocations: 108 kB / 0.5772 GB, free: 33.5 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: 1843 * Number of variables: 1843 Notification: Performance of Generate backend data structure: time 0.01424/0.8111, allocations: 5.335 MB / 0.5825 GB, free: 28.08 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.8112, allocations: 12.03 kB / 0.5825 GB, free: 28.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05747/0.8687, allocations: 6.939 MB / 0.5892 GB, free: 21.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01862/0.8873, allocations: 6.801 MB / 0.5959 GB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002796/0.8876, allocations: 230.8 kB / 0.5961 GB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001531/0.8892, allocations: 323.8 kB / 0.5964 GB, free: 13.71 MB / 350.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01435/0.9035, allocations: 7.545 MB / 0.6038 GB, free: 6.156 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02262/0.9262, allocations: 11.33 MB / 0.6148 GB, free: 9.684 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002566/0.9265, allocations: 75.3 kB / 0.6149 GB, free: 9.609 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009127/0.9274, allocations: 36 kB / 0.615 GB, free: 9.574 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002135/0.9296, allocations: 1.125 MB / 0.6161 GB, free: 8.445 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2465/1.176, allocations: 55.94 MB / 0.6707 GB, free: 41.52 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008357/1.185, allocations: 3.5 MB / 0.6741 GB, free: 40.86 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005401/1.19, allocations: 2.269 MB / 0.6763 GB, free: 40.83 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006526/1.191, allocations: 341.6 kB / 0.6766 GB, free: 40.55 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.413e-05/1.191, allocations: 57.06 kB / 0.6767 GB, free: 40.51 MB / 382.1 MB Notification: Performance of pre-optimization done (n=201): time 1.094e-05/1.191, allocations: 0 / 0.6767 GB, free: 40.51 MB / 382.1 MB Notification: Performance of matching and sorting (n=228): time 0.08459/1.275, allocations: 19.96 MB / 0.6962 GB, free: 36.93 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.743e-05/1.276, allocations: 207.5 kB / 0.6964 GB, free: 36.71 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01033/1.286, allocations: 3.652 MB / 0.6999 GB, free: 35.57 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004947/1.286, allocations: 28.8 kB / 0.7 GB, free: 35.54 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004195/1.291, allocations: 3.818 MB / 0.7037 GB, free: 32.81 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001461/1.292, allocations: 0.8378 MB / 0.7045 GB, free: 32.19 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006453/1.293, allocations: 3.375 kB / 0.7045 GB, free: 32.19 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0005981/1.293, allocations: 0.5937 MB / 0.7051 GB, free: 31.77 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006577/1.3, allocations: 2.171 MB / 0.7072 GB, free: 30.98 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009744/1.31, allocations: 6.229 MB / 0.7133 GB, free: 24.71 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01373/1.324, allocations: 3.653 MB / 0.7169 GB, free: 23.61 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001261/1.324, allocations: 44.28 kB / 0.7169 GB, free: 23.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=894) (initialization): time 0.02307/1.347, allocations: 8.239 MB / 0.725 GB, free: 20.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001693/1.347, allocations: 72.06 kB / 0.725 GB, free: 20.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002603/1.347, allocations: 144 kB / 0.7252 GB, free: 20.72 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005837/1.353, allocations: 0.9524 MB / 0.7261 GB, free: 19.97 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01216/1.365, allocations: 1.57 MB / 0.7276 GB, free: 18.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01781/1.383, allocations: 7.26 MB / 0.7347 GB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01214/1.395, allocations: 232.4 kB / 0.7349 GB, free: 11.69 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001806/1.397, allocations: 423.3 kB / 0.7353 GB, free: 11.29 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 662 * Number of states: 0 () * Number of discrete variables: 42 (fixed.color[3],fixed.color[2],fixed.color[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],cyl2.color[3],cyl2.color[2],cyl2.color[1],cyl2.body.sphereColor[3],cyl2.body.sphereColor[2],cyl2.body.sphereColor[1],cyl1.color[3],cyl1.color[2],cyl1.color[1],cyl1.body.sphereColor[3],cyl1.body.sphereColor[2],cyl1.body.sphereColor[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],gearConstraint.fixedTranslation2.color[3],gearConstraint.fixedTranslation2.color[2],gearConstraint.fixedTranslation2.color[1],gearConstraint.fixedTranslation1.color[3],gearConstraint.fixedTranslation1.color[2],gearConstraint.fixedTranslation1.color[1],gearConstraint.actuatedRevolute_b.cylinderColor[3],gearConstraint.actuatedRevolute_b.cylinderColor[2],gearConstraint.actuatedRevolute_b.cylinderColor[1],gearConstraint.actuatedRevolute_a.cylinderColor[3],gearConstraint.actuatedRevolute_a.cylinderColor[2],gearConstraint.actuatedRevolute_a.cylinderColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (832): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 33,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001745/1.399, allocations: 477.2 kB / 0.7358 GB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001562/1.401, allocations: 402.8 kB / 0.7362 GB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01281/1.414, allocations: 3.489 MB / 0.7396 GB, free: 7.559 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.441e-05/1.414, allocations: 28.31 kB / 0.7396 GB, free: 7.535 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.737e-05/1.414, allocations: 4 kB / 0.7396 GB, free: 7.531 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.345e-05/1.414, allocations: 14.03 kB / 0.7396 GB, free: 7.527 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01837/1.432, allocations: 8.543 MB / 0.748 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.609e-05/1.432, allocations: 0 / 0.748 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002167/1.434, allocations: 364.7 kB / 0.7483 GB, free: 288 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004427/1.439, allocations: 0.7453 MB / 0.7491 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002926/1.439, allocations: 21.95 kB / 0.7491 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01016/1.449, allocations: 6.209 MB / 0.7551 GB, free: 10.15 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.826e-06/1.449, allocations: 4.062 kB / 0.7551 GB, free: 10.15 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07813/1.527, allocations: 30.49 MB / 0.7849 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003193/1.531, allocations: 0.7138 MB / 0.7856 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001037/1.532, allocations: 0 / 0.7856 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003209/1.535, allocations: 79.38 kB / 0.7857 GB, free: 15.22 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006231/1.536, allocations: 144 kB / 0.7858 GB, free: 15.13 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003238/1.536, allocations: 63.72 kB / 0.7859 GB, free: 15.07 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.007526/1.544, allocations: 2.474 MB / 0.7883 GB, free: 12.91 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.057e-06/1.544, allocations: 0 / 0.7883 GB, free: 12.91 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.01245/1.556, allocations: 1.339 MB / 0.7896 GB, free: 11.58 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (gearConstraint.actuatedRevolute_b.phi,gearConstraint.actuatedRevolute_b.w,inertia1.phi,inertia1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (179): * Single equations (assignments): 174 * 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 {(1,100.0%) 27,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008133/1.557, allocations: 151 kB / 0.7898 GB, free: 11.43 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01197/1.569, allocations: 5.458 MB / 0.7951 GB, free: 6.484 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.218e-06/1.569, allocations: 11.56 kB / 0.7951 GB, free: 6.477 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003959/1.573, allocations: 1.934 MB / 0.797 GB, free: 4.57 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002785/1.576, allocations: 445 kB / 0.7974 GB, free: 4.145 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3944/1.97, allocations: 11.05 MB / 0.8082 GB, free: 110.8 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008282/1.979, allocations: 4.193 MB / 0.8123 GB, free: 110 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.01299/1.992, allocations: 2.187 MB / 0.8144 GB, free: 109.9 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002063/1.994, allocations: 276.9 kB / 0.8147 GB, free: 109.9 MB / 430.1 MB Notification: Performance of SimCode: time 2.323e-06/1.994, allocations: 0 / 0.8147 GB, free: 109.9 MB / 430.1 MB Notification: Performance of Templates: time 0.1621/2.156, allocations: 41.33 MB / 0.855 GB, free: 104.8 MB / 430.1 MB