Notification: Performance of FrontEnd - loaded program: time 3.219e-05/3.233e-05, allocations: 4 kB / 347.9 MB, free: 12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2612/0.2612, allocations: 44.52 MB / 392.4 MB, free: 82.51 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.18/0.4413, allocations: 89.74 MB / 482.1 MB, free: 11.02 MB / 334.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003508/0.4417, allocations: 91.92 kB / 482.2 MB, free: 10.93 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.6986/1.14, allocations: 105.6 MB / 0.574 GB, free: 34.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.478e-06/1.14, allocations: 0 / 0.574 GB, free: 34.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0003265/1.141, allocations: 104 kB / 0.5741 GB, free: 34.38 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: 1913 * Number of variables: 1913 Notification: Performance of Generate backend data structure: time 0.04249/1.183, allocations: 6.387 MB / 0.5804 GB, free: 27.9 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/1.183, allocations: 12.03 kB / 0.5804 GB, free: 27.89 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02943/1.213, allocations: 3.409 MB / 0.5837 GB, free: 24.46 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03/1.243, allocations: 7.495 MB / 0.591 GB, free: 16.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005486/1.243, allocations: 230.9 kB / 0.5912 GB, free: 16.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002697/1.246, allocations: 319.9 kB / 0.5916 GB, free: 16.37 MB / 350.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02309/1.269, allocations: 8.374 MB / 0.5997 GB, free: 7.988 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03515/1.304, allocations: 12.17 MB / 0.6116 GB, free: 10.6 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003824/1.305, allocations: 71.34 kB / 0.6117 GB, free: 10.53 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001899/1.307, allocations: 43.88 kB / 0.6117 GB, free: 10.48 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004879/1.312, allocations: 1.492 MB / 0.6132 GB, free: 8.992 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4895/1.801, allocations: 62.53 MB / 0.6743 GB, free: 37.24 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009259/1.811, allocations: 4.238 MB / 0.6784 GB, free: 36.57 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006339/1.817, allocations: 2.796 MB / 0.6811 GB, free: 36.53 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03408/1.851, allocations: 12.02 MB / 0.6929 GB, free: 34.15 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.647e-05/1.851, allocations: 62.28 kB / 0.6929 GB, free: 34.11 MB / 382.1 MB Notification: Performance of pre-optimization done (n=238): time 9.357e-06/1.851, allocations: 3.844 kB / 0.6929 GB, free: 34.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=267): time 0.07975/1.931, allocations: 19.31 MB / 0.7118 GB, free: 27.82 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.228e-05/1.931, allocations: 159.2 kB / 0.7119 GB, free: 27.66 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00631/1.937, allocations: 3.653 MB / 0.7155 GB, free: 26.32 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006001/1.938, allocations: 29.64 kB / 0.7155 GB, free: 26.29 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002796/1.941, allocations: 3.905 MB / 0.7193 GB, free: 23.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001686/1.943, allocations: 1.029 MB / 0.7203 GB, free: 22.56 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007058/1.943, allocations: 3.688 kB / 0.7204 GB, free: 22.56 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0006422/1.944, allocations: 0.6533 MB / 0.721 GB, free: 22.1 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008921/1.953, allocations: 3.098 MB / 0.724 GB, free: 21.05 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009904/1.963, allocations: 7.747 MB / 0.7316 GB, free: 13.73 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01185/1.975, allocations: 4.756 MB / 0.7362 GB, free: 10.88 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002004/1.975, allocations: 48 kB / 0.7363 GB, free: 10.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=1071) (initialization): time 0.03596/2.011, allocations: 12.1 MB / 0.7481 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000121/2.011, allocations: 79.95 kB / 0.7482 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02202/2.033, allocations: 6.485 MB / 0.7545 GB, free: 12.76 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01253/2.046, allocations: 2.823 MB / 0.7573 GB, free: 10.83 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009105/2.055, allocations: 1.952 MB / 0.7592 GB, free: 9.156 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02415/2.079, allocations: 12.19 MB / 0.7711 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02123/2.1, allocations: 0.6628 MB / 0.7717 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002783/2.103, allocations: 495.3 kB / 0.7722 GB, free: 12.78 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 756 * Number of states: 0 () * Number of discrete variables: 48 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body3.sphereColor[3],body3.sphereColor[2],body3.sphereColor[1],bar3.color[3],bar3.color[2],bar3.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],springDamper.color[3],springDamper.color[2],springDamper.color[1],damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1005): * Single equations (assignments): 984 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 6 {(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 3 {4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003683/2.107, allocations: 0.5251 MB / 0.7727 GB, free: 12.25 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001669/2.109, allocations: 410.7 kB / 0.7731 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02694/2.136, allocations: 6.613 MB / 0.7795 GB, free: 6.125 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02446/2.16, allocations: 5.944 MB / 0.7854 GB, free: 136 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.358e-05/2.16, allocations: 11.95 kB / 0.7854 GB, free: 124 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.809e-05/2.16, allocations: 15.7 kB / 0.7854 GB, free: 112 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05101/2.211, allocations: 14.29 MB / 0.7993 GB, free: 1.715 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.281e-05/2.211, allocations: 4 kB / 0.7993 GB, free: 1.711 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003456/2.215, allocations: 0.4993 MB / 0.7998 GB, free: 1.211 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1435/2.358, allocations: 2.831 MB / 0.8026 GB, free: 108.4 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008932/2.359, allocations: 50.64 kB / 0.8026 GB, free: 108.4 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02243/2.382, allocations: 13.39 MB / 0.8157 GB, free: 101.1 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003483/2.385, allocations: 4.24 MB / 0.8199 GB, free: 97.25 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2279/2.613, allocations: 74.71 MB / 0.8928 GB, free: 71.17 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001277/2.615, allocations: 467.8 kB / 0.8933 GB, free: 70.7 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001145/2.616, allocations: 29.95 kB / 0.8933 GB, free: 70.67 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003941/2.62, allocations: 313.5 kB / 0.8936 GB, free: 70.37 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007144/2.62, allocations: 200.5 kB / 0.8938 GB, free: 70.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004118/2.621, allocations: 79.95 kB / 0.8939 GB, free: 70.1 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.007645/2.629, allocations: 2.405 MB / 0.8962 GB, free: 67.69 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.357e-06/2.629, allocations: 0 / 0.8962 GB, free: 67.69 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0168/2.645, allocations: 2.06 MB / 0.8982 GB, free: 65.64 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 37 ($STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3],body2.frame_a.r_0[1],body2.frame_a.r_0[2],body2.frame_a.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body2.w_a[1],body2.w_a[2],body2.w_a[3],springDamperSeries.s_damper,body3.frame_a.r_0[1],body3.frame_a.r_0[2],body3.frame_a.r_0[3],body3.v_0[1],body3.v_0[2],body3.v_0[3],body3.w_a[1],body3.w_a[2],body3.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (215): * Single equations (assignments): 200 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 6 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 3 {4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007818/2.646, allocations: 188.6 kB / 0.8984 GB, free: 65.49 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0183/2.665, allocations: 9.244 MB / 0.9074 GB, free: 56.5 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.891e-06/2.665, allocations: 6.906 kB / 0.9074 GB, free: 56.5 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01121/2.676, allocations: 4.751 MB / 0.9121 GB, free: 51.63 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005026/2.681, allocations: 420.5 kB / 0.9125 GB, free: 51.23 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07051/2.751, allocations: 17.08 MB / 0.9292 GB, free: 34.09 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01299/2.765, allocations: 4.143 MB / 0.9332 GB, free: 29.95 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.01727/2.782, allocations: 2.533 MB / 0.9357 GB, free: 27.41 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003553/2.785, allocations: 339.3 kB / 0.936 GB, free: 27.08 MB / 430.1 MB Notification: Performance of SimCode: time 2.37e-06/2.786, allocations: 0 / 0.936 GB, free: 27.08 MB / 430.1 MB Notification: Performance of Templates: time 0.3868/3.172, allocations: 70.85 MB / 1.005 GB, free: 93.04 MB / 430.1 MB