Notification: Performance of FrontEnd - loaded program: time 1.706e-05/1.724e-05, allocations: 4.609 kB / 349.6 MB, free: 10.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1831/0.1832, allocations: 44.53 MB / 394.2 MB, free: 83.01 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.116/0.2992, allocations: 91.31 MB / 485.5 MB, free: 9.219 MB / 334.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002656/0.2995, allocations: 91.95 kB / 485.6 MB, free: 9.129 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.5262/0.8257, allocations: 92.51 MB / 0.5645 GB, free: 45.87 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.125e-06/0.8257, allocations: 0 / 0.5645 GB, free: 45.87 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002801/0.826, allocations: 84 kB / 0.5646 GB, free: 45.79 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: 1553 * Number of variables: 1553 Notification: Performance of Generate backend data structure: time 0.01296/0.839, allocations: 4.579 MB / 0.5691 GB, free: 41.12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.839, allocations: 8.031 kB / 0.5691 GB, free: 41.11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03517/0.8742, allocations: 6.733 MB / 0.5756 GB, free: 34.37 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01734/0.8916, allocations: 6.153 MB / 0.5817 GB, free: 28.15 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002468/0.8919, allocations: 184.7 kB / 0.5818 GB, free: 27.97 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00155/0.8934, allocations: 263.8 kB / 0.5821 GB, free: 27.71 MB / 350.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01271/0.9062, allocations: 6.206 MB / 0.5881 GB, free: 21.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01868/0.9249, allocations: 9.431 MB / 0.5973 GB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002551/0.9252, allocations: 55.53 kB / 0.5974 GB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008441/0.9261, allocations: 28 kB / 0.5974 GB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001509/0.9276, allocations: 1.011 MB / 0.5984 GB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2995/1.227, allocations: 44.08 MB / 0.6415 GB, free: 56.86 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007387/1.235, allocations: 3.193 MB / 0.6446 GB, free: 56.2 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01879/1.253, allocations: 1.976 MB / 0.6465 GB, free: 56.17 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009602/1.254, allocations: 0.6521 MB / 0.6471 GB, free: 55.61 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.727e-05/1.255, allocations: 56.94 kB / 0.6472 GB, free: 55.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=175): time 8.653e-06/1.255, allocations: 0 / 0.6472 GB, free: 55.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=210): time 0.06485/1.319, allocations: 18.36 MB / 0.6651 GB, free: 52.75 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001111/1.32, allocations: 261.4 kB / 0.6654 GB, free: 52.46 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006594/1.326, allocations: 3.239 MB / 0.6685 GB, free: 52.15 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003866/1.327, allocations: 27.02 kB / 0.6686 GB, free: 52.12 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00255/1.329, allocations: 3.296 MB / 0.6718 GB, free: 50.39 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001009/1.33, allocations: 0.7758 MB / 0.6725 GB, free: 49.93 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004749/1.331, allocations: 3.625 kB / 0.6725 GB, free: 49.93 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0004261/1.331, allocations: 0.5624 MB / 0.6731 GB, free: 49.62 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004247/1.335, allocations: 2.133 MB / 0.6752 GB, free: 49.37 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006338/1.342, allocations: 5.789 MB / 0.6808 GB, free: 43.66 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006399/1.348, allocations: 3.49 MB / 0.6842 GB, free: 42.6 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001178/1.348, allocations: 41.91 kB / 0.6843 GB, free: 42.6 MB / 382.1 MB Notification: Performance of matching and sorting (n=809) (initialization): time 0.02167/1.37, allocations: 8.769 MB / 0.6928 GB, free: 40.3 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001051/1.37, allocations: 58.88 kB / 0.6929 GB, free: 40.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001403/1.37, allocations: 128.3 kB / 0.693 GB, free: 40.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007273/1.378, allocations: 1.959 MB / 0.6949 GB, free: 39.94 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005348/1.383, allocations: 1.343 MB / 0.6962 GB, free: 39.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02143/1.405, allocations: 14.13 MB / 0.71 GB, free: 26.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006387/1.411, allocations: 227.9 kB / 0.7103 GB, free: 26.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00123/1.412, allocations: 379 kB / 0.7106 GB, free: 26.26 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 593 * Number of states: 0 () * Number of discrete variables: 30 (freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],boxBody2.color[3],boxBody2.color[2],boxBody2.color[1],boxBody2.body.sphereColor[3],boxBody2.body.sphereColor[2],boxBody2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],boxBody1.color[3],boxBody1.color[2],boxBody1.color[1],boxBody1.body.sphereColor[3],boxBody1.body.sphereColor[2],boxBody1.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 (721): * Single equations (assignments): 715 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(5,80.0%) 33,(3,100.0%) 11} * Non-linear torn systems: 1 {2 13} Notification: Performance of prepare postOptimizeDAE: time 0.001027/1.413, allocations: 426.4 kB / 0.711 GB, free: 25.84 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000896/1.414, allocations: 359.4 kB / 0.7114 GB, free: 25.48 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008663/1.423, allocations: 3.994 MB / 0.7153 GB, free: 22.32 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.436e-05/1.423, allocations: 30.16 kB / 0.7153 GB, free: 22.29 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.679e-05/1.423, allocations: 5.016 kB / 0.7153 GB, free: 22.29 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.124e-05/1.423, allocations: 10.52 kB / 0.7153 GB, free: 22.29 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02018/1.443, allocations: 8.995 MB / 0.7241 GB, free: 15.01 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.697e-05/1.443, allocations: 0 / 0.7241 GB, free: 15.01 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001774/1.445, allocations: 299.8 kB / 0.7244 GB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004282/1.449, allocations: 1.193 MB / 0.7256 GB, free: 13.94 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003046/1.45, allocations: 11.12 kB / 0.7256 GB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01143/1.461, allocations: 7.038 MB / 0.7324 GB, free: 7.797 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.402e-06/1.461, allocations: 8 kB / 0.7324 GB, free: 7.793 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.139/1.6, allocations: 47.26 MB / 0.7786 GB, free: 10.98 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002141/1.602, allocations: 0.6876 MB / 0.7793 GB, free: 10.27 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006884/1.603, allocations: 4 kB / 0.7793 GB, free: 10.26 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002016/1.605, allocations: 95.52 kB / 0.7794 GB, free: 10.17 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004347/1.606, allocations: 121.1 kB / 0.7795 GB, free: 10.05 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000266/1.606, allocations: 55.98 kB / 0.7795 GB, free: 10 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00452/1.61, allocations: 2.197 MB / 0.7817 GB, free: 7.824 MB / 430.1 MB Notification: Performance of sort global known variables: time 7.71e-07/1.61, allocations: 0 / 0.7817 GB, free: 7.824 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.008714/1.619, allocations: 1.322 MB / 0.783 GB, free: 6.508 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (157): * Single equations (assignments): 153 * 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,87.5%) 31} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006296/1.62, allocations: 148.9 kB / 0.7831 GB, free: 6.363 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.01257/1.632, allocations: 5.757 MB / 0.7887 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 9.283e-06/1.632, allocations: 4 kB / 0.7887 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004549/1.637, allocations: 2.023 MB / 0.7907 GB, free: 14.57 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003141/1.64, allocations: 450.7 kB / 0.7911 GB, free: 14.14 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02663/1.667, allocations: 10.24 MB / 0.8011 GB, free: 3.832 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0102/1.677, allocations: 3.69 MB / 0.8047 GB, free: 136 kB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.2102/1.887, allocations: 2.001 MB / 0.8067 GB, free: 131.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001803/1.889, allocations: 251.6 kB / 0.8069 GB, free: 131.5 MB / 446.1 MB Notification: Performance of SimCode: time 2.248e-06/1.889, allocations: 0 / 0.8069 GB, free: 131.5 MB / 446.1 MB Notification: Performance of Templates: time 0.1899/2.079, allocations: 51.99 MB / 0.8577 GB, free: 121.1 MB / 446.1 MB