Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GyroscopicEffects",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.07/2.07, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.375e-05/3.384e-05, allocations: 4 kB / 292.8 MB, free: 8.227 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.11, allocations: 50.42 MB / 343.2 MB, free: 5.781 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4886/0.5986, allocations: 100 MB / 443.2 MB, free: 10.13 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003233/0.599, allocations: 85.77 kB / 443.3 MB, free: 10.09 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9524/1.551, allocations: 149.8 MB / 0.5792 GB, free: 92.56 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.244e-06/1.552, allocations: 0 / 0.5792 GB, free: 92.56 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0006828/1.552, allocations: 150.7 kB / 0.5793 GB, free: 92.55 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.05841/1.611, allocations: 8.545 MB / 0.5877 GB, free: 89.7 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.603e-05/1.611, allocations: 10.44 kB / 0.5877 GB, free: 89.7 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00625/1.617, allocations: 1.156 MB / 0.5888 GB, free: 89.61 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1244/1.741, allocations: 16.69 MB / 0.6051 GB, free: 84.39 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04829/1.79, allocations: 12.53 MB / 0.6173 GB, free: 72.09 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008048/1.791, allocations: 498.6 kB / 0.6178 GB, free: 71.63 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004731/1.795, allocations: 0.6657 MB / 0.6185 GB, free: 71 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05765/1.853, allocations: 16.71 MB / 0.6348 GB, free: 52.89 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006988/1.854, allocations: 103 kB / 0.6349 GB, free: 52.79 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00421/1.858, allocations: 318.1 kB / 0.6352 GB, free: 52.51 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006181/1.864, allocations: 1.481 MB / 0.6366 GB, free: 51.03 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0511/1.916, allocations: 13.22 MB / 0.6495 GB, free: 37.79 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5022/2.418, allocations: 76.74 MB / 0.7245 GB, free: 33.32 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04828/2.466, allocations: 8.508 MB / 0.7328 GB, free: 32.63 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009159/2.475, allocations: 4.094 MB / 0.7368 GB, free: 32.59 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002879/2.478, allocations: 1.353 MB / 0.7381 GB, free: 31.46 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.445e-05/2.478, allocations: 63.78 kB / 0.7382 GB, free: 31.41 MB / 442.7 MB Notification: Performance of pre-optimization done (n=268): time 7.083e-06/2.478, allocations: 2.844 kB / 0.7382 GB, free: 31.41 MB / 442.7 MB Notification: Performance of matching and sorting (n=354): time 0.2808/2.759, allocations: 46.65 MB / 0.7837 GB, free: 21.59 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002537/2.762, allocations: 3.225 MB / 0.7869 GB, free: 18.39 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01624/2.778, allocations: 6.456 MB / 0.7932 GB, free: 16.25 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001198/2.779, allocations: 80.58 kB / 0.7933 GB, free: 16.18 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005502/2.785, allocations: 5.199 MB / 0.7984 GB, free: 12.38 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002553/2.788, allocations: 1.347 MB / 0.7997 GB, free: 11.4 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001663/2.789, allocations: 189.2 kB / 0.7998 GB, free: 11.25 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0009951/2.79, allocations: 0.7066 MB / 0.8005 GB, free: 10.78 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01166/2.802, allocations: 4.507 MB / 0.8049 GB, free: 8.004 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01638/2.818, allocations: 9.754 MB / 0.8145 GB, free: 12.46 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01734/2.836, allocations: 6.555 MB / 0.8209 GB, free: 6.977 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002248/2.836, allocations: 55.94 kB / 0.8209 GB, free: 6.922 MB / 458.7 MB Notification: Performance of matching and sorting (n=1240) (initialization): time 0.1862/3.022, allocations: 31.02 MB / 0.8512 GB, free: 12.84 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001752/3.023, allocations: 87.95 kB / 0.8513 GB, free: 12.75 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.4421/3.465, allocations: 20.64 MB / 0.8714 GB, free: 116.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.091/3.556, allocations: 16.6 MB / 0.8877 GB, free: 116.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01428/3.57, allocations: 2.118 MB / 0.8897 GB, free: 116.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0785/3.649, allocations: 33.33 MB / 0.9223 GB, free: 108.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01455/3.663, allocations: 0.7688 MB / 0.923 GB, free: 108.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002629/3.666, allocations: 0.5672 MB / 0.9236 GB, free: 108.4 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.004022/3.67, allocations: 0.8118 MB / 0.9244 GB, free: 108.1 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002069/3.672, allocations: 0.6749 MB / 0.925 GB, free: 108.1 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03504/3.707, allocations: 10.22 MB / 0.935 GB, free: 104.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03106/3.738, allocations: 8.928 MB / 0.9437 GB, free: 101.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-05/3.738, allocations: 24.44 kB / 0.9438 GB, free: 101.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001038/3.739, allocations: 15.66 kB / 0.9438 GB, free: 101.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07554/3.814, allocations: 23.51 MB / 0.9667 GB, free: 83.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.504e-05/3.814, allocations: 4 kB / 0.9667 GB, free: 83.49 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006083/3.82, allocations: 0.565 MB / 0.9673 GB, free: 82.95 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02462/3.845, allocations: 4.005 MB / 0.9712 GB, free: 79.01 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001282/3.846, allocations: 105.1 kB / 0.9713 GB, free: 78.91 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0473/3.894, allocations: 23.99 MB / 0.9947 GB, free: 54.36 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002484/3.896, allocations: 2.963 MB / 0.9976 GB, free: 51.16 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04318/3.939, allocations: 15.69 MB / 1.013 GB, free: 35.45 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002598/3.942, allocations: 0.7038 MB / 1.014 GB, free: 34.73 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002884/3.945, allocations: 92.67 kB / 1.014 GB, free: 34.64 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008272/3.953, allocations: 321.2 kB / 1.014 GB, free: 34.33 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001744/3.955, allocations: 249.2 kB / 1.014 GB, free: 34.09 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005863/3.956, allocations: 103.9 kB / 1.014 GB, free: 33.99 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0122/3.968, allocations: 4.606 MB / 1.019 GB, free: 29.42 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.122e-06/3.968, allocations: 1.75 kB / 1.019 GB, free: 29.42 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01465/3.983, allocations: 2.128 MB / 1.021 GB, free: 27.3 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.4178/4.401, allocations: 16.72 MB / 1.037 GB, free: 113.6 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.03374/4.434, allocations: 11.55 MB / 1.049 GB, free: 112.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.167e-05/4.434, allocations: 4.062 kB / 1.049 GB, free: 112.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01456/4.449, allocations: 5.139 MB / 1.054 GB, free: 111.9 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009355/4.458, allocations: 0.9399 MB / 1.055 GB, free: 111.9 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07175/4.53, allocations: 18.73 MB / 1.073 GB, free: 108.8 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01588/4.546, allocations: 5.502 MB / 1.078 GB, free: 107.5 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01815/4.564, allocations: 3.179 MB / 1.081 GB, free: 107.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01039/4.575, allocations: 3.668 MB / 1.085 GB, free: 104.3 MB / 490.7 MB Notification: Performance of SimCode: time 1.603e-06/4.575, allocations: 4 kB / 1.085 GB, free: 104.3 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7516/5.326, allocations: 175 MB / 1.256 GB, free: 110.2 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002297/5.327, allocations: 213.2 kB / 1.256 GB, free: 110 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.841/15.17, allocations: 3.875 kB / 1.256 GB, free: 110 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects_res.mat does not exist to compare? outputFormat=mat