Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GyroscopicEffects",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.949/2.949, allocations: 195 MB / 202.9 MB, free: 6.719 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.179e-05/3.191e-05, allocations: 3.312 kB / 249.8 MB, free: 5.219 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1095, allocations: 44.51 MB / 294.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6354/0.745, allocations: 91.82 MB / 386.1 MB, free: 4.285 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004368/0.7455, allocations: 84.52 kB / 386.2 MB, free: 4.273 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.119/1.865, allocations: 144.6 MB / 0.5184 GB, free: 64.2 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.016e-06/1.865, allocations: 2.5 kB / 0.5184 GB, free: 64.2 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0008339/1.866, allocations: 145.7 kB / 0.5185 GB, free: 64.2 MB / 394.7 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.07307/1.939, allocations: 8.56 MB / 0.5269 GB, free: 61.38 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.833e-05/1.939, allocations: 7.594 kB / 0.5269 GB, free: 61.38 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006266/1.945, allocations: 0.8896 MB / 0.5277 GB, free: 61.29 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1636/2.109, allocations: 16.68 MB / 0.544 GB, free: 60.78 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06437/2.173, allocations: 13.13 MB / 0.5569 GB, free: 59.63 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005901/2.174, allocations: 276.3 kB / 0.5571 GB, free: 59.61 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004265/2.178, allocations: 414 kB / 0.5575 GB, free: 59.6 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02962/2.208, allocations: 8.999 MB / 0.5663 GB, free: 59.52 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04505/2.253, allocations: 14.14 MB / 0.5801 GB, free: 48.52 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006684/2.254, allocations: 103.1 kB / 0.5802 GB, free: 48.46 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003433/2.257, allocations: 44 kB / 0.5802 GB, free: 48.42 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004701/2.262, allocations: 1.474 MB / 0.5817 GB, free: 47.2 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5891/2.851, allocations: 74.53 MB / 0.6545 GB, free: 46.15 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01566/2.867, allocations: 5.36 MB / 0.6597 GB, free: 45.47 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01022/2.877, allocations: 4.026 MB / 0.6636 GB, free: 45.43 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003747/2.881, allocations: 1.345 MB / 0.6649 GB, free: 44.3 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000102/2.881, allocations: 65.28 kB / 0.665 GB, free: 44.27 MB / 426.7 MB Notification: Performance of pre-optimization done (n=268): time 1.133e-05/2.881, allocations: 1.172 kB / 0.665 GB, free: 44.27 MB / 426.7 MB Notification: Performance of matching and sorting (n=349): time 0.2559/3.137, allocations: 44.77 MB / 0.7087 GB, free: 37.18 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001401/3.137, allocations: 294.6 kB / 0.709 GB, free: 36.86 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01774/3.155, allocations: 5.646 MB / 0.7145 GB, free: 34.9 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001412/3.156, allocations: 25.7 kB / 0.7146 GB, free: 34.87 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006855/3.163, allocations: 5.256 MB / 0.7197 GB, free: 31.23 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003192/3.167, allocations: 1.295 MB / 0.721 GB, free: 30.27 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001924/3.169, allocations: 0 / 0.721 GB, free: 30.27 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0008404/3.169, allocations: 0.7111 MB / 0.7216 GB, free: 29.79 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01271/3.182, allocations: 4.284 MB / 0.7258 GB, free: 28.2 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01737/3.2, allocations: 9.651 MB / 0.7353 GB, free: 19.41 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01731/3.217, allocations: 6.325 MB / 0.7414 GB, free: 16.59 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002753/3.217, allocations: 54.73 kB / 0.7415 GB, free: 16.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=1256) (initialization): time 0.1722/3.389, allocations: 30.41 MB / 0.7712 GB, free: 13.27 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002175/3.39, allocations: 91.95 kB / 0.7713 GB, free: 13.18 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1262/3.516, allocations: 20.26 MB / 0.7911 GB, free: 10.35 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1236/3.64, allocations: 16.52 MB / 0.8072 GB, free: 9.824 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01891/3.659, allocations: 2.154 MB / 0.8093 GB, free: 7.668 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5025/4.161, allocations: 31.46 MB / 0.84 GB, free: 134.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01734/4.179, allocations: 0.595 MB / 0.8406 GB, free: 134.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003257/4.182, allocations: 0.5753 MB / 0.8412 GB, free: 134.6 MB / 490.7 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.004842/4.187, allocations: 0.5815 MB / 0.8417 GB, free: 134.5 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002636/4.189, allocations: 0.625 MB / 0.8423 GB, free: 134.5 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04296/4.232, allocations: 9.747 MB / 0.8519 GB, free: 134.1 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03783/4.27, allocations: 8.556 MB / 0.8602 GB, free: 133.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.225e-05/4.27, allocations: 17.77 kB / 0.8602 GB, free: 133.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001612/4.271, allocations: 14.48 kB / 0.8602 GB, free: 133.7 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08653/4.357, allocations: 22.21 MB / 0.8819 GB, free: 129.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.863e-05/4.357, allocations: 0 / 0.8819 GB, free: 129.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006951/4.364, allocations: 0.5578 MB / 0.8825 GB, free: 129.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02974/4.394, allocations: 3.964 MB / 0.8863 GB, free: 129.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001414/4.396, allocations: 51.92 kB / 0.8864 GB, free: 129.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05474/4.45, allocations: 22.76 MB / 0.9086 GB, free: 116.1 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002628/4.453, allocations: 2.839 MB / 0.9114 GB, free: 113.3 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0507/4.504, allocations: 15.08 MB / 0.9261 GB, free: 107.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0062/4.51, allocations: 1.306 MB / 0.9274 GB, free: 106.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0034/4.513, allocations: 32.28 kB / 0.9274 GB, free: 106.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009307/4.523, allocations: 269.3 kB / 0.9277 GB, free: 106.7 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001969/4.525, allocations: 252.8 kB / 0.9279 GB, free: 106.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000772/4.526, allocations: 104.7 kB / 0.928 GB, free: 106.7 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.01159/4.537, allocations: 3.888 MB / 0.9318 GB, free: 105.3 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.363e-06/4.537, allocations: 0 / 0.9318 GB, free: 105.3 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01682/4.554, allocations: 1.896 MB / 0.9337 GB, free: 105.2 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 16 ($STATESET140079160095113.x[3],$STATESET140079160095113.x[2],$STATESET140079160095113.x[1],rotor1D.phi,rotor1D.w,rotor1D.rotorWith3DEffects.w_a[1],rotor1D.rotorWith3DEffects.w_a[2],rotor1D.rotorWith3DEffects.w_a[3],$STATESET140079160095112.x[3],$STATESET140079160095112.x[2],$STATESET140079160095112.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.04993/4.604, allocations: 16.06 MB / 0.9494 GB, free: 91.35 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.03095/4.635, allocations: 11.31 MB / 0.9604 GB, free: 81.69 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.777e-06/4.635, allocations: 4.281 kB / 0.9604 GB, free: 81.69 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01406/4.649, allocations: 4.976 MB / 0.9653 GB, free: 77.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009527/4.659, allocations: 0.7983 MB / 0.966 GB, free: 76.55 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07198/4.731, allocations: 18.16 MB / 0.9838 GB, free: 61.36 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01395/4.745, allocations: 5.495 MB / 0.9891 GB, free: 56.5 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01762/4.763, allocations: 3.154 MB / 0.9922 GB, free: 53.38 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0111/4.774, allocations: 3.639 MB / 0.9958 GB, free: 49.73 MB / 490.7 MB Notification: Performance of SimCode: time 2.244e-06/4.774, allocations: 0 / 0.9958 GB, free: 49.73 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9479/5.722, allocations: 167.8 MB / 1.16 GB, free: 55.83 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003859/5.722, allocations: 173.3 kB / 1.16 GB, free: 55.64 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 11.5/17.22, allocations: 0 / 1.16 GB, free: 55.64 MB / 490.7 MB