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.945/1.945, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.465e-05/2.454e-05, allocations: 4 kB / 249.7 MB, free: 14.82 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3109/0.3109, allocations: 44.5 MB / 294.2 MB, free: 14.36 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.166/0.477, allocations: 91.83 MB / 386.1 MB, free: 6 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003187/0.4774, allocations: 83.89 kB / 386.1 MB, free: 5.918 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.818/1.295, allocations: 144.1 MB / 0.5179 GB, free: 19.39 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.384e-06/1.295, allocations: 0 / 0.5179 GB, free: 19.39 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0006466/1.296, allocations: 144 kB / 0.518 GB, free: 19.25 MB / 362.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.05568/1.352, allocations: 8.56 MB / 0.5263 GB, free: 10.61 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.612e-05/1.352, allocations: 8.031 kB / 0.5264 GB, free: 10.6 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1159/1.468, allocations: 16.69 MB / 0.5427 GB, free: 9.879 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05124/1.519, allocations: 13.12 MB / 0.5555 GB, free: 12.68 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004862/1.52, allocations: 208 kB / 0.5557 GB, free: 12.48 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003709/1.523, allocations: 415.7 kB / 0.5561 GB, free: 12.07 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0257/1.549, allocations: 9 MB / 0.5648 GB, free: 3.066 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3329/1.882, allocations: 14.13 MB / 0.5786 GB, free: 59.49 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004563/1.883, allocations: 107.5 kB / 0.5787 GB, free: 59.49 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002225/1.885, allocations: 51.02 kB / 0.5788 GB, free: 59.49 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003237/1.888, allocations: 1.474 MB / 0.5802 GB, free: 59.47 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1132/2.001, allocations: 74.53 MB / 0.653 GB, free: 14.06 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009805/2.011, allocations: 5.358 MB / 0.6583 GB, free: 11.45 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007101/2.018, allocations: 4.023 MB / 0.6622 GB, free: 9.734 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002733/2.021, allocations: 1.344 MB / 0.6635 GB, free: 8.555 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.438e-05/2.021, allocations: 66.81 kB / 0.6636 GB, free: 8.496 MB / 394.7 MB Notification: Performance of pre-optimization done (n=268): time 6.963e-06/2.021, allocations: 5.281 kB / 0.6636 GB, free: 8.496 MB / 394.7 MB Notification: Performance of matching and sorting (n=349): time 0.1919/2.213, allocations: 45.06 MB / 0.7076 GB, free: 1.832 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002162/2.213, allocations: 295.2 kB / 0.7078 GB, free: 1.488 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02716/2.241, allocations: 6.35 MB / 0.714 GB, free: 14.38 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001103/2.242, allocations: 25.7 kB / 0.7141 GB, free: 14.35 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006597/2.248, allocations: 5.246 MB / 0.7192 GB, free: 9.582 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002755/2.251, allocations: 1.298 MB / 0.7205 GB, free: 8.418 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001513/2.253, allocations: 3.938 kB / 0.7205 GB, free: 8.414 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0009175/2.254, allocations: 0.7116 MB / 0.7212 GB, free: 7.809 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01123/2.265, allocations: 4.29 MB / 0.7253 GB, free: 3.977 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3052/2.57, allocations: 9.657 MB / 0.7348 GB, free: 85.02 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02231/2.593, allocations: 6.316 MB / 0.7409 GB, free: 84.98 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005467/2.593, allocations: 57.34 kB / 0.741 GB, free: 84.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=1256) (initialization): time 0.1453/2.738, allocations: 30.15 MB / 0.7704 GB, free: 84.45 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002051/2.739, allocations: 89.12 kB / 0.7705 GB, free: 84.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.08658/2.825, allocations: 20.26 MB / 0.7903 GB, free: 84.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.08718/2.913, allocations: 16.52 MB / 0.8064 GB, free: 81.12 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01389/2.926, allocations: 2.151 MB / 0.8086 GB, free: 80.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06942/2.996, allocations: 31.47 MB / 0.8393 GB, free: 50.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01358/3.01, allocations: 0.5924 MB / 0.8399 GB, free: 49.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00282/3.012, allocations: 0.5788 MB / 0.8404 GB, free: 48.98 MB / 426.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.00446/3.017, allocations: 0.5785 MB / 0.841 GB, free: 48.52 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03077/3.048, allocations: 9.675 MB / 0.8504 GB, free: 39.12 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00242/3.05, allocations: 0.6243 MB / 0.8511 GB, free: 38.73 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03217/3.082, allocations: 9.744 MB / 0.8606 GB, free: 28.91 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0277/3.11, allocations: 8.547 MB / 0.8689 GB, free: 20.3 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.429e-05/3.11, allocations: 23.95 kB / 0.8689 GB, free: 20.27 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001137/3.11, allocations: 19.94 kB / 0.869 GB, free: 20.25 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4119/3.522, allocations: 22.2 MB / 0.8906 GB, free: 78.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.033e-05/3.522, allocations: 3.594 kB / 0.8906 GB, free: 78.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007614/3.53, allocations: 0.551 MB / 0.8912 GB, free: 78.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0263/3.556, allocations: 3.967 MB / 0.8951 GB, free: 78.33 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00109/3.558, allocations: 61.48 kB / 0.8951 GB, free: 78.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04355/3.601, allocations: 22.75 MB / 0.9173 GB, free: 70.88 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002341/3.604, allocations: 2.832 MB / 0.9201 GB, free: 68.28 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0405/3.644, allocations: 15.07 MB / 0.9348 GB, free: 65.35 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005088/3.649, allocations: 1.302 MB / 0.9361 GB, free: 64.98 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002516/3.652, allocations: 41.23 kB / 0.9361 GB, free: 64.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007462/3.659, allocations: 273.5 kB / 0.9364 GB, free: 64.96 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001862/3.661, allocations: 247.3 kB / 0.9366 GB, free: 64.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008379/3.662, allocations: 93.95 kB / 0.9367 GB, free: 64.91 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.01081/3.673, allocations: 3.888 MB / 0.9405 GB, free: 63.55 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.91e-07/3.673, allocations: 0 / 0.9405 GB, free: 63.55 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01403/3.687, allocations: 1.894 MB / 0.9424 GB, free: 63.55 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 16 ($STATESET4569649545.x[3],$STATESET4569649545.x[2],$STATESET4569649545.x[1],rotor1D.phi,rotor1D.w,rotor1D.rotorWith3DEffects.w_a[1],rotor1D.rotorWith3DEffects.w_a[2],rotor1D.rotorWith3DEffects.w_a[3],$STATESET4569649544.x[3],$STATESET4569649544.x[2],$STATESET4569649544.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.04062/3.728, allocations: 16.07 MB / 0.9581 GB, free: 56.81 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02657/3.754, allocations: 11.3 MB / 0.9691 GB, free: 52.77 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.08e-05/3.754, allocations: 2.578 kB / 0.9691 GB, free: 52.77 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01207/3.767, allocations: 4.982 MB / 0.974 GB, free: 48.85 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007899/3.774, allocations: 0.8068 MB / 0.9747 GB, free: 48.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06301/3.838, allocations: 18.16 MB / 0.9925 GB, free: 32.95 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01278/3.85, allocations: 5.496 MB / 0.9978 GB, free: 28.95 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.01533/3.866, allocations: 3.15 MB / 1.001 GB, free: 26.92 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009095/3.875, allocations: 3.638 MB / 1.004 GB, free: 23.57 MB / 426.7 MB Notification: Performance of SimCode: time 2.214e-06/3.875, allocations: 0 / 1.004 GB, free: 23.57 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6809/4.556, allocations: 163.9 MB / 1.165 GB, free: 22.2 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002462/4.556, allocations: 176.6 kB / 1.165 GB, free: 22 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.724/13.28, allocations: 0 / 1.165 GB, free: 22 MB / 442.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