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 1.987/1.987, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.619e-05/3.615e-05, allocations: 8 kB / 249.7 MB, free: 15.2 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3216/0.3217, allocations: 44.49 MB / 294.2 MB, free: 14.23 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1885/0.5103, allocations: 91.83 MB / 386 MB, free: 6.039 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000323/0.5107, allocations: 83.95 kB / 386.1 MB, free: 5.957 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8183/1.329, allocations: 144.1 MB / 0.5178 GB, free: 19.41 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.675e-06/1.329, allocations: 4 kB / 0.5178 GB, free: 19.41 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0006786/1.33, allocations: 144 kB / 0.518 GB, free: 19.27 MB / 362.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.05698/1.387, allocations: 8.567 MB / 0.5263 GB, free: 10.62 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.817e-05/1.387, allocations: 8.031 kB / 0.5263 GB, free: 10.62 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.118/1.505, allocations: 16.69 MB / 0.5426 GB, free: 9.895 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05125/1.556, allocations: 13.11 MB / 0.5554 GB, free: 12.7 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005019/1.557, allocations: 212 kB / 0.5556 GB, free: 12.5 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003684/1.56, allocations: 411.7 kB / 0.556 GB, free: 12.09 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02695/1.587, allocations: 9.003 MB / 0.5648 GB, free: 3.082 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5766/2.164, allocations: 14.12 MB / 0.5786 GB, free: 58.06 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005187/2.165, allocations: 106.5 kB / 0.5787 GB, free: 58.06 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00251/2.167, allocations: 46.94 kB / 0.5788 GB, free: 58.06 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003465/2.171, allocations: 1.478 MB / 0.5802 GB, free: 58.04 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1287/2.299, allocations: 74.54 MB / 0.653 GB, free: 12.52 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01382/2.313, allocations: 5.364 MB / 0.6582 GB, free: 9.914 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01007/2.323, allocations: 4.009 MB / 0.6621 GB, free: 8.199 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002739/2.326, allocations: 1.353 MB / 0.6635 GB, free: 7.016 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.044e-05/2.326, allocations: 61.31 kB / 0.6635 GB, free: 6.961 MB / 394.8 MB Notification: Performance of pre-optimization done (n=268): time 6.833e-06/2.326, allocations: 0 / 0.6635 GB, free: 6.961 MB / 394.8 MB Notification: Performance of matching and sorting (n=349): time 0.2412/2.568, allocations: 44.9 MB / 0.7074 GB, free: 15.77 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001946/2.568, allocations: 301.4 kB / 0.7077 GB, free: 15.43 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01599/2.584, allocations: 5.644 MB / 0.7132 GB, free: 10.61 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001142/2.585, allocations: 25.7 kB / 0.7132 GB, free: 10.58 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00636/2.591, allocations: 4.984 MB / 0.7181 GB, free: 5.98 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00279/2.594, allocations: 1.296 MB / 0.7193 GB, free: 4.816 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001697/2.596, allocations: 0 / 0.7193 GB, free: 4.816 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0009406/2.597, allocations: 0.7213 MB / 0.72 GB, free: 4.199 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01149/2.609, allocations: 4.286 MB / 0.7242 GB, free: 380 kB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3281/2.937, allocations: 10.71 MB / 0.7347 GB, free: 85.38 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01519/2.952, allocations: 6.311 MB / 0.7408 GB, free: 85.34 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003307/2.952, allocations: 58.72 kB / 0.7409 GB, free: 85.34 MB / 426.8 MB Notification: Performance of matching and sorting (n=1256) (initialization): time 0.1229/3.075, allocations: 29.88 MB / 0.7701 GB, free: 84.8 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001939/3.075, allocations: 89.02 kB / 0.7702 GB, free: 84.8 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.08705/3.162, allocations: 20.26 MB / 0.7899 GB, free: 84.52 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.08824/3.251, allocations: 16.53 MB / 0.8061 GB, free: 80.36 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01389/3.265, allocations: 2.151 MB / 0.8082 GB, free: 78.27 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07084/3.336, allocations: 31.47 MB / 0.8389 GB, free: 47.88 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.014/3.35, allocations: 0.5935 MB / 0.8395 GB, free: 47.3 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002825/3.353, allocations: 0.5741 MB / 0.8401 GB, free: 46.73 MB / 426.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 866 * 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 (1110): * Single equations (assignments): 1097 * 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,(5,100.0%) 40} * Non-linear torn systems: 2 {4 9,4 9} Notification: Performance of prepare postOptimizeDAE: time 0.004697/3.357, allocations: 0.5914 MB / 0.8406 GB, free: 46.26 MB / 426.8 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03105/3.388, allocations: 9.668 MB / 0.8501 GB, free: 36.87 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002546/3.391, allocations: 0.6252 MB / 0.8507 GB, free: 36.58 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03259/3.424, allocations: 9.743 MB / 0.8602 GB, free: 26.77 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02841/3.452, allocations: 8.549 MB / 0.8686 GB, free: 18.16 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.914e-05/3.452, allocations: 21.92 kB / 0.8686 GB, free: 18.14 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001297/3.452, allocations: 15.94 kB / 0.8686 GB, free: 18.12 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3866/3.839, allocations: 22.21 MB / 0.8903 GB, free: 77.07 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.379e-05/3.839, allocations: 3.25 kB / 0.8903 GB, free: 77.07 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005719/3.845, allocations: 0.5506 MB / 0.8908 GB, free: 77.07 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02339/3.868, allocations: 3.969 MB / 0.8947 GB, free: 77 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001294/3.87, allocations: 57.06 kB / 0.8947 GB, free: 77 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04356/3.913, allocations: 22.76 MB / 0.917 GB, free: 69.54 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00213/3.915, allocations: 2.831 MB / 0.9197 GB, free: 66.95 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03953/3.955, allocations: 15.08 MB / 0.9345 GB, free: 63.91 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005274/3.96, allocations: 1.31 MB / 0.9357 GB, free: 63.54 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002918/3.963, allocations: 38.64 kB / 0.9358 GB, free: 63.52 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007783/3.971, allocations: 266.1 kB / 0.936 GB, free: 63.52 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001835/3.973, allocations: 250.3 kB / 0.9363 GB, free: 63.49 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007504/3.974, allocations: 99.92 kB / 0.9364 GB, free: 63.47 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.01072/3.984, allocations: 3.888 MB / 0.9402 GB, free: 62.11 MB / 426.8 MB Notification: Performance of sort global known variables: time 1.222e-06/3.984, allocations: 0 / 0.9402 GB, free: 62.11 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0147/3.999, allocations: 1.896 MB / 0.942 GB, free: 62.11 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 16 ($STATESET7440257417.x[3],$STATESET7440257417.x[2],$STATESET7440257417.x[1],rotor1D.phi,rotor1D.w,rotor1D.rotorWith3DEffects.w_a[1],rotor1D.rotorWith3DEffects.w_a[2],rotor1D.rotorWith3DEffects.w_a[3],$STATESET7440257416.x[3],$STATESET7440257416.x[2],$STATESET7440257416.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 (241): * Single equations (assignments): 230 * 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.04171/4.041, allocations: 16.06 MB / 0.9577 GB, free: 55.34 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.02627/4.067, allocations: 11.31 MB / 0.9687 GB, free: 51.3 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.07e-05/4.067, allocations: 0 / 0.9687 GB, free: 51.3 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01196/4.079, allocations: 4.981 MB / 0.9736 GB, free: 47.29 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008074/4.087, allocations: 0.808 MB / 0.9744 GB, free: 46.64 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06654/4.154, allocations: 19 MB / 0.9929 GB, free: 30.71 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01349/4.168, allocations: 5.503 MB / 0.9983 GB, free: 26.71 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009821/4.177, allocations: 3.702 MB / 1.002 GB, free: 23.3 MB / 426.8 MB Notification: Performance of SimCode: time 1.523e-06/4.178, allocations: 4 kB / 1.002 GB, free: 23.3 MB / 426.8 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 7.141/11.32, allocations: 355.5 MB / 1.349 GB, free: 29.72 MB / 474.8 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