Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GyroscopicEffects",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.711/1.711, allocations: 171.2 MB / 183.8 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.451e-05/3.465e-05, allocations: 3.984 kB / 225.1 MB, free: 2.691 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2873/0.2873, allocations: 38.77 MB / 263.8 MB, free: 9.863 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1608/0.4482, allocations: 86.73 MB / 350.6 MB, free: 3.004 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002855/0.4485, allocations: 83.95 kB / 350.6 MB, free: 2.922 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7962/1.245, allocations: 147.1 MB / 497.7 MB, free: 7.773 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.144e-06/1.245, allocations: 0 / 497.7 MB, free: 7.773 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0007232/1.245, allocations: 148 kB / 497.8 MB, free: 7.629 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2272 * Number of variables: 2272 Notification: Performance of Generate backend data structure: time 0.5706/1.816, allocations: 8.559 MB / 0.4945 GB, free: 36.89 MB / 346.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.378e-05/1.816, allocations: 9.75 kB / 0.4945 GB, free: 36.89 MB / 346.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006149/1.822, allocations: 1.156 MB / 0.4957 GB, free: 36.8 MB / 346.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1156/1.938, allocations: 16.69 MB / 0.512 GB, free: 36.3 MB / 346.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04743/1.985, allocations: 13.14 MB / 0.5248 GB, free: 35.75 MB / 346.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006774/1.986, allocations: 496.1 kB / 0.5253 GB, free: 35.73 MB / 346.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003817/1.99, allocations: 0.6684 MB / 0.5259 GB, free: 35.72 MB / 346.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05574/2.046, allocations: 16.76 MB / 0.5423 GB, free: 31.64 MB / 346.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005922/2.046, allocations: 110 kB / 0.5424 GB, free: 31.63 MB / 346.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003217/2.05, allocations: 319.3 kB / 0.5427 GB, free: 31.63 MB / 346.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003658/2.053, allocations: 1.478 MB / 0.5441 GB, free: 31.61 MB / 346.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04702/2.1, allocations: 13.48 MB / 0.5573 GB, free: 29.68 MB / 346.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1336/2.234, allocations: 76.75 MB / 0.6323 GB, free: 9.914 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04855/2.283, allocations: 8.536 MB / 0.6406 GB, free: 2.973 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2863/2.569, allocations: 4.361 MB / 0.6449 GB, free: 81.81 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003191/2.572, allocations: 1.346 MB / 0.6462 GB, free: 80.68 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.692e-05/2.572, allocations: 64.25 kB / 0.6462 GB, free: 80.64 MB / 394.8 MB Notification: Performance of pre-optimization done (n=268): time 7.494e-06/2.572, allocations: 0 / 0.6462 GB, free: 80.64 MB / 394.8 MB Notification: Performance of matching and sorting (n=354): time 0.2624/2.835, allocations: 46.88 MB / 0.692 GB, free: 74.68 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002675/2.838, allocations: 3.233 MB / 0.6952 GB, free: 71.62 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01777/2.855, allocations: 6.503 MB / 0.7015 GB, free: 71.1 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.00124/2.857, allocations: 76.38 kB / 0.7016 GB, free: 71.07 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.005505/2.862, allocations: 4.864 MB / 0.7063 GB, free: 68.7 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.003014/2.865, allocations: 1.351 MB / 0.7077 GB, free: 67.92 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002174/2.868, allocations: 194.6 kB / 0.7078 GB, free: 67.92 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 0.001076/2.869, allocations: 0.7116 MB / 0.7085 GB, free: 67.59 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01192/2.881, allocations: 4.502 MB / 0.7129 GB, free: 67.2 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0159/2.897, allocations: 9.776 MB / 0.7225 GB, free: 58.57 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01518/2.912, allocations: 6.558 MB / 0.7289 GB, free: 56.45 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002493/2.912, allocations: 55 kB / 0.7289 GB, free: 56.45 MB / 394.8 MB Notification: Performance of matching and sorting (n=1237) (initialization): time 0.1672/3.079, allocations: 31.14 MB / 0.7594 GB, free: 37.45 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001475/3.08, allocations: 90.25 kB / 0.7594 GB, free: 37.36 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.089/3.169, allocations: 20.63 MB / 0.7796 GB, free: 17.81 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.3754/3.544, allocations: 16.59 MB / 0.7958 GB, free: 66.69 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01377/3.558, allocations: 2.122 MB / 0.7979 GB, free: 66.69 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07827/3.636, allocations: 33.31 MB / 0.8304 GB, free: 61.49 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0146/3.651, allocations: 0.7751 MB / 0.8312 GB, free: 61.49 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0027/3.654, allocations: 0.5603 MB / 0.8317 GB, free: 61.49 MB / 394.8 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.004599/3.658, allocations: 0.8109 MB / 0.8325 GB, free: 61.38 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002804/3.661, allocations: 0.6751 MB / 0.8332 GB, free: 61.38 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03573/3.697, allocations: 10.24 MB / 0.8432 GB, free: 58.79 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03036/3.727, allocations: 8.927 MB / 0.8519 GB, free: 55.81 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.332e-05/3.727, allocations: 15.38 kB / 0.8519 GB, free: 55.81 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001051/3.728, allocations: 22.45 kB / 0.8519 GB, free: 55.81 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08657/3.814, allocations: 23.53 MB / 0.8749 GB, free: 46.39 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-05/3.814, allocations: 4 kB / 0.8749 GB, free: 46.39 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005794/3.82, allocations: 0.5645 MB / 0.8754 GB, free: 45.98 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02397/3.844, allocations: 4.004 MB / 0.8794 GB, free: 43.35 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001189/3.845, allocations: 111.5 kB / 0.8795 GB, free: 43.27 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04526/3.891, allocations: 23.99 MB / 0.9029 GB, free: 20.61 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002314/3.893, allocations: 2.955 MB / 0.9058 GB, free: 17.41 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3708/4.264, allocations: 15.69 MB / 0.9211 GB, free: 62.56 MB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006112/4.27, allocations: 1.387 MB / 0.9225 GB, free: 62.47 MB / 394.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002904/4.273, allocations: 89.14 kB / 0.9225 GB, free: 62.47 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008177/4.281, allocations: 329.7 kB / 0.9229 GB, free: 62.47 MB / 394.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001758/4.283, allocations: 245.9 kB / 0.9231 GB, free: 62.47 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006591/4.284, allocations: 106.5 kB / 0.9232 GB, free: 62.47 MB / 394.8 MB Notification: Performance of sorting global known variables: time 0.01359/4.297, allocations: 4.632 MB / 0.9277 GB, free: 62.22 MB / 394.8 MB Notification: Performance of sort global known variables: time 9.62e-07/4.297, allocations: 0 / 0.9277 GB, free: 62.22 MB / 394.8 MB Notification: Performance of remove unused functions: time 0.01343/4.311, allocations: 2.132 MB / 0.9298 GB, free: 62.22 MB / 394.8 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.04416/4.355, allocations: 16.73 MB / 0.9461 GB, free: 60.18 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.02849/4.383, allocations: 11.87 MB / 0.9577 GB, free: 59.4 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 8.926e-06/4.384, allocations: 0 / 0.9577 GB, free: 59.4 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01295/4.397, allocations: 5.215 MB / 0.9628 GB, free: 58.45 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008634/4.405, allocations: 0.9413 MB / 0.9637 GB, free: 58.41 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06894/4.474, allocations: 19.63 MB / 0.9829 GB, free: 52.01 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01306/4.487, allocations: 5.518 MB / 0.9883 GB, free: 50.29 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009597/4.497, allocations: 3.738 MB / 0.9919 GB, free: 47.3 MB / 394.8 MB Notification: Performance of SimCode: time 1.363e-06/4.497, allocations: 0 / 0.9919 GB, free: 47.3 MB / 394.8 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 7.531/12.03, allocations: 360.9 MB / 1.344 GB, free: 38.43 MB / 442.8 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects_res.mat does not exist to compare? outputFormat=mat