Notification: Performance of FrontEnd - loaded program: time 2.206e-05/2.218e-05, allocations: 4 kB / 349.8 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1828/0.1828, allocations: 44.52 MB / 394.3 MB, free: 83.13 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1079/0.2907, allocations: 91.85 MB / 486.2 MB, free: 8.676 MB / 334.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000264/0.291, allocations: 87.95 kB / 486.3 MB, free: 8.59 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.6737/0.9647, allocations: 144.2 MB / 0.6157 GB, free: 9.621 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.581e-06/0.9648, allocations: 0 / 0.6157 GB, free: 9.621 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0005348/0.9653, allocations: 140 kB / 0.6158 GB, free: 9.484 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2273 * Number of variables: 2273 Notification: Performance of Generate backend data structure: time 0.04002/1.005, allocations: 8.639 MB / 0.6242 GB, free: 0.75 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/1.005, allocations: 8.031 kB / 0.6242 GB, free: 0.7422 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08311/1.089, allocations: 16.68 MB / 0.6405 GB, free: 24 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4246/1.513, allocations: 13.12 MB / 0.6534 GB, free: 48.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003659/1.514, allocations: 277.2 kB / 0.6536 GB, free: 48.06 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002417/1.516, allocations: 411.1 kB / 0.654 GB, free: 48.05 MB / 382.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02252/1.539, allocations: 9.002 MB / 0.6628 GB, free: 48.01 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04058/1.579, allocations: 14.13 MB / 0.6766 GB, free: 43.97 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007236/1.58, allocations: 105 kB / 0.6767 GB, free: 43.96 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002989/1.583, allocations: 51.91 kB / 0.6768 GB, free: 43.96 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004479/1.587, allocations: 1.469 MB / 0.6782 GB, free: 43.94 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1552/1.743, allocations: 74.54 MB / 0.751 GB, free: 8.516 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01516/1.758, allocations: 5.361 MB / 0.7562 GB, free: 5.906 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01183/1.77, allocations: 4.022 MB / 0.7601 GB, free: 2.617 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003635/1.774, allocations: 1.35 MB / 0.7615 GB, free: 1.172 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000123/1.774, allocations: 64.45 kB / 0.7615 GB, free: 1.105 MB / 398.1 MB Notification: Performance of pre-optimization done (n=268): time 1.338e-05/1.774, allocations: 0 / 0.7615 GB, free: 1.105 MB / 398.1 MB Notification: Performance of matching and sorting (n=349): time 0.3698/2.144, allocations: 45.38 MB / 0.8058 GB, free: 90.96 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.922e-05/2.144, allocations: 292.1 kB / 0.8061 GB, free: 90.65 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01358/2.157, allocations: 5.647 MB / 0.8116 GB, free: 90.3 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008605/2.158, allocations: 29.52 kB / 0.8117 GB, free: 90.27 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004565/2.163, allocations: 5.252 MB / 0.8168 GB, free: 88.98 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001985/2.165, allocations: 1.292 MB / 0.8181 GB, free: 88.21 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001367/2.166, allocations: 0 / 0.8181 GB, free: 88.21 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0007345/2.167, allocations: 0.7137 MB / 0.8188 GB, free: 87.89 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008679/2.176, allocations: 4.289 MB / 0.8229 GB, free: 87.87 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01208/2.188, allocations: 9.647 MB / 0.8324 GB, free: 80.96 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01239/2.2, allocations: 6.316 MB / 0.8385 GB, free: 80.92 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001863/2.2, allocations: 56.5 kB / 0.8386 GB, free: 80.92 MB / 430.1 MB Notification: Performance of matching and sorting (n=1256) (initialization): time 0.139/2.34, allocations: 30.15 MB / 0.868 GB, free: 79.29 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002504/2.34, allocations: 87.97 kB / 0.8681 GB, free: 79.29 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1401/2.48, allocations: 20.26 MB / 0.8879 GB, free: 75.49 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.07935/2.559, allocations: 16.53 MB / 0.904 GB, free: 61.11 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008702/2.568, allocations: 2.152 MB / 0.9061 GB, free: 58.96 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05502/2.623, allocations: 31.47 MB / 0.9369 GB, free: 27.08 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01158/2.635, allocations: 0.5963 MB / 0.9375 GB, free: 26.49 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00226/2.637, allocations: 0.5702 MB / 0.938 GB, free: 25.92 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 866 * Number of states: 0 () * Number of discrete variables: 60 (rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],bodyCylinder4.color[3],bodyCylinder4.color[2],bodyCylinder4.color[1],bodyCylinder4.body.sphereColor[3],bodyCylinder4.body.sphereColor[2],bodyCylinder4.body.sphereColor[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedRotation2.color[3],fixedRotation2.color[2],fixedRotation2.color[1],bodyCylinder3.color[3],bodyCylinder3.color[2],bodyCylinder3.color[1],bodyCylinder3.body.sphereColor[3],bodyCylinder3.body.sphereColor[2],bodyCylinder3.body.sphereColor[1],spherical2.sphereColor[3],spherical2.sphereColor[2],spherical2.sphereColor[1],fixed.color[3],fixed.color[2],fixed.color[1],bodyCylinder2.color[3],bodyCylinder2.color[2],bodyCylinder2.color[1],bodyCylinder2.body.sphereColor[3],bodyCylinder2.body.sphereColor[2],bodyCylinder2.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],bodyCylinder1.color[3],bodyCylinder1.color[2],bodyCylinder1.color[1],bodyCylinder1.body.sphereColor[3],bodyCylinder1.body.sphereColor[2],bodyCylinder1.body.sphereColor[1],spherical1.sphereColor[3],spherical1.sphereColor[2],spherical1.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 (1110): * Single equations (assignments): 1097 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 38,(5,100.0%) 40} * Non-linear torn systems: 2 {4 9,4 9} Notification: Performance of prepare postOptimizeDAE: time 0.003/2.64, allocations: 0.5831 MB / 0.9386 GB, free: 25.33 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001785/2.642, allocations: 0.6351 MB / 0.9392 GB, free: 24.69 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02902/2.671, allocations: 9.744 MB / 0.9487 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1706/2.842, allocations: 8.542 MB / 0.9571 GB, free: 77.52 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.565e-05/2.842, allocations: 21.05 kB / 0.9571 GB, free: 77.52 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.003e-05/2.842, allocations: 13.12 kB / 0.9571 GB, free: 77.52 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06485/2.907, allocations: 22.21 MB / 0.9788 GB, free: 76.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.191e-05/2.907, allocations: 2.5 kB / 0.9788 GB, free: 76.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003604/2.91, allocations: 0.553 MB / 0.9793 GB, free: 76.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01815/2.929, allocations: 3.967 MB / 0.9832 GB, free: 76.23 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000935/2.93, allocations: 55.25 kB / 0.9833 GB, free: 76.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04192/2.972, allocations: 22.75 MB / 1.005 GB, free: 67.82 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002556/2.974, allocations: 2.838 MB / 1.008 GB, free: 65.09 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.7389/3.713, allocations: 104.7 MB / 1.11 GB, free: 87.48 MB / 446.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005742/3.719, allocations: 1.298 MB / 1.112 GB, free: 87.39 MB / 446.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002928/3.722, allocations: 36.23 kB / 1.112 GB, free: 87.39 MB / 446.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007927/3.73, allocations: 269.8 kB / 1.112 GB, free: 87.39 MB / 446.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001797/3.732, allocations: 253.1 kB / 1.112 GB, free: 87.39 MB / 446.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000905/3.733, allocations: 96.16 kB / 1.112 GB, free: 87.39 MB / 446.3 MB Notification: Performance of sorting global known variables: time 0.0122/3.745, allocations: 3.891 MB / 1.116 GB, free: 87.17 MB / 446.3 MB Notification: Performance of sort global known variables: time 1.184e-06/3.745, allocations: 3.375 kB / 1.116 GB, free: 87.17 MB / 446.3 MB Notification: Performance of remove unused functions: time 0.02228/3.767, allocations: 2.61 MB / 1.119 GB, free: 87.17 MB / 446.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 16 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],rotor1D.phi,rotor1D.w,rotor1D.rotorWith3DEffects.w_a[1],rotor1D.rotorWith3DEffects.w_a[2],rotor1D.rotorWith3DEffects.w_a[3],$STATESET0.x[3],$STATESET0.x[2],$STATESET0.x[1],fixedRotation1.frame_b.R.w[1],fixedRotation1.frame_b.R.w[2],fixedRotation1.frame_b.R.w[3],revolute.phi,revolute.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (241): * Single equations (assignments): 230 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 2 {4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,100.0%) 33,(1,100.0%) 1,(5,100.0%) 35,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001429/3.769, allocations: 170.2 kB / 1.119 GB, free: 87.09 MB / 446.3 MB Notification: Performance of simCode: created initialization part: time 0.03025/3.799, allocations: 11.3 MB / 1.13 GB, free: 86.36 MB / 446.3 MB Notification: Performance of simCode: created event and clocks part: time 9.878e-06/3.799, allocations: 0 / 1.13 GB, free: 86.36 MB / 446.3 MB Notification: Performance of simCode: created simulation system equations: time 0.01298/3.812, allocations: 4.984 MB / 1.135 GB, free: 85.44 MB / 446.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007695/3.82, allocations: 0.7942 MB / 1.136 GB, free: 85.41 MB / 446.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05569/3.875, allocations: 19.69 MB / 1.155 GB, free: 81.27 MB / 446.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01314/3.889, allocations: 5.629 MB / 1.16 GB, free: 80.39 MB / 446.3 MB Notification: Performance of simCode: alias equations: time 0.01371/3.902, allocations: 3.209 MB / 1.163 GB, free: 80.16 MB / 446.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002944/3.905, allocations: 441.5 kB / 1.164 GB, free: 80.15 MB / 446.3 MB Notification: Performance of SimCode: time 1.689e-06/3.905, allocations: 0 / 1.164 GB, free: 80.15 MB / 446.3 MB Notification: Performance of Templates: time 0.5073/4.413, allocations: 113.7 MB / 1.275 GB, free: 91.32 MB / 446.3 MB