Notification: Performance of loadModel(Modelica): time 1.173/1.173, allocations: 111.2 MB / 118.4 MB, free: 15.58 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.528e-05/2.501e-05, allocations: 4 kB / 145.9 MB, free: 4.047 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1252, allocations: 25.16 MB / 171.1 MB, free: 1.879 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08792/0.2131, allocations: 50.87 MB / 222 MB, free: 2.68 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002918/0.2135, allocations: 75.95 kB / 222 MB, free: 2.605 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.062/1.275, allocations: 198 MB / 420.1 MB, free: 25 MB / 234.7 MB Notification: Performance of Transformations before backend: time 0.000322/1.276, allocations: 139.1 kB / 420.2 MB, free: 24.86 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2462 * Number of variables: 2462 Notification: Performance of Generate backend data structure: time 0.05567/1.331, allocations: 9.349 MB / 429.6 MB, free: 15.45 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/1.331, allocations: 12.02 kB / 429.6 MB, free: 15.44 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3648/1.696, allocations: 25.52 MB / 455.1 MB, free: 25.53 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02657/1.723, allocations: 6.998 MB / 462.1 MB, free: 25.18 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005309/1.723, allocations: 235 kB / 462.3 MB, free: 25.18 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006571/1.73, allocations: 392.7 kB / 462.7 MB, free: 25.17 MB / 234.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05571/1.786, allocations: 18.46 MB / 481.2 MB, free: 24.73 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06513/1.851, allocations: 20.73 MB / 0.4901 GB, free: 14.96 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004536/1.852, allocations: 47.69 kB / 0.4902 GB, free: 14.94 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005963/1.857, allocations: 23.8 kB / 0.4902 GB, free: 14.92 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.09294/1.95, allocations: 10.51 MB / 0.5005 GB, free: 8.441 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.258/3.209, allocations: 143.7 MB / 0.6408 GB, free: 32.31 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01363/3.223, allocations: 7.538 MB / 0.6481 GB, free: 31.43 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01022/3.233, allocations: 5.453 MB / 0.6535 GB, free: 31.32 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00198/3.235, allocations: 0.7049 MB / 0.6541 GB, free: 30.75 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.174e-05/3.235, allocations: 82.88 kB / 0.6542 GB, free: 30.71 MB / 266.7 MB Notification: Performance of pre-optimization done (n=397): time 1.214e-05/3.235, allocations: 0 / 0.6542 GB, free: 30.71 MB / 266.7 MB Notification: Performance of matching and sorting (n=444): time 0.1604/3.395, allocations: 39.82 MB / 0.6931 GB, free: 14.66 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001385/3.396, allocations: 410.3 kB / 0.6935 GB, free: 14.21 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01102/3.407, allocations: 4.248 MB / 0.6977 GB, free: 12.44 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001744/3.408, allocations: 25.7 kB / 0.6977 GB, free: 12.41 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003485/3.412, allocations: 4.467 MB / 0.702 GB, free: 8.441 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003136/3.415, allocations: 1.55 MB / 0.7036 GB, free: 7.039 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0021/3.417, allocations: 0 / 0.7036 GB, free: 7.039 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0007087/3.418, allocations: 0.7196 MB / 0.7043 GB, free: 6.43 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01262/3.431, allocations: 5.486 MB / 0.7096 GB, free: 1.676 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04133/3.472, allocations: 11.75 MB / 0.7211 GB, free: 8.824 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01644/3.489, allocations: 6.571 MB / 0.7275 GB, free: 3.633 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002355/3.489, allocations: 52 kB / 0.7276 GB, free: 3.582 MB / 282.7 MB Notification: Performance of matching and sorting (n=1282) (initialization): time 0.1793/3.668, allocations: 15.59 MB / 0.7428 GB, free: 55.18 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000139/3.668, allocations: 80.59 kB / 0.7429 GB, free: 55.18 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005808/3.669, allocations: 294.4 kB / 0.7431 GB, free: 55.18 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004834/3.674, allocations: 1.184 MB / 0.7443 GB, free: 55.17 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01785/3.692, allocations: 2.494 MB / 0.7467 GB, free: 54.98 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01059/3.702, allocations: 5.693 MB / 0.7523 GB, free: 53.64 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03415/3.737, allocations: 2.48 MB / 0.7547 GB, free: 53.64 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00419/3.741, allocations: 0.8736 MB / 0.7556 GB, free: 53.64 MB / 282.7 MB Warning: Assuming fixed start value for the following 2 variables: r2.w:VARIABLE(start = 0.0 unit = "rad/s" stateSelect=StateSelect.prefer ) "First derivative of angle phi (relative angular velocity)" type: Real r1.w:VARIABLE(start = 0.0 unit = "rad/s" stateSelect=StateSelect.prefer ) "First derivative of angle phi (relative angular velocity)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 813 * Number of states: 0 () * Number of discrete variables: 39 (fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],bodyCylinder.frameTranslation.color[3],bodyCylinder.frameTranslation.color[2],bodyCylinder.frameTranslation.color[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1209): * Single equations (assignments): 1188 * Array equations: 20 * 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 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005695/3.747, allocations: 0.5588 MB / 0.7561 GB, free: 53.27 MB / 282.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02793/3.775, allocations: 9.645 MB / 0.7655 GB, free: 53.11 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003386/3.778, allocations: 478.2 kB / 0.766 GB, free: 53.01 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02339/3.801, allocations: 7.908 MB / 0.7737 GB, free: 51.68 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.05926/3.861, allocations: 10.84 MB / 0.7843 GB, free: 49.34 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.784e-05/3.861, allocations: 9.438 kB / 0.7843 GB, free: 49.34 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001677/3.861, allocations: 21.03 kB / 0.7843 GB, free: 49.34 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1738/4.035, allocations: 31.52 MB / 0.8151 GB, free: 29.59 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.927e-05/4.035, allocations: 12 kB / 0.8151 GB, free: 29.58 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008411/4.043, allocations: 0.808 MB / 0.8159 GB, free: 28.77 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004378/4.048, allocations: 0.9449 MB / 0.8168 GB, free: 27.82 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001822/4.05, allocations: 155.6 kB / 0.817 GB, free: 27.68 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009575/4.059, allocations: 5.352 MB / 0.8222 GB, free: 22.21 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.499e-05/4.059, allocations: 15.94 kB / 0.8222 GB, free: 22.2 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1773/4.237, allocations: 18.46 MB / 0.8402 GB, free: 52.07 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006303/4.243, allocations: 1.635 MB / 0.8418 GB, free: 51.98 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003536/4.247, allocations: 19.17 kB / 0.8419 GB, free: 51.98 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02699/4.274, allocations: 2.194 MB / 0.844 GB, free: 51.98 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0016/4.275, allocations: 239.1 kB / 0.8442 GB, free: 51.98 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001747/4.277, allocations: 392.4 kB / 0.8446 GB, free: 51.98 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.007519/4.285, allocations: 2.822 MB / 0.8474 GB, free: 51.8 MB / 282.7 MB Notification: Performance of sort global known variables: time 9.32e-07/4.285, allocations: 0 / 0.8474 GB, free: 51.8 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.01485/4.299, allocations: 1.609 MB / 0.8489 GB, free: 51.8 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 45 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.w,rotor1D.rotorWith3DEffects.phi,r1.phi,r1.w,r2.phi,r2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (385): * Single equations (assignments): 365 * Array equations: 19 * 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 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.04308/4.343, allocations: 21.36 MB / 0.8698 GB, free: 45.45 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.08036/4.423, allocations: 17.11 MB / 0.8865 GB, free: 41.45 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.746e-05/4.423, allocations: 1.688 kB / 0.8865 GB, free: 41.45 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.06617/4.489, allocations: 9.833 MB / 0.8961 GB, free: 39.51 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005786/4.495, allocations: 393 kB / 0.8965 GB, free: 39.34 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05728/4.552, allocations: 16.77 MB / 0.9129 GB, free: 25.77 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0116/4.564, allocations: 4.958 MB / 0.9177 GB, free: 22.09 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.03011/4.594, allocations: 3.954 MB / 0.9216 GB, free: 19.22 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01856/4.613, allocations: 3.572 MB / 0.9251 GB, free: 16.09 MB / 282.7 MB Notification: Performance of SimCode: time 2.104e-06/4.613, allocations: 0 / 0.9251 GB, free: 16.09 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6805/5.293, allocations: 149 MB / 1.071 GB, free: 33.43 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.005284/5.299, allocations: 169.4 kB / 1.071 GB, free: 33.24 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 8.938/14.24, allocations: 3.938 kB / 1.071 GB, free: 33.24 MB / 282.7 MB