Notification: Performance of FrontEnd - loaded program: time 2.044e-05/2.064e-05, allocations: 0 / 346 MB, free: 13.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2421/0.2421, allocations: 44.52 MB / 390.6 MB, free: 81.9 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1346/0.3767, allocations: 88.1 MB / 478.7 MB, free: 12.93 MB / 334.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002414/0.377, allocations: 83.94 kB / 478.7 MB, free: 12.85 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.6832/1.06, allocations: 120 MB / 0.5848 GB, free: 22.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.69e-06/1.06, allocations: 0 / 0.5848 GB, free: 22.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0003841/1.061, allocations: 120 kB / 0.5849 GB, free: 22.71 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: 2055 * Number of variables: 2055 Notification: Performance of Generate backend data structure: time 0.02247/1.083, allocations: 6.583 MB / 0.5913 GB, free: 16.03 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/1.083, allocations: 8.031 kB / 0.5913 GB, free: 16.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07043/1.154, allocations: 9.43 MB / 0.6005 GB, free: 6.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03364/1.187, allocations: 8.557 MB / 0.6089 GB, free: 13.93 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000553/1.188, allocations: 239.5 kB / 0.6091 GB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002508/1.191, allocations: 355.8 kB / 0.6094 GB, free: 13.35 MB / 366.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02054/1.211, allocations: 8.863 MB / 0.6181 GB, free: 4.48 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03/1.241, allocations: 13.01 MB / 0.6308 GB, free: 6.305 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003325/1.242, allocations: 83.3 kB / 0.6309 GB, free: 6.223 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001203/1.243, allocations: 36 kB / 0.6309 GB, free: 6.188 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002718/1.245, allocations: 1.443 MB / 0.6323 GB, free: 4.738 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2436/1.489, allocations: 62.86 MB / 0.6937 GB, free: 32.7 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01417/1.503, allocations: 7.013 MB / 0.7006 GB, free: 30.47 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01138/1.515, allocations: 5.048 MB / 0.7055 GB, free: 28.42 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001216/1.516, allocations: 0.5786 MB / 0.7061 GB, free: 27.92 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.298e-05/1.516, allocations: 76.23 kB / 0.7061 GB, free: 27.85 MB / 382.1 MB Notification: Performance of pre-optimization done (n=346): time 1.351e-05/1.516, allocations: 0 / 0.7061 GB, free: 27.85 MB / 382.1 MB Notification: Performance of matching and sorting (n=610): time 0.3096/1.826, allocations: 76.07 MB / 0.7804 GB, free: 10.06 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001813/1.826, allocations: 269.9 kB / 0.7807 GB, free: 9.746 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007778/1.834, allocations: 3.979 MB / 0.7846 GB, free: 5.852 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001476/1.835, allocations: 29.22 kB / 0.7846 GB, free: 5.82 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003922/1.839, allocations: 4.051 MB / 0.7885 GB, free: 1.926 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.1498/1.989, allocations: 2.049 MB / 0.7905 GB, free: 88.7 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00134/1.99, allocations: 0 / 0.7905 GB, free: 88.7 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0006387/1.991, allocations: 0.7228 MB / 0.7912 GB, free: 88.38 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0156/2.007, allocations: 8.426 MB / 0.7995 GB, free: 88.35 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02134/2.028, allocations: 12.61 MB / 0.8118 GB, free: 83.14 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02546/2.054, allocations: 10.39 MB / 0.8219 GB, free: 82.61 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00027/2.054, allocations: 44.72 kB / 0.822 GB, free: 82.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=1263) (initialization): time 0.2766/2.33, allocations: 38.98 MB / 0.8601 GB, free: 72.2 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001252/2.331, allocations: 66.28 kB / 0.8601 GB, free: 72.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001741/2.331, allocations: 146.5 kB / 0.8603 GB, free: 72.19 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.09572/2.427, allocations: 21.34 MB / 0.8811 GB, free: 59.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005752/2.432, allocations: 1.489 MB / 0.8825 GB, free: 58.15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4304/2.863, allocations: 137 MB / 1.016 GB, free: 54.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01945/2.882, allocations: 0.552 MB / 1.017 GB, free: 54.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00405/2.886, allocations: 0.5395 MB / 1.017 GB, free: 54.54 MB / 414.1 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: b2.frame_b.R.T[3,1]:DUMMY_STATE() "Transformation matrix from world frame to local frame" type: Real [3,3] b2.frame_b.R.T[1,1]:DUMMY_STATE() "Transformation matrix from world frame to local frame" type: Real [3,3] b2.frame_b.R.T[1,3]:DUMMY_STATE() "Transformation matrix from world frame to local frame" type: Real [3,3] b2.frame_b.R.T[3,2]:DUMMY_STATE() "Transformation matrix from world frame to local frame" type: Real [3,3] b2.frame_b.R.T[3,3]:DUMMY_STATE() "Transformation matrix from world frame to local frame" type: Real [3,3] b2.frame_b.R.T[1,2]:DUMMY_STATE() "Transformation matrix from world frame to local frame" type: Real [3,3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 649 * Number of states: 0 () * Number of discrete variables: 51 (b0.color[3],b0.color[2],b0.color[1],j5.cylinderColor[3],j5.cylinderColor[2],j5.cylinderColor[1],j4.cylinderColor[3],j4.cylinderColor[2],j4.cylinderColor[1],j3.cylinderColor[3],j3.cylinderColor[2],j3.cylinderColor[1],rev1.cylinderColor[3],rev1.cylinderColor[2],rev1.cylinderColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],b3.color[3],b3.color[2],b3.color[1],b3.body.sphereColor[3],b3.body.sphereColor[2],b3.body.sphereColor[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.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 (802): * Single equations (assignments): 795 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(22,33.9%) 176,(17,45.3%) 115,(2,100.0%) 7} * Non-linear torn systems: 1 {12 90} Notification: Performance of prepare postOptimizeDAE: time 0.006076/2.892, allocations: 497.9 kB / 1.018 GB, free: 54.38 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003376/2.896, allocations: 0.5504 MB / 1.018 GB, free: 54.12 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1832/3.079, allocations: 35.47 MB / 1.053 GB, free: 29.69 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001476/3.079, allocations: 66.56 kB / 1.053 GB, free: 29.63 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002189/3.08, allocations: 64.55 kB / 1.053 GB, free: 29.57 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000164/3.08, allocations: 25.19 kB / 1.053 GB, free: 29.57 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3113/3.391, allocations: 55.75 MB / 1.108 GB, free: 80.66 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.347e-05/3.391, allocations: 5.844 kB / 1.108 GB, free: 80.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00182/3.393, allocations: 278.2 kB / 1.108 GB, free: 80.66 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.07639/3.47, allocations: 20.57 MB / 1.128 GB, free: 80.55 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00164/3.471, allocations: 8.109 kB / 1.128 GB, free: 80.55 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4469/3.918, allocations: 124.6 MB / 1.25 GB, free: 79.76 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.869e-06/3.918, allocations: 3.906 kB / 1.25 GB, free: 79.76 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 2.292/6.21, allocations: 0.5641 GB / 1.814 GB, free: 54.29 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006788/6.217, allocations: 2.345 MB / 1.816 GB, free: 53.19 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002685/6.219, allocations: 6.094 kB / 1.816 GB, free: 53.19 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01231/6.232, allocations: 412.6 kB / 1.817 GB, free: 53.18 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004786/6.236, allocations: 0.5135 MB / 1.817 GB, free: 53.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001304/6.238, allocations: 143.6 kB / 1.817 GB, free: 53.07 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004895/6.243, allocations: 2.728 MB / 1.82 GB, free: 52.09 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.466e-06/6.243, allocations: 0 / 1.82 GB, free: 52.09 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.02336/6.266, allocations: 4.885 MB / 1.825 GB, free: 51.64 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (j1.phi,j1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (154): * Single equations (assignments): 147 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(22,33.9%) 173,(18,37.0%) 114,(2,100.0%) 7} * Non-linear torn systems: 1 {12 100} Notification: Performance of Backend phase and start with SimCode phase: time 0.001686/6.268, allocations: 159.4 kB / 1.825 GB, free: 51.52 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.04594/6.314, allocations: 23.56 MB / 1.848 GB, free: 30.74 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.793e-06/6.314, allocations: 0 / 1.848 GB, free: 30.74 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.04935/6.363, allocations: 13.25 MB / 1.861 GB, free: 18.99 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008753/6.372, allocations: 0.537 MB / 1.861 GB, free: 18.54 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2854/6.657, allocations: 30.45 MB / 1.891 GB, free: 69.79 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01127/6.669, allocations: 5.708 MB / 1.897 GB, free: 68.86 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.007581/6.676, allocations: 2.164 MB / 1.899 GB, free: 68.79 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001281/6.678, allocations: 291.8 kB / 1.899 GB, free: 68.79 MB / 446.1 MB Notification: Performance of SimCode: time 1.171e-06/6.678, allocations: 0 / 1.899 GB, free: 68.79 MB / 446.1 MB Notification: Performance of Templates: time 1.62/8.298, allocations: 349.9 MB / 2.241 GB, free: 61.43 MB / 494.1 MB