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.889/1.889, allocations: 194.9 MB / 208 MB, free: 3.258 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.19e-05/3.196e-05, allocations: 4 kB / 255.5 MB, free: 2.625 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09323/0.09328, allocations: 44.51 MB / 300 MB, free: 6.059 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4295/0.5229, allocations: 92.48 MB / 392.4 MB, free: 12.37 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002893/0.5232, allocations: 82.47 kB / 392.5 MB, free: 12.37 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9093/1.433, allocations: 147.1 MB / 0.527 GB, free: 58.9 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.934e-06/1.433, allocations: 0 / 0.527 GB, free: 58.9 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0007673/1.433, allocations: 146.4 kB / 0.5271 GB, free: 58.9 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.06096/1.494, allocations: 8.562 MB / 0.5355 GB, free: 56.15 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.55e-05/1.494, allocations: 10.84 kB / 0.5355 GB, free: 56.15 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006157/1.501, allocations: 1.156 MB / 0.5366 GB, free: 56.06 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1148/1.615, allocations: 16.69 MB / 0.5529 GB, free: 55.55 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0474/1.663, allocations: 13.15 MB / 0.5657 GB, free: 54.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007183/1.664, allocations: 0.4905 MB / 0.5662 GB, free: 54.46 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00413/1.668, allocations: 0.6628 MB / 0.5669 GB, free: 54.45 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06271/1.731, allocations: 16.76 MB / 0.5832 GB, free: 50.38 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006656/1.731, allocations: 109 kB / 0.5833 GB, free: 50.37 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003432/1.735, allocations: 318.3 kB / 0.5836 GB, free: 50.37 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003746/1.739, allocations: 1.479 MB / 0.5851 GB, free: 50.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0468/1.785, allocations: 13.48 MB / 0.5982 GB, free: 50.27 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1237/1.909, allocations: 76.76 MB / 0.6732 GB, free: 17.68 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0468/1.956, allocations: 8.522 MB / 0.6815 GB, free: 10.71 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009595/1.966, allocations: 4.098 MB / 0.6855 GB, free: 6.969 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003228/1.969, allocations: 1.341 MB / 0.6868 GB, free: 5.527 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.642e-05/1.969, allocations: 72.12 kB / 0.6869 GB, free: 5.453 MB / 442.7 MB Notification: Performance of pre-optimization done (n=268): time 7.814e-06/1.969, allocations: 4 kB / 0.6869 GB, free: 5.449 MB / 442.7 MB Notification: Performance of matching and sorting (n=354): time 0.5631/2.532, allocations: 46.87 MB / 0.7327 GB, free: 78.59 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002581/2.535, allocations: 3.229 MB / 0.7358 GB, free: 75.52 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01752/2.552, allocations: 6.489 MB / 0.7422 GB, free: 75 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001199/2.554, allocations: 77.12 kB / 0.7422 GB, free: 74.96 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005607/2.559, allocations: 5.192 MB / 0.7473 GB, free: 72.95 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002457/2.562, allocations: 1.352 MB / 0.7486 GB, free: 72.17 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001719/2.564, allocations: 193.4 kB / 0.7488 GB, free: 72.17 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0007926/2.564, allocations: 0.7097 MB / 0.7495 GB, free: 71.85 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01116/2.576, allocations: 4.503 MB / 0.7539 GB, free: 71.82 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01501/2.591, allocations: 9.781 MB / 0.7635 GB, free: 65.09 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01476/2.605, allocations: 6.553 MB / 0.7699 GB, free: 64.33 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002206/2.606, allocations: 57.17 kB / 0.7699 GB, free: 64.33 MB / 442.7 MB Notification: Performance of matching and sorting (n=1237) (initialization): time 0.1243/2.73, allocations: 31.47 MB / 0.8006 GB, free: 57.72 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001523/2.73, allocations: 84 kB / 0.8007 GB, free: 57.64 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.08765/2.818, allocations: 20.63 MB / 0.8209 GB, free: 44.19 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.08644/2.904, allocations: 16.6 MB / 0.8371 GB, free: 27.55 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0137/2.918, allocations: 2.109 MB / 0.8391 GB, free: 25.43 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.387/3.305, allocations: 33.33 MB / 0.8717 GB, free: 68.06 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01398/3.319, allocations: 0.7702 MB / 0.8724 GB, free: 68.06 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002478/3.322, allocations: 0.5542 MB / 0.873 GB, free: 68.06 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.003225/3.325, allocations: 0.8215 MB / 0.8738 GB, free: 67.95 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002116/3.327, allocations: 0.6724 MB / 0.8744 GB, free: 67.95 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03582/3.363, allocations: 10.24 MB / 0.8844 GB, free: 67.48 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02974/3.393, allocations: 8.927 MB / 0.8932 GB, free: 67.07 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.697e-05/3.393, allocations: 19.38 kB / 0.8932 GB, free: 67.07 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.54e-05/3.393, allocations: 17.44 kB / 0.8932 GB, free: 67.07 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07063/3.464, allocations: 23.53 MB / 0.9162 GB, free: 58.81 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.74e-05/3.464, allocations: 2.219 kB / 0.9162 GB, free: 58.81 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005729/3.47, allocations: 0.5619 MB / 0.9167 GB, free: 58.8 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0235/3.493, allocations: 4 MB / 0.9206 GB, free: 58.1 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001142/3.494, allocations: 103.8 kB / 0.9207 GB, free: 58.05 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04505/3.539, allocations: 24.02 MB / 0.9442 GB, free: 44.18 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002252/3.542, allocations: 2.961 MB / 0.9471 GB, free: 41.32 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04183/3.584, allocations: 15.68 MB / 0.9624 GB, free: 35.24 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005687/3.589, allocations: 1.386 MB / 0.9637 GB, free: 34.34 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003245/3.593, allocations: 93.8 kB / 0.9638 GB, free: 34.25 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01064/3.603, allocations: 331.5 kB / 0.9642 GB, free: 34.06 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002418/3.606, allocations: 245 kB / 0.9644 GB, free: 33.93 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001095/3.607, allocations: 99.31 kB / 0.9645 GB, free: 33.84 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.01698/3.624, allocations: 4.636 MB / 0.969 GB, free: 29.8 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.52e-07/3.624, allocations: 0 / 0.969 GB, free: 29.8 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01995/3.644, allocations: 2.127 MB / 0.9711 GB, free: 27.68 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.05248/3.697, allocations: 16.73 MB / 0.9874 GB, free: 13.2 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0282/3.725, allocations: 11.88 MB / 0.999 GB, free: 3.031 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.247e-06/3.725, allocations: 0 / 0.999 GB, free: 3.031 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01836/3.743, allocations: 5.538 MB / 1.004 GB, free: 15.19 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.3017/4.045, allocations: 0.9765 MB / 1.005 GB, free: 88.15 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06714/4.112, allocations: 18.8 MB / 1.024 GB, free: 85.21 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0128/4.125, allocations: 5.512 MB / 1.029 GB, free: 84.32 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01513/4.14, allocations: 3.173 MB / 1.032 GB, free: 84.26 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009132/4.149, allocations: 3.673 MB / 1.036 GB, free: 84.26 MB / 458.7 MB Notification: Performance of SimCode: time 1.693e-06/4.149, allocations: 0 / 1.036 GB, free: 84.26 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6851/4.835, allocations: 176.2 MB / 1.208 GB, free: 82.73 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002276/4.835, allocations: 217.2 kB / 1.208 GB, free: 82.5 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.135/13.97, allocations: 3.906 kB / 1.208 GB, free: 82.5 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