Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GyroscopicEffects",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.071/2.071, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.668e-05/3.682e-05, allocations: 4 kB / 269.4 MB, free: 6.301 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1061, allocations: 47.58 MB / 317 MB, free: 6.641 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4576/0.5637, allocations: 98.11 MB / 415.1 MB, free: 5.844 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003208/0.5641, allocations: 92.39 kB / 415.2 MB, free: 5.797 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.994/1.558, allocations: 148 MB / 0.5501 GB, free: 84.23 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.637e-06/1.558, allocations: 3.781 kB / 0.5501 GB, free: 84.23 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.001222/1.559, allocations: 150 kB / 0.5502 GB, free: 84.23 MB / 426.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.06562/1.625, allocations: 8.567 MB / 0.5586 GB, free: 81.37 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.484e-05/1.625, allocations: 11.47 kB / 0.5586 GB, free: 81.36 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006209/1.631, allocations: 1.165 MB / 0.5597 GB, free: 81.27 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.118/1.75, allocations: 16.69 MB / 0.576 GB, free: 80.71 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05015/1.8, allocations: 13.16 MB / 0.5889 GB, free: 79.55 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008289/1.801, allocations: 0.4899 MB / 0.5893 GB, free: 79.52 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004196/1.805, allocations: 0.6657 MB / 0.59 GB, free: 79.32 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05618/1.861, allocations: 16.69 MB / 0.6063 GB, free: 63.57 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006795/1.862, allocations: 107.5 kB / 0.6064 GB, free: 63.51 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003774/1.866, allocations: 318.3 kB / 0.6067 GB, free: 63.23 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003566/1.869, allocations: 1.475 MB / 0.6081 GB, free: 61.76 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04715/1.916, allocations: 13.21 MB / 0.621 GB, free: 48.53 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5195/2.436, allocations: 76.86 MB / 0.6961 GB, free: 43.05 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04679/2.483, allocations: 8.496 MB / 0.7044 GB, free: 42.36 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007973/2.491, allocations: 4.106 MB / 0.7084 GB, free: 42.32 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002747/2.494, allocations: 1.348 MB / 0.7097 GB, free: 41.19 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.375e-05/2.494, allocations: 69.97 kB / 0.7098 GB, free: 41.14 MB / 442.7 MB Notification: Performance of pre-optimization done (n=268): time 7.103e-06/2.494, allocations: 0 / 0.7098 GB, free: 41.14 MB / 442.7 MB Notification: Performance of matching and sorting (n=354): time 0.2611/2.755, allocations: 46.87 MB / 0.7556 GB, free: 33.86 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00299/2.758, allocations: 3.227 MB / 0.7587 GB, free: 30.66 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01747/2.776, allocations: 6.509 MB / 0.7651 GB, free: 28.51 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001268/2.777, allocations: 78.3 kB / 0.7651 GB, free: 28.44 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006153/2.783, allocations: 5.212 MB / 0.7702 GB, free: 24.76 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002601/2.786, allocations: 1.344 MB / 0.7715 GB, free: 23.78 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002066/2.788, allocations: 194.1 kB / 0.7717 GB, free: 23.63 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0009718/2.789, allocations: 0.7165 MB / 0.7724 GB, free: 23.15 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01146/2.8, allocations: 4.505 MB / 0.7768 GB, free: 21.11 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01586/2.816, allocations: 9.747 MB / 0.7863 GB, free: 9.605 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01722/2.834, allocations: 6.56 MB / 0.7928 GB, free: 4.305 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002326/2.834, allocations: 52 kB / 0.7928 GB, free: 4.254 MB / 442.7 MB Notification: Performance of matching and sorting (n=1240) (initialization): time 0.1456/2.979, allocations: 31.6 MB / 0.8237 GB, free: 11.65 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001823/2.98, allocations: 84 kB / 0.8237 GB, free: 11.57 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1267/3.106, allocations: 20.63 MB / 0.8439 GB, free: 6.906 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.436/3.542, allocations: 16.59 MB / 0.8601 GB, free: 124.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01503/3.558, allocations: 2.125 MB / 0.8622 GB, free: 124.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07946/3.637, allocations: 33.33 MB / 0.8947 GB, free: 119.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01534/3.652, allocations: 0.7794 MB / 0.8955 GB, free: 119.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003059/3.656, allocations: 0.56 MB / 0.896 GB, free: 119.3 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.004784/3.66, allocations: 0.8193 MB / 0.8968 GB, free: 119 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002789/3.663, allocations: 0.6731 MB / 0.8975 GB, free: 119 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03681/3.7, allocations: 10.23 MB / 0.9075 GB, free: 115.4 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03146/3.732, allocations: 8.931 MB / 0.9162 GB, free: 112.4 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.936e-05/3.732, allocations: 18.09 kB / 0.9162 GB, free: 112.4 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001092/3.732, allocations: 19.91 kB / 0.9162 GB, free: 112.4 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07765/3.809, allocations: 23.53 MB / 0.9392 GB, free: 103.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.416e-05/3.81, allocations: 0 / 0.9392 GB, free: 103.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006329/3.816, allocations: 0.5665 MB / 0.9398 GB, free: 103.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02457/3.841, allocations: 4.005 MB / 0.9437 GB, free: 101.6 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001253/3.842, allocations: 116.7 kB / 0.9438 GB, free: 101.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04693/3.889, allocations: 23.98 MB / 0.9672 GB, free: 79.99 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002389/3.891, allocations: 2.962 MB / 0.9701 GB, free: 76.9 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04428/3.936, allocations: 15.71 MB / 0.9854 GB, free: 63.44 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005993/3.942, allocations: 1.384 MB / 0.9868 GB, free: 62.04 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003111/3.945, allocations: 96.06 kB / 0.9869 GB, free: 61.95 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008483/3.953, allocations: 328.1 kB / 0.9872 GB, free: 61.63 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001814/3.955, allocations: 249.6 kB / 0.9874 GB, free: 61.39 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001145/3.956, allocations: 96.89 kB / 0.9875 GB, free: 61.3 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.01301/3.969, allocations: 4.651 MB / 0.9921 GB, free: 56.69 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.313e-06/3.969, allocations: 0 / 0.9921 GB, free: 56.69 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01502/3.985, allocations: 2.13 MB / 0.9941 GB, free: 54.57 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.04648/4.031, allocations: 16.73 MB / 1.01 GB, free: 37.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02834/4.059, allocations: 11.56 MB / 1.022 GB, free: 26.24 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.038e-05/4.06, allocations: 0 / 1.022 GB, free: 26.24 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.3617/4.421, allocations: 5.12 MB / 1.027 GB, free: 127.5 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008954/4.43, allocations: 0.9437 MB / 1.028 GB, free: 127.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06709/4.497, allocations: 18.79 MB / 1.046 GB, free: 124.4 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01325/4.511, allocations: 5.524 MB / 1.051 GB, free: 123.6 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01524/4.526, allocations: 3.185 MB / 1.055 GB, free: 123.5 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009005/4.535, allocations: 3.686 MB / 1.058 GB, free: 123.5 MB / 490.7 MB Notification: Performance of SimCode: time 1.683e-06/4.535, allocations: 0 / 1.058 GB, free: 123.5 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6903/5.225, allocations: 175.4 MB / 1.229 GB, free: 116.3 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002321/5.226, allocations: 216.7 kB / 1.23 GB, free: 116 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.434/14.66, allocations: 0 / 1.23 GB, free: 116 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects_res.mat does not exist to compare? outputFormat=mat