Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects,fileNamePrefix="Modelica_trunk_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GyroscopicEffects",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.111/2.111, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.448e-05/3.448e-05, allocations: 4 kB / 292.2 MB, free: 8.773 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1118, allocations: 50.41 MB / 342.6 MB, free: 6.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4703/0.5821, allocations: 100.1 MB / 442.7 MB, free: 10.38 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003388/0.5825, allocations: 92.86 kB / 442.8 MB, free: 10.33 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9215/1.504, allocations: 149.8 MB / 0.5787 GB, free: 92.98 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.365e-06/1.504, allocations: 4 kB / 0.5787 GB, free: 92.98 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0006349/1.505, allocations: 146.1 kB / 0.5788 GB, free: 92.98 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.0563/1.561, allocations: 8.553 MB / 0.5872 GB, free: 90.12 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/1.561, allocations: 10.03 kB / 0.5872 GB, free: 90.12 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005787/1.567, allocations: 1.157 MB / 0.5883 GB, free: 90.03 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1162/1.683, allocations: 16.69 MB / 0.6046 GB, free: 84.73 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04621/1.729, allocations: 12.53 MB / 0.6169 GB, free: 72.54 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000626/1.73, allocations: 0.49 MB / 0.6174 GB, free: 72.08 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00379/1.734, allocations: 0.6689 MB / 0.618 GB, free: 71.45 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05439/1.788, allocations: 16.7 MB / 0.6343 GB, free: 53.34 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000533/1.789, allocations: 107 kB / 0.6344 GB, free: 53.23 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003069/1.792, allocations: 321.1 kB / 0.6347 GB, free: 52.96 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003505/1.796, allocations: 1.48 MB / 0.6362 GB, free: 51.48 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04609/1.842, allocations: 13.21 MB / 0.6491 GB, free: 38.24 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4925/2.334, allocations: 76.75 MB / 0.724 GB, free: 33.68 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04722/2.382, allocations: 8.499 MB / 0.7323 GB, free: 33 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008448/2.39, allocations: 4.104 MB / 0.7363 GB, free: 32.95 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002749/2.393, allocations: 1.346 MB / 0.7376 GB, free: 31.82 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.298e-05/2.393, allocations: 68.12 kB / 0.7377 GB, free: 31.78 MB / 442.7 MB Notification: Performance of pre-optimization done (n=268): time 6.632e-06/2.393, allocations: 0 / 0.7377 GB, free: 31.78 MB / 442.7 MB Notification: Performance of matching and sorting (n=354): time 0.2597/2.653, allocations: 46.66 MB / 0.7833 GB, free: 21.8 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002497/2.655, allocations: 3.221 MB / 0.7864 GB, free: 18.6 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01733/2.673, allocations: 6.455 MB / 0.7927 GB, free: 16.47 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001212/2.674, allocations: 83.78 kB / 0.7928 GB, free: 16.4 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004986/2.679, allocations: 4.862 MB / 0.7975 GB, free: 12.69 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002558/2.682, allocations: 1.356 MB / 0.7989 GB, free: 11.7 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001876/2.683, allocations: 194.4 kB / 0.7991 GB, free: 11.55 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0009014/2.684, allocations: 0.7185 MB / 0.7998 GB, free: 11.07 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01137/2.696, allocations: 4.507 MB / 0.8042 GB, free: 8.438 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.016/2.712, allocations: 9.749 MB / 0.8137 GB, free: 12.91 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01686/2.729, allocations: 6.554 MB / 0.8201 GB, free: 7.422 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002252/2.729, allocations: 52 kB / 0.8201 GB, free: 7.371 MB / 458.7 MB Notification: Performance of matching and sorting (n=1240) (initialization): time 0.1423/2.871, allocations: 30.93 MB / 0.8503 GB, free: 13.68 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002932/2.872, allocations: 87.94 kB / 0.8504 GB, free: 13.59 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.5076/3.379, allocations: 20.62 MB / 0.8706 GB, free: 116.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.09376/3.473, allocations: 16.6 MB / 0.8868 GB, free: 116.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01363/3.487, allocations: 2.123 MB / 0.8888 GB, free: 116.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07688/3.564, allocations: 33.32 MB / 0.9214 GB, free: 109 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01442/3.578, allocations: 0.7718 MB / 0.9221 GB, free: 108.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002619/3.581, allocations: 0.569 MB / 0.9227 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.004104/3.585, allocations: 0.815 MB / 0.9235 GB, free: 108.4 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002286/3.587, allocations: 0.6767 MB / 0.9241 GB, free: 108.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03484/3.622, allocations: 10.23 MB / 0.9341 GB, free: 104.8 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03593/3.658, allocations: 8.928 MB / 0.9429 GB, free: 101.8 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.595e-05/3.658, allocations: 14.72 kB / 0.9429 GB, free: 101.8 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001081/3.659, allocations: 21.34 kB / 0.9429 GB, free: 101.8 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08387/3.742, allocations: 23.51 MB / 0.9659 GB, free: 84.44 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.913e-05/3.743, allocations: 0 / 0.9659 GB, free: 84.44 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005889/3.748, allocations: 0.5655 MB / 0.9664 GB, free: 83.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02386/3.772, allocations: 4.005 MB / 0.9703 GB, free: 79.95 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001168/3.774, allocations: 107.9 kB / 0.9704 GB, free: 79.85 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04483/3.818, allocations: 23.99 MB / 0.9939 GB, free: 55.31 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002291/3.821, allocations: 2.956 MB / 0.9967 GB, free: 52.11 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0418/3.863, allocations: 15.69 MB / 1.012 GB, free: 36.41 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002612/3.865, allocations: 0.6996 MB / 1.013 GB, free: 35.7 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0031/3.868, allocations: 92.83 kB / 1.013 GB, free: 35.61 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008162/3.877, allocations: 325.4 kB / 1.013 GB, free: 35.29 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00173/3.878, allocations: 246.2 kB / 1.013 GB, free: 35.05 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008862/3.879, allocations: 104.9 kB / 1.013 GB, free: 34.95 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.01245/3.892, allocations: 4.61 MB / 1.018 GB, free: 30.38 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.032e-06/3.892, allocations: 0 / 1.018 GB, free: 30.38 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01521/3.907, allocations: 2.129 MB / 1.02 GB, free: 28.26 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.4223/4.329, allocations: 16.72 MB / 1.036 GB, free: 114 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.04395/4.373, allocations: 11.56 MB / 1.048 GB, free: 113.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.507e-05/4.373, allocations: 1.062 kB / 1.048 GB, free: 113.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01954/4.393, allocations: 5.142 MB / 1.053 GB, free: 112.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01196/4.405, allocations: 0.943 MB / 1.054 GB, free: 112.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07946/4.485, allocations: 19.57 MB / 1.073 GB, free: 109.2 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01421/4.499, allocations: 5.507 MB / 1.078 GB, free: 107.5 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0105/4.509, allocations: 3.732 MB / 1.082 GB, free: 104.5 MB / 490.7 MB Notification: Performance of SimCode: time 1.423e-06/4.509, allocations: 0 / 1.082 GB, free: 104.5 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 7.41/11.92, allocations: 359.1 MB / 1.432 GB, free: 125.1 MB / 0.4948 GB