Notification: Performance of FrontEnd - loaded program: time 2.557e-05/2.566e-05, allocations: 4 kB / 352.1 MB, free: 7.852 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2332/0.2332, allocations: 44.52 MB / 396.6 MB, free: 83.78 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1638/0.3971, allocations: 94 MB / 490.6 MB, free: 6.188 MB / 334.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002706/0.3975, allocations: 91.95 kB / 490.7 MB, free: 6.098 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.4887/0.8862, allocations: 95.04 MB / 0.572 GB, free: 40.28 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.107e-06/0.8863, allocations: 0 / 0.572 GB, free: 40.28 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002282/0.8865, allocations: 96 kB / 0.5721 GB, free: 40.19 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: 1734 * Number of variables: 1734 Notification: Performance of Generate backend data structure: time 0.01337/0.8999, allocations: 4.741 MB / 0.5768 GB, free: 35.36 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.8999, allocations: 12.03 kB / 0.5768 GB, free: 35.35 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02258/0.9225, allocations: 4.502 MB / 0.5812 GB, free: 30.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01445/0.937, allocations: 5.034 MB / 0.5861 GB, free: 25.74 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002661/0.9373, allocations: 205.5 kB / 0.5863 GB, free: 25.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001646/0.939, allocations: 280 kB / 0.5865 GB, free: 25.26 MB / 350.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01378/0.9528, allocations: 6.977 MB / 0.5934 GB, free: 18.28 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01943/0.9723, allocations: 10.58 MB / 0.6037 GB, free: 6.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001882/0.9725, allocations: 63.39 kB / 0.6037 GB, free: 6.598 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008643/0.9734, allocations: 35.95 kB / 0.6038 GB, free: 6.562 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00179/0.9752, allocations: 1.195 MB / 0.6049 GB, free: 5.363 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4743/1.449, allocations: 50.51 MB / 0.6543 GB, free: 48.62 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006262/1.456, allocations: 4.035 MB / 0.6582 GB, free: 47.68 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003611/1.459, allocations: 2.397 MB / 0.6606 GB, free: 47.64 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001018/1.46, allocations: 0.6955 MB / 0.6612 GB, free: 47.08 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.943e-05/1.461, allocations: 59.25 kB / 0.6613 GB, free: 47.04 MB / 382.1 MB Notification: Performance of pre-optimization done (n=207): time 5.742e-06/1.461, allocations: 0 / 0.6613 GB, free: 47.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=229): time 0.04394/1.505, allocations: 17.07 MB / 0.678 GB, free: 44.18 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.693e-05/1.505, allocations: 179.4 kB / 0.6781 GB, free: 43.99 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006232/1.511, allocations: 3.371 MB / 0.6814 GB, free: 43.61 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004477/1.511, allocations: 25.7 kB / 0.6814 GB, free: 43.58 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002151/1.514, allocations: 3.529 MB / 0.6849 GB, free: 41.71 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008898/1.514, allocations: 0.8366 MB / 0.6857 GB, free: 41.21 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00036/1.515, allocations: 0 / 0.6857 GB, free: 41.21 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0003992/1.515, allocations: 0.6029 MB / 0.6863 GB, free: 40.86 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004405/1.52, allocations: 2.392 MB / 0.6886 GB, free: 40 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006164/1.526, allocations: 6.416 MB / 0.6949 GB, free: 33.72 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006997/1.533, allocations: 3.905 MB / 0.6987 GB, free: 32.53 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.969e-05/1.533, allocations: 44.44 kB / 0.6988 GB, free: 32.53 MB / 382.1 MB Notification: Performance of matching and sorting (n=901) (initialization): time 0.01995/1.553, allocations: 8.674 MB / 0.7072 GB, free: 30.15 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001051/1.553, allocations: 70.36 kB / 0.7073 GB, free: 30.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000145/1.553, allocations: 143.2 kB / 0.7074 GB, free: 30.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002925/1.556, allocations: 0.9255 MB / 0.7083 GB, free: 30 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006978/1.563, allocations: 1.661 MB / 0.71 GB, free: 28.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008563/1.572, allocations: 5.5 MB / 0.7153 GB, free: 23.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006882/1.579, allocations: 260.7 kB / 0.7156 GB, free: 23.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001209/1.58, allocations: 424 kB / 0.716 GB, free: 23.18 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 654 * Number of states: 0 () * Number of discrete variables: 39 (fixed2.color[3],fixed2.color[2],fixed2.color[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],forceAndTorque.connectionLineColor[3],forceAndTorque.connectionLineColor[2],forceAndTorque.connectionLineColor[1],forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (853): * Single equations (assignments): 849 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001104/1.581, allocations: 473.8 kB / 0.7164 GB, free: 22.72 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007667/1.582, allocations: 367.2 kB / 0.7168 GB, free: 22.36 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00793/1.59, allocations: 3.944 MB / 0.7206 GB, free: 19.15 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.121e-05/1.59, allocations: 35.66 kB / 0.7207 GB, free: 19.12 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.328e-05/1.59, allocations: 4 kB / 0.7207 GB, free: 19.12 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.873e-05/1.59, allocations: 7.266 kB / 0.7207 GB, free: 19.12 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01941/1.609, allocations: 9.074 MB / 0.7295 GB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-05/1.609, allocations: 4 kB / 0.7295 GB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002561/1.612, allocations: 444.2 kB / 0.73 GB, free: 11.42 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002427/1.615, allocations: 0.7063 MB / 0.7307 GB, free: 10.93 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003473/1.615, allocations: 15.28 kB / 0.7307 GB, free: 10.92 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007435/1.622, allocations: 4.988 MB / 0.7355 GB, free: 6.48 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.758e-06/1.622, allocations: 7.375 kB / 0.7356 GB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08559/1.708, allocations: 38.52 MB / 0.7732 GB, free: 5.25 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002078/1.71, allocations: 0.7267 MB / 0.7739 GB, free: 4.5 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000573/1.711, allocations: 4 kB / 0.7739 GB, free: 4.496 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002072/1.713, allocations: 107.8 kB / 0.774 GB, free: 4.391 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004167/1.713, allocations: 133.8 kB / 0.7741 GB, free: 4.262 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002459/1.713, allocations: 63.98 kB / 0.7742 GB, free: 4.199 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.004744/1.718, allocations: 2.249 MB / 0.7764 GB, free: 1.938 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.043e-06/1.718, allocations: 0 / 0.7764 GB, free: 1.938 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.01218/1.73, allocations: 1.28 MB / 0.7776 GB, free: 0.6602 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 4 (revolute2.phi,revolute2.w,revolute1.phi,revolute1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (190): * Single equations (assignments): 186 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008422/1.731, allocations: 155.3 kB / 0.7778 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01728/1.749, allocations: 5.919 MB / 0.7835 GB, free: 10.62 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 9.065e-06/1.749, allocations: 1.625 kB / 0.7835 GB, free: 10.62 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006642/1.755, allocations: 2.143 MB / 0.7856 GB, free: 8.465 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004362/1.76, allocations: 352.4 kB / 0.786 GB, free: 8.121 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03028/1.79, allocations: 10.71 MB / 0.7964 GB, free: 13.32 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0107/1.801, allocations: 3.835 MB / 0.8002 GB, free: 9.473 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.01465/1.816, allocations: 2.305 MB / 0.8024 GB, free: 7.176 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002585/1.818, allocations: 275.4 kB / 0.8027 GB, free: 6.906 MB / 446.1 MB Notification: Performance of SimCode: time 2.28e-06/1.818, allocations: 0 / 0.8027 GB, free: 6.906 MB / 446.1 MB Notification: Performance of Templates: time 0.2716/2.09, allocations: 42.05 MB / 0.8438 GB, free: 127 MB / 446.1 MB