Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GyroscopicEffects",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.708/1.708, allocations: 171.2 MB / 183.3 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.692e-05/3.723e-05, allocations: 4 kB / 225.1 MB, free: 2.242 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2611/0.2612, allocations: 38.77 MB / 263.9 MB, free: 9.711 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1864/0.4476, allocations: 86.74 MB / 350.6 MB, free: 2.84 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004527/0.4482, allocations: 79.95 kB / 350.7 MB, free: 2.762 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8399/1.288, allocations: 147 MB / 497.7 MB, free: 7.492 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.194e-06/1.288, allocations: 3.938 kB / 497.7 MB, free: 7.488 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0007387/1.289, allocations: 148 kB / 497.9 MB, free: 7.344 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2272 * Number of variables: 2272 Notification: Performance of Generate backend data structure: time 0.5615/1.85, allocations: 8.565 MB / 0.4946 GB, free: 36.93 MB / 346.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.914e-05/1.85, allocations: 13.55 kB / 0.4946 GB, free: 36.93 MB / 346.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006458/1.857, allocations: 1.155 MB / 0.4957 GB, free: 36.84 MB / 346.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1166/1.974, allocations: 16.69 MB / 0.512 GB, free: 36.33 MB / 346.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04917/2.023, allocations: 13.14 MB / 0.5249 GB, free: 35.79 MB / 346.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007744/2.024, allocations: 499.2 kB / 0.5253 GB, free: 35.77 MB / 346.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003915/2.028, allocations: 0.671 MB / 0.526 GB, free: 35.75 MB / 346.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05635/2.084, allocations: 16.68 MB / 0.5423 GB, free: 31.7 MB / 346.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006955/2.085, allocations: 106.1 kB / 0.5424 GB, free: 31.69 MB / 346.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003372/2.088, allocations: 324.6 kB / 0.5427 GB, free: 31.69 MB / 346.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003749/2.092, allocations: 1.473 MB / 0.5441 GB, free: 31.67 MB / 346.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04847/2.14, allocations: 13.21 MB / 0.557 GB, free: 29.68 MB / 346.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.136/2.277, allocations: 76.75 MB / 0.632 GB, free: 10.08 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04969/2.326, allocations: 8.508 MB / 0.6403 GB, free: 3.188 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.3038/2.63, allocations: 4.268 MB / 0.6445 GB, free: 81.61 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003195/2.633, allocations: 1.348 MB / 0.6458 GB, free: 80.48 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.941e-05/2.634, allocations: 66.27 kB / 0.6458 GB, free: 80.45 MB / 394.8 MB Notification: Performance of pre-optimization done (n=268): time 7.524e-06/2.634, allocations: 3.516 kB / 0.6458 GB, free: 80.45 MB / 394.8 MB Notification: Performance of matching and sorting (n=354): time 0.2646/2.898, allocations: 46.87 MB / 0.6916 GB, free: 74.48 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002759/2.901, allocations: 3.222 MB / 0.6947 GB, free: 71.43 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01789/2.919, allocations: 6.492 MB / 0.7011 GB, free: 70.91 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001172/2.92, allocations: 76.8 kB / 0.7012 GB, free: 70.88 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.005747/2.926, allocations: 5.195 MB / 0.7062 GB, free: 68.56 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002453/2.928, allocations: 1.35 MB / 0.7076 GB, free: 67.79 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001919/2.93, allocations: 192 kB / 0.7077 GB, free: 67.79 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 0.001069/2.931, allocations: 0.7101 MB / 0.7084 GB, free: 67.46 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01155/2.943, allocations: 4.503 MB / 0.7128 GB, free: 66.93 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01482/2.958, allocations: 9.726 MB / 0.7223 GB, free: 58.32 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01491/2.973, allocations: 6.553 MB / 0.7287 GB, free: 56.23 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002178/2.973, allocations: 54.12 kB / 0.7288 GB, free: 56.23 MB / 394.8 MB Notification: Performance of matching and sorting (n=1237) (initialization): time 0.1267/3.1, allocations: 30.96 MB / 0.759 GB, free: 37.39 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001491/3.1, allocations: 87.95 kB / 0.7591 GB, free: 37.3 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.08636/3.187, allocations: 20.64 MB / 0.7792 GB, free: 17.53 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.3681/3.555, allocations: 16.59 MB / 0.7954 GB, free: 66.84 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01395/3.569, allocations: 2.118 MB / 0.7975 GB, free: 66.84 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08227/3.651, allocations: 33.32 MB / 0.8301 GB, free: 61.64 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01987/3.671, allocations: 0.7681 MB / 0.8308 GB, free: 61.64 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003456/3.674, allocations: 0.5632 MB / 0.8314 GB, free: 61.64 MB / 394.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 842 * 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 (1091): * Single equations (assignments): 1078 * 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,(4,100.0%) 41} * Non-linear torn systems: 2 {4 9,4 9} Notification: Performance of prepare postOptimizeDAE: time 0.005129/3.68, allocations: 0.8091 MB / 0.8321 GB, free: 61.53 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00294/3.683, allocations: 0.6734 MB / 0.8328 GB, free: 61.53 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04293/3.726, allocations: 10.24 MB / 0.8428 GB, free: 58.95 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03084/3.756, allocations: 8.926 MB / 0.8515 GB, free: 55.97 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.548e-05/3.757, allocations: 16.88 kB / 0.8515 GB, free: 55.97 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001114/3.757, allocations: 19.61 kB / 0.8516 GB, free: 55.97 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07537/3.832, allocations: 23.53 MB / 0.8745 GB, free: 46.33 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.771e-05/3.832, allocations: 7.906 kB / 0.8745 GB, free: 46.33 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005894/3.838, allocations: 0.5609 MB / 0.8751 GB, free: 45.93 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02368/3.862, allocations: 4.019 MB / 0.879 GB, free: 43.29 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001277/3.863, allocations: 97.72 kB / 0.8791 GB, free: 43.21 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04633/3.91, allocations: 23.99 MB / 0.9025 GB, free: 20.43 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002311/3.912, allocations: 2.961 MB / 0.9054 GB, free: 17.23 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3353/4.247, allocations: 15.69 MB / 0.9207 GB, free: 62.56 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006166/4.254, allocations: 1.389 MB / 0.9221 GB, free: 62.47 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003447/4.257, allocations: 94.28 kB / 0.9222 GB, free: 62.47 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008531/4.266, allocations: 326.7 kB / 0.9225 GB, free: 62.47 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001799/4.267, allocations: 250.5 kB / 0.9227 GB, free: 62.47 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001203/4.269, allocations: 99.5 kB / 0.9228 GB, free: 62.47 MB / 394.8 MB Notification: Performance of sorting global known variables: time 0.01437/4.283, allocations: 4.636 MB / 0.9274 GB, free: 62.22 MB / 394.8 MB Notification: Performance of sort global known variables: time 1.623e-06/4.283, allocations: 0 / 0.9274 GB, free: 62.22 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.01503/4.298, allocations: 2.126 MB / 0.9294 GB, free: 62.22 MB / 394.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 16 ($STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],rotor1D.phi,rotor1D.w,rotor1D.rotorWith3DEffects.w_a[1],rotor1D.rotorWith3DEffects.w_a[2],rotor1D.rotorWith3DEffects.w_a[3],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.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 (246): * Single equations (assignments): 235 * 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.04862/4.347, allocations: 16.72 MB / 0.9458 GB, free: 60.18 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.02857/4.376, allocations: 11.55 MB / 0.957 GB, free: 59.44 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 9.709e-06/4.376, allocations: 2.125 kB / 0.957 GB, free: 59.44 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01316/4.389, allocations: 5.129 MB / 0.9621 GB, free: 58.53 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008931/4.398, allocations: 0.9461 MB / 0.963 GB, free: 58.49 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06882/4.467, allocations: 18.77 MB / 0.9813 GB, free: 52.76 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01365/4.48, allocations: 5.513 MB / 0.9867 GB, free: 51.04 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 0.01541/4.496, allocations: 3.179 MB / 0.9898 GB, free: 50.89 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009558/4.505, allocations: 3.668 MB / 0.9934 GB, free: 47.9 MB / 394.8 MB Notification: Performance of SimCode: time 1.693e-06/4.505, allocations: 0 / 0.9934 GB, free: 47.9 MB / 394.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.666/5.171, allocations: 175.1 MB / 1.164 GB, free: 40.16 MB / 410.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002128/5.172, allocations: 213.8 kB / 1.165 GB, free: 39.93 MB / 410.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.083/14.26, allocations: 0 / 1.165 GB, free: 39.93 MB / 410.8 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects_res.mat does not exist to compare? outputFormat=mat