Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GyroscopicEffects",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.899/1.899, allocations: 194.9 MB / 208.4 MB, free: 3.172 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.171e-05/4.191e-05, allocations: 4 kB / 255.4 MB, free: 3.094 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09842/0.09851, allocations: 44.5 MB / 299.9 MB, free: 6.539 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4353/0.5338, allocations: 92.49 MB / 392.4 MB, free: 12.79 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002962/0.5342, allocations: 81.81 kB / 392.5 MB, free: 12.79 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9576/1.492, allocations: 147.1 MB / 0.5269 GB, free: 58.96 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.825e-06/1.492, allocations: 0 / 0.5269 GB, free: 58.96 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0008075/1.493, allocations: 144.4 kB / 0.5271 GB, free: 58.96 MB / 410.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.05954/1.552, allocations: 8.562 MB / 0.5354 GB, free: 56.2 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.454e-05/1.552, allocations: 11.58 kB / 0.5354 GB, free: 56.2 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006668/1.559, allocations: 1.163 MB / 0.5366 GB, free: 56.11 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1142/1.673, allocations: 16.68 MB / 0.5529 GB, free: 55.6 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04675/1.72, allocations: 13.14 MB / 0.5657 GB, free: 54.53 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007271/1.721, allocations: 496.9 kB / 0.5662 GB, free: 54.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003962/1.725, allocations: 0.6653 MB / 0.5668 GB, free: 54.5 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05466/1.78, allocations: 16.75 MB / 0.5832 GB, free: 50.43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005836/1.78, allocations: 107.3 kB / 0.5833 GB, free: 50.42 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00314/1.783, allocations: 323.6 kB / 0.5836 GB, free: 50.42 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003625/1.787, allocations: 1.477 MB / 0.585 GB, free: 50.39 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04642/1.834, allocations: 13.49 MB / 0.5982 GB, free: 50.32 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1236/1.957, allocations: 76.78 MB / 0.6732 GB, free: 18.08 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04695/2.004, allocations: 8.516 MB / 0.6815 GB, free: 11.12 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0101/2.014, allocations: 4.094 MB / 0.6855 GB, free: 7.379 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003328/2.018, allocations: 1.347 MB / 0.6868 GB, free: 5.93 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001296/2.018, allocations: 72.28 kB / 0.6869 GB, free: 5.852 MB / 442.7 MB Notification: Performance of pre-optimization done (n=268): time 7.795e-06/2.018, allocations: 0 / 0.6869 GB, free: 5.852 MB / 442.7 MB Notification: Performance of matching and sorting (n=354): time 0.5832/2.601, allocations: 46.99 MB / 0.7328 GB, free: 78.71 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002559/2.604, allocations: 3.237 MB / 0.7359 GB, free: 75.65 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01601/2.62, allocations: 6.484 MB / 0.7423 GB, free: 75.12 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001208/2.621, allocations: 80.86 kB / 0.7423 GB, free: 75.09 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004832/2.626, allocations: 4.869 MB / 0.7471 GB, free: 73.02 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002465/2.628, allocations: 1.344 MB / 0.7484 GB, free: 72.24 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001881/2.63, allocations: 188.6 kB / 0.7486 GB, free: 72.24 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0009125/2.631, allocations: 0.7192 MB / 0.7493 GB, free: 71.91 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01135/2.643, allocations: 4.506 MB / 0.7537 GB, free: 71.88 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01581/2.659, allocations: 9.781 MB / 0.7632 GB, free: 65.15 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01526/2.674, allocations: 6.553 MB / 0.7696 GB, free: 64.57 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002423/2.674, allocations: 52.19 kB / 0.7697 GB, free: 64.57 MB / 442.7 MB Notification: Performance of matching and sorting (n=1237) (initialization): time 0.1248/2.799, allocations: 31.15 MB / 0.8001 GB, free: 58.94 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001605/2.799, allocations: 85.09 kB / 0.8002 GB, free: 58.86 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.08932/2.889, allocations: 20.63 MB / 0.8203 GB, free: 45.49 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.08618/2.975, allocations: 16.6 MB / 0.8365 GB, free: 29.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01382/2.989, allocations: 2.113 MB / 0.8386 GB, free: 27.09 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.392/3.381, allocations: 33.3 MB / 0.8711 GB, free: 68.64 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01424/3.395, allocations: 0.7765 MB / 0.8719 GB, free: 68.64 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002758/3.398, allocations: 0.5668 MB / 0.8724 GB, free: 68.64 MB / 442.7 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.004215/3.402, allocations: 0.8166 MB / 0.8732 GB, free: 68.53 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002188/3.404, allocations: 0.6693 MB / 0.8739 GB, free: 68.53 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03478/3.439, allocations: 10.23 MB / 0.8839 GB, free: 68.06 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02937/3.469, allocations: 8.924 MB / 0.8926 GB, free: 67.65 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.479e-05/3.469, allocations: 23.17 kB / 0.8926 GB, free: 67.64 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.776e-05/3.469, allocations: 17.53 kB / 0.8926 GB, free: 67.64 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07294/3.542, allocations: 23.53 MB / 0.9156 GB, free: 59.85 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.637e-05/3.542, allocations: 7.297 kB / 0.9156 GB, free: 59.85 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005903/3.548, allocations: 0.558 MB / 0.9162 GB, free: 59.84 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02379/3.572, allocations: 4 MB / 0.9201 GB, free: 59.14 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001232/3.573, allocations: 105.3 kB / 0.9202 GB, free: 59.09 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04624/3.619, allocations: 24.01 MB / 0.9436 GB, free: 45.22 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002437/3.622, allocations: 2.957 MB / 0.9465 GB, free: 42.36 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04436/3.666, allocations: 15.7 MB / 0.9619 GB, free: 36.28 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005772/3.672, allocations: 1.39 MB / 0.9632 GB, free: 35.52 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002762/3.675, allocations: 85.41 kB / 0.9633 GB, free: 35.47 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008043/3.683, allocations: 331.2 kB / 0.9636 GB, free: 35.42 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001804/3.685, allocations: 245.9 kB / 0.9638 GB, free: 35.39 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006616/3.685, allocations: 103.6 kB / 0.9639 GB, free: 35.38 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.01246/3.698, allocations: 4.63 MB / 0.9685 GB, free: 31.39 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.132e-06/3.698, allocations: 0 / 0.9685 GB, free: 31.39 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01362/3.711, allocations: 2.13 MB / 0.9705 GB, free: 29.27 MB / 442.7 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.04394/3.755, allocations: 16.73 MB / 0.9869 GB, free: 14.78 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.02769/3.783, allocations: 11.88 MB / 0.9985 GB, free: 4.605 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.889e-06/3.783, allocations: 0 / 0.9985 GB, free: 4.605 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01336/3.797, allocations: 5.202 MB / 1.004 GB, free: 15.89 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009019/3.806, allocations: 0.9455 MB / 1.004 GB, free: 15.11 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4098/4.216, allocations: 19.85 MB / 1.024 GB, free: 85.06 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01375/4.229, allocations: 5.514 MB / 1.029 GB, free: 84.18 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009929/4.239, allocations: 3.734 MB / 1.033 GB, free: 84.18 MB / 458.7 MB Notification: Performance of SimCode: time 1.953e-06/4.239, allocations: 0 / 1.033 GB, free: 84.18 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 7.238/11.48, allocations: 361 MB / 1.385 GB, free: 99.68 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects_res.mat does not exist to compare? outputFormat=mat