Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GyroscopicEffects",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.884/1.884, allocations: 194.9 MB / 208 MB, free: 3.273 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.814e-05/2.824e-05, allocations: 0 / 255.5 MB, free: 2.617 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09681/0.09686, allocations: 44.49 MB / 300 MB, free: 6.059 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4386/0.5355, allocations: 92.49 MB / 392.5 MB, free: 12.3 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002819/0.5358, allocations: 83.92 kB / 392.6 MB, free: 12.3 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9173/1.453, allocations: 147.1 MB / 0.527 GB, free: 58.76 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.877e-06/1.453, allocations: 0 / 0.527 GB, free: 58.76 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0007306/1.454, allocations: 148.1 kB / 0.5271 GB, free: 58.76 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.06057/1.515, allocations: 8.558 MB / 0.5355 GB, free: 56.01 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.141e-05/1.515, allocations: 15.17 kB / 0.5355 GB, free: 56.01 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006185/1.521, allocations: 1.158 MB / 0.5366 GB, free: 55.92 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1146/1.635, allocations: 16.69 MB / 0.5529 GB, free: 55.41 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04602/1.682, allocations: 13.15 MB / 0.5658 GB, free: 54.34 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005961/1.682, allocations: 495 kB / 0.5662 GB, free: 54.32 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003621/1.686, allocations: 0.6734 MB / 0.5669 GB, free: 54.31 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05225/1.738, allocations: 16.68 MB / 0.5832 GB, free: 50.27 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005864/1.739, allocations: 104.7 kB / 0.5833 GB, free: 50.26 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00318/1.742, allocations: 320.9 kB / 0.5836 GB, free: 50.26 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003691/1.746, allocations: 1.478 MB / 0.585 GB, free: 50.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04564/1.791, allocations: 13.21 MB / 0.5979 GB, free: 50.2 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1224/1.914, allocations: 76.77 MB / 0.6729 GB, free: 17.98 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0464/1.96, allocations: 8.486 MB / 0.6812 GB, free: 11.05 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009384/1.97, allocations: 4.098 MB / 0.6852 GB, free: 7.309 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003059/1.973, allocations: 1.352 MB / 0.6865 GB, free: 5.855 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.69e-05/1.973, allocations: 60.48 kB / 0.6866 GB, free: 5.789 MB / 442.7 MB Notification: Performance of pre-optimization done (n=268): time 7.113e-06/1.973, allocations: 0 / 0.6866 GB, free: 5.789 MB / 442.7 MB Notification: Performance of matching and sorting (n=354): time 0.5594/2.532, allocations: 47.11 MB / 0.7326 GB, free: 78.57 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002421/2.535, allocations: 3.232 MB / 0.7357 GB, free: 75.51 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01553/2.55, allocations: 6.479 MB / 0.7421 GB, free: 74.98 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001141/2.552, allocations: 84.7 kB / 0.7422 GB, free: 74.95 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005236/2.557, allocations: 5.2 MB / 0.7472 GB, free: 72.94 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002373/2.559, allocations: 1.351 MB / 0.7486 GB, free: 72.16 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00145/2.561, allocations: 189.6 kB / 0.7487 GB, free: 72.16 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0006135/2.561, allocations: 0.7124 MB / 0.7494 GB, free: 71.83 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01057/2.572, allocations: 4.507 MB / 0.7538 GB, free: 71.8 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01435/2.586, allocations: 9.723 MB / 0.7633 GB, free: 65.09 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0144/2.601, allocations: 6.551 MB / 0.7697 GB, free: 64.44 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001949/2.601, allocations: 54.5 kB / 0.7698 GB, free: 64.44 MB / 442.7 MB Notification: Performance of matching and sorting (n=1237) (initialization): time 0.1225/2.724, allocations: 30.95 MB / 0.8 GB, free: 59.07 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001403/2.724, allocations: 86.52 kB / 0.8001 GB, free: 58.99 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.08583/2.81, allocations: 20.63 MB / 0.8202 GB, free: 45.63 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.09372/2.903, allocations: 16.59 MB / 0.8364 GB, free: 29.34 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01758/2.921, allocations: 2.117 MB / 0.8385 GB, free: 27.22 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.535/3.456, allocations: 33.32 MB / 0.871 GB, free: 68.57 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01597/3.472, allocations: 0.7776 MB / 0.8718 GB, free: 68.57 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002657/3.475, allocations: 0.5631 MB / 0.8723 GB, free: 68.57 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.003809/3.479, allocations: 0.8209 MB / 0.8731 GB, free: 68.46 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002099/3.481, allocations: 0.6697 MB / 0.8738 GB, free: 68.46 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03327/3.514, allocations: 10.23 MB / 0.8838 GB, free: 68 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03329/3.547, allocations: 8.923 MB / 0.8925 GB, free: 67.59 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.271e-05/3.548, allocations: 22.02 kB / 0.8925 GB, free: 67.58 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.784e-05/3.548, allocations: 15.19 kB / 0.8925 GB, free: 67.58 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07089/3.619, allocations: 23.53 MB / 0.9155 GB, free: 60 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.948e-05/3.619, allocations: 7.891 kB / 0.9155 GB, free: 59.99 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005873/3.625, allocations: 0.5605 MB / 0.9161 GB, free: 59.98 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02381/3.648, allocations: 4.003 MB / 0.92 GB, free: 59.28 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001148/3.65, allocations: 105.4 kB / 0.9201 GB, free: 59.23 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04495/3.695, allocations: 24.01 MB / 0.9435 GB, free: 45.37 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002265/3.697, allocations: 2.947 MB / 0.9464 GB, free: 42.52 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04158/3.738, allocations: 15.7 MB / 0.9617 GB, free: 36.39 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005405/3.744, allocations: 1.381 MB / 0.9631 GB, free: 35.63 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002207/3.746, allocations: 85.64 kB / 0.9632 GB, free: 35.58 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007161/3.753, allocations: 330.7 kB / 0.9635 GB, free: 35.53 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001183/3.755, allocations: 249.7 kB / 0.9637 GB, free: 35.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004727/3.755, allocations: 97.16 kB / 0.9638 GB, free: 35.48 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.01044/3.766, allocations: 4.631 MB / 0.9683 GB, free: 31.57 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.332e-06/3.766, allocations: 0 / 0.9683 GB, free: 31.57 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01315/3.779, allocations: 2.13 MB / 0.9704 GB, free: 29.45 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.0408/3.82, allocations: 16.73 MB / 0.9868 GB, free: 14.96 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.02644/3.846, allocations: 11.55 MB / 0.998 GB, free: 5.012 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.335e-06/3.846, allocations: 3.75 kB / 0.998 GB, free: 5.012 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01188/3.858, allocations: 5.125 MB / 1.003 GB, free: 396 kB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01067/3.869, allocations: 1.064 MB / 1.004 GB, free: 15.94 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3802/4.249, allocations: 19.2 MB / 1.023 GB, free: 85.19 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01346/4.262, allocations: 5.516 MB / 1.028 GB, free: 84.31 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01442/4.277, allocations: 3.176 MB / 1.031 GB, free: 84.25 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008927/4.286, allocations: 3.67 MB / 1.035 GB, free: 84.24 MB / 458.7 MB Notification: Performance of SimCode: time 2.445e-06/4.286, allocations: 0 / 1.035 GB, free: 84.24 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6959/4.982, allocations: 175.1 MB / 1.206 GB, free: 78.41 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000256/4.982, allocations: 212.3 kB / 1.206 GB, free: 78.18 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.056/14.04, allocations: 0 / 1.206 GB, free: 78.18 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects_res.mat does not exist to compare? outputFormat=mat