Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GyroscopicEffects",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.989/1.989, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.663e-05/3.669e-05, allocations: 4 kB / 292.2 MB, free: 8.207 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1096, allocations: 50.4 MB / 342.6 MB, free: 5.785 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4647/0.5744, allocations: 100 MB / 442.7 MB, free: 10.49 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003158/0.5747, allocations: 90.02 kB / 442.7 MB, free: 10.44 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9301/1.505, allocations: 149.8 MB / 0.5787 GB, free: 92.96 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.575e-06/1.505, allocations: 0 / 0.5787 GB, free: 92.96 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0007353/1.506, allocations: 147.2 kB / 0.5788 GB, free: 92.96 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2276 * Number of variables: 2276 Notification: Performance of Generate backend data structure: time 0.06101/1.567, allocations: 8.555 MB / 0.5872 GB, free: 90.11 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/1.567, allocations: 11.5 kB / 0.5872 GB, free: 90.1 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006519/1.573, allocations: 1.155 MB / 0.5883 GB, free: 90.01 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1177/1.691, allocations: 16.69 MB / 0.6046 GB, free: 84.49 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04573/1.737, allocations: 12.53 MB / 0.6168 GB, free: 72.19 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006388/1.738, allocations: 494.9 kB / 0.6173 GB, free: 71.74 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003837/1.741, allocations: 0.6683 MB / 0.618 GB, free: 71.11 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05651/1.798, allocations: 16.7 MB / 0.6343 GB, free: 53 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007678/1.799, allocations: 107 kB / 0.6344 GB, free: 52.89 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003935/1.803, allocations: 319.8 kB / 0.6347 GB, free: 52.62 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00372/1.807, allocations: 1.476 MB / 0.6361 GB, free: 51.14 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04875/1.855, allocations: 13.22 MB / 0.649 GB, free: 37.9 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5111/2.367, allocations: 76.75 MB / 0.724 GB, free: 33.67 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04887/2.416, allocations: 8.505 MB / 0.7323 GB, free: 32.98 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008485/2.424, allocations: 4.101 MB / 0.7363 GB, free: 32.93 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002812/2.427, allocations: 1.35 MB / 0.7376 GB, free: 31.8 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001001/2.427, allocations: 64.22 kB / 0.7377 GB, free: 31.76 MB / 442.7 MB Notification: Performance of pre-optimization done (n=268): time 7.945e-06/2.427, allocations: 2.125 kB / 0.7377 GB, free: 31.76 MB / 442.7 MB Notification: Performance of matching and sorting (n=354): time 0.2673/2.694, allocations: 46.65 MB / 0.7832 GB, free: 21.68 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002823/2.697, allocations: 3.225 MB / 0.7864 GB, free: 18.48 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01949/2.717, allocations: 6.451 MB / 0.7927 GB, free: 16.36 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001299/2.718, allocations: 81.03 kB / 0.7928 GB, free: 16.29 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006455/2.725, allocations: 5.197 MB / 0.7978 GB, free: 12.48 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00283/2.728, allocations: 1.351 MB / 0.7991 GB, free: 11.5 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002328/2.73, allocations: 191.8 kB / 0.7993 GB, free: 11.36 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.001271/2.731, allocations: 0.7097 MB / 0.8 GB, free: 10.88 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01226/2.744, allocations: 4.508 MB / 0.8044 GB, free: 8.16 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01709/2.761, allocations: 9.751 MB / 0.8139 GB, free: 12.62 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01797/2.779, allocations: 6.557 MB / 0.8204 GB, free: 7.133 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002559/2.779, allocations: 56 kB / 0.8204 GB, free: 7.078 MB / 458.7 MB Notification: Performance of matching and sorting (n=1240) (initialization): time 0.1402/2.919, allocations: 30.99 MB / 0.8507 GB, free: 12.89 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001852/2.92, allocations: 87.59 kB / 0.8508 GB, free: 12.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.4762/3.396, allocations: 20.63 MB / 0.8709 GB, free: 117 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.09351/3.489, allocations: 16.6 MB / 0.8871 GB, free: 117 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01449/3.504, allocations: 2.124 MB / 0.8892 GB, free: 117 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08412/3.588, allocations: 33.32 MB / 0.9217 GB, free: 109 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01506/3.603, allocations: 0.7733 MB / 0.9225 GB, free: 108.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002724/3.606, allocations: 0.5579 MB / 0.923 GB, free: 108.7 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 845 * Number of states: 0 () * Number of discrete variables: 63 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (1094): * Single equations (assignments): 1081 * 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.00447/3.611, allocations: 0.8195 MB / 0.9238 GB, free: 108.4 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002599/3.613, allocations: 0.6766 MB / 0.9245 GB, free: 108.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03627/3.65, allocations: 10.23 MB / 0.9345 GB, free: 104.8 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03053/3.68, allocations: 8.927 MB / 0.9432 GB, free: 101.8 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.58e-05/3.68, allocations: 19.97 kB / 0.9432 GB, free: 101.8 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001049/3.68, allocations: 15.47 kB / 0.9432 GB, free: 101.8 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07684/3.757, allocations: 23.51 MB / 0.9662 GB, free: 83.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-05/3.757, allocations: 0 / 0.9662 GB, free: 83.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006022/3.763, allocations: 0.559 MB / 0.9667 GB, free: 83.06 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02395/3.787, allocations: 4.016 MB / 0.9707 GB, free: 79.11 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001214/3.789, allocations: 100.7 kB / 0.9708 GB, free: 79.01 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04602/3.835, allocations: 24.01 MB / 0.9942 GB, free: 54.46 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002318/3.837, allocations: 2.957 MB / 0.9971 GB, free: 51.25 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04196/3.879, allocations: 15.69 MB / 1.012 GB, free: 35.55 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00284/3.882, allocations: 0.7082 MB / 1.013 GB, free: 34.82 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003259/3.885, allocations: 83.98 kB / 1.013 GB, free: 34.74 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008634/3.894, allocations: 323.5 kB / 1.013 GB, free: 34.42 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001831/3.896, allocations: 249 kB / 1.014 GB, free: 34.18 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001032/3.897, allocations: 100.5 kB / 1.014 GB, free: 34.08 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.01335/3.91, allocations: 4.608 MB / 1.018 GB, free: 29.52 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.353e-06/3.91, allocations: 0 / 1.018 GB, free: 29.52 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01677/3.927, allocations: 2.135 MB / 1.02 GB, free: 27.39 MB / 490.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.4184/4.346, allocations: 16.71 MB / 1.037 GB, free: 114.1 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.04407/4.39, allocations: 11.56 MB / 1.048 GB, free: 113.4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.488e-05/4.39, allocations: 3.094 kB / 1.048 GB, free: 113.4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01816/4.408, allocations: 5.137 MB / 1.053 GB, free: 112.5 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009177/4.417, allocations: 0.9448 MB / 1.054 GB, free: 112.4 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06783/4.485, allocations: 18.73 MB / 1.072 GB, free: 109.4 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01367/4.499, allocations: 5.501 MB / 1.078 GB, free: 107.8 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01603/4.515, allocations: 3.184 MB / 1.081 GB, free: 107.6 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009895/4.525, allocations: 3.67 MB / 1.084 GB, free: 104.6 MB / 490.7 MB Notification: Performance of SimCode: time 2.936e-06/4.525, allocations: 0 / 1.084 GB, free: 104.6 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7275/5.253, allocations: 175 MB / 1.255 GB, free: 110.9 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002749/5.253, allocations: 217.4 kB / 1.255 GB, free: 110.7 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.451/14.7, allocations: 0 / 1.255 GB, free: 110.7 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects_res.mat does not exist to compare? outputFormat=mat