Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GyroscopicEffects",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.183/2.183, allocations: 194.9 MB / 208.4 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.409e-05/3.415e-05, allocations: 0 / 255.5 MB, free: 3.09 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09785/0.09792, allocations: 44.51 MB / 300 MB, free: 6.523 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4491/0.5471, allocations: 92.5 MB / 392.5 MB, free: 12.73 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002864/0.5474, allocations: 80.28 kB / 392.5 MB, free: 12.73 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8913/1.439, allocations: 147.1 MB / 0.527 GB, free: 58.87 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.214e-06/1.439, allocations: 0 / 0.527 GB, free: 58.87 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0007753/1.44, allocations: 144.1 kB / 0.5271 GB, free: 58.87 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.06239/1.502, allocations: 8.556 MB / 0.5354 GB, free: 56.11 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.401e-05/1.502, allocations: 7.812 kB / 0.5355 GB, free: 56.11 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006066/1.508, allocations: 1.162 MB / 0.5366 GB, free: 56.02 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1143/1.623, allocations: 16.68 MB / 0.5529 GB, free: 55.51 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04633/1.669, allocations: 13.15 MB / 0.5657 GB, free: 54.44 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006488/1.67, allocations: 498.4 kB / 0.5662 GB, free: 54.43 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003651/1.673, allocations: 0.6662 MB / 0.5668 GB, free: 54.41 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05583/1.729, allocations: 16.68 MB / 0.5831 GB, free: 50.37 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006407/1.73, allocations: 107.2 kB / 0.5832 GB, free: 50.36 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003589/1.734, allocations: 323.9 kB / 0.5835 GB, free: 50.36 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003801/1.737, allocations: 1.47 MB / 0.585 GB, free: 50.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04651/1.784, allocations: 13.22 MB / 0.5979 GB, free: 50.3 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1675/1.952, allocations: 76.77 MB / 0.6729 GB, free: 18.27 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04658/1.998, allocations: 8.506 MB / 0.6812 GB, free: 11.32 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009162/2.007, allocations: 4.09 MB / 0.6852 GB, free: 7.586 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002977/2.01, allocations: 1.344 MB / 0.6865 GB, free: 6.141 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.689e-05/2.011, allocations: 72.22 kB / 0.6865 GB, free: 6.062 MB / 442.7 MB Notification: Performance of pre-optimization done (n=268): time 7.183e-06/2.011, allocations: 4 kB / 0.6865 GB, free: 6.059 MB / 442.7 MB Notification: Performance of matching and sorting (n=354): time 0.5647/2.575, allocations: 47.09 MB / 0.7325 GB, free: 78.77 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002424/2.578, allocations: 3.226 MB / 0.7357 GB, free: 75.71 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01437/2.592, allocations: 6.483 MB / 0.742 GB, free: 75.19 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001137/2.593, allocations: 82.91 kB / 0.7421 GB, free: 75.16 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004539/2.598, allocations: 4.862 MB / 0.7468 GB, free: 73.09 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002408/2.6, allocations: 1.35 MB / 0.7482 GB, free: 72.31 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001253/2.602, allocations: 190.1 kB / 0.7483 GB, free: 72.31 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0005679/2.602, allocations: 0.718 MB / 0.749 GB, free: 71.97 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01068/2.613, allocations: 4.504 MB / 0.7534 GB, free: 71.95 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01465/2.628, allocations: 9.729 MB / 0.7629 GB, free: 65.24 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01478/2.642, allocations: 6.55 MB / 0.7693 GB, free: 64.71 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002436/2.643, allocations: 55.41 kB / 0.7694 GB, free: 64.71 MB / 442.7 MB Notification: Performance of matching and sorting (n=1237) (initialization): time 0.1254/2.768, allocations: 30.64 MB / 0.7993 GB, free: 59.85 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001669/2.768, allocations: 85.09 kB / 0.7994 GB, free: 59.77 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1054/2.874, allocations: 20.63 MB / 0.8195 GB, free: 46.4 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.08745/2.961, allocations: 16.59 MB / 0.8357 GB, free: 30.35 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01369/2.975, allocations: 2.113 MB / 0.8378 GB, free: 28.23 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3877/3.363, allocations: 33.31 MB / 0.8703 GB, free: 69.32 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01445/3.377, allocations: 0.7785 MB / 0.8711 GB, free: 69.32 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002729/3.38, allocations: 0.5587 MB / 0.8717 GB, free: 69.32 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.004386/3.385, allocations: 0.8141 MB / 0.8724 GB, free: 69.21 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002163/3.387, allocations: 0.6716 MB / 0.8731 GB, free: 69.21 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03431/3.421, allocations: 10.23 MB / 0.8831 GB, free: 68.75 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0373/3.459, allocations: 8.93 MB / 0.8918 GB, free: 68.34 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001187/3.459, allocations: 20.86 kB / 0.8918 GB, free: 68.33 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001239/3.459, allocations: 14.2 kB / 0.8918 GB, free: 68.33 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07388/3.533, allocations: 23.54 MB / 0.9148 GB, free: 60.95 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.191e-05/3.533, allocations: 3.406 kB / 0.9148 GB, free: 60.95 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005856/3.539, allocations: 0.5568 MB / 0.9154 GB, free: 60.93 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02367/3.562, allocations: 4.007 MB / 0.9193 GB, free: 60.23 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001158/3.564, allocations: 103.2 kB / 0.9194 GB, free: 60.18 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04516/3.609, allocations: 24.01 MB / 0.9428 GB, free: 46.32 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00235/3.611, allocations: 2.949 MB / 0.9457 GB, free: 43.47 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04296/3.654, allocations: 15.7 MB / 0.961 GB, free: 37.38 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005658/3.66, allocations: 1.376 MB / 0.9624 GB, free: 36.61 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002835/3.663, allocations: 89.52 kB / 0.9625 GB, free: 36.56 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008301/3.671, allocations: 325.6 kB / 0.9628 GB, free: 36.52 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001789/3.673, allocations: 252.8 kB / 0.963 GB, free: 36.49 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006026/3.674, allocations: 101.7 kB / 0.9631 GB, free: 36.47 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.01245/3.686, allocations: 4.632 MB / 0.9677 GB, free: 32.45 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.062e-06/3.686, allocations: 0 / 0.9677 GB, free: 32.45 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01477/3.701, allocations: 2.127 MB / 0.9697 GB, free: 30.33 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.04403/3.745, allocations: 16.72 MB / 0.9861 GB, free: 15.84 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.02857/3.774, allocations: 11.56 MB / 0.9973 GB, free: 5.887 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.078e-05/3.774, allocations: 7.891 kB / 0.9974 GB, free: 5.883 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01308/3.787, allocations: 5.12 MB / 1.002 GB, free: 1.258 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008847/3.796, allocations: 0.9627 MB / 1.003 GB, free: 480 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4048/4.201, allocations: 19.77 MB / 1.023 GB, free: 84.55 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01349/4.214, allocations: 5.518 MB / 1.028 GB, free: 83.67 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009722/4.224, allocations: 3.738 MB / 1.032 GB, free: 83.66 MB / 458.7 MB Notification: Performance of SimCode: time 1.453e-06/4.224, allocations: 0 / 1.032 GB, free: 83.66 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 7.16/11.38, allocations: 359.4 MB / 1.383 GB, free: 96.7 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects_res.mat does not exist to compare? outputFormat=mat