Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GyroscopicEffects",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.71/1.71, allocations: 171.2 MB / 178.4 MB, free: 172 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 3.508e-05/3.511e-05, allocations: 4 kB / 219.6 MB, free: 6.941 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2849/0.285, allocations: 38.76 MB / 258.3 MB, free: 12.2 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.15/0.435, allocations: 86.07 MB / 344.4 MB, free: 7.684 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003144/0.4354, allocations: 83.95 kB / 344.5 MB, free: 7.602 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8018/1.237, allocations: 144.1 MB / 488.6 MB, free: 2.734 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.484e-06/1.237, allocations: 4 kB / 488.6 MB, free: 2.73 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0007109/1.238, allocations: 144 kB / 488.8 MB, free: 2.59 MB / 330.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.0581/1.296, allocations: 8.561 MB / 497.3 MB, free: 9.949 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.175e-05/1.296, allocations: 12.03 kB / 497.3 MB, free: 9.938 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.6285/1.925, allocations: 16.68 MB / 0.502 GB, free: 43.07 MB / 346.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04586/1.971, allocations: 13.12 MB / 0.5148 GB, free: 42.57 MB / 346.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004157/1.971, allocations: 219.3 kB / 0.515 GB, free: 42.57 MB / 346.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003434/1.975, allocations: 411 kB / 0.5154 GB, free: 42.56 MB / 346.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.023/1.998, allocations: 9.004 MB / 0.5242 GB, free: 42.52 MB / 346.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03547/2.033, allocations: 14.13 MB / 0.538 GB, free: 38.47 MB / 346.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004962/2.034, allocations: 107.5 kB / 0.5381 GB, free: 38.46 MB / 346.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002511/2.036, allocations: 46.53 kB / 0.5381 GB, free: 38.46 MB / 346.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00367/2.04, allocations: 1.474 MB / 0.5396 GB, free: 38.44 MB / 346.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1289/2.169, allocations: 74.53 MB / 0.6123 GB, free: 1.387 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03077/2.2, allocations: 5.935 MB / 0.6181 GB, free: 13.89 MB / 378.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01136/2.211, allocations: 4.024 MB / 0.6221 GB, free: 10.22 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003098/2.214, allocations: 1.352 MB / 0.6234 GB, free: 8.777 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.95e-05/2.214, allocations: 60.03 kB / 0.6234 GB, free: 8.715 MB / 378.8 MB Notification: Performance of pre-optimization done (n=268): time 7.374e-06/2.214, allocations: 0 / 0.6234 GB, free: 8.715 MB / 378.8 MB Notification: Performance of matching and sorting (n=349): time 0.455/2.669, allocations: 45.32 MB / 0.6677 GB, free: 66.85 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001163/2.67, allocations: 294 kB / 0.668 GB, free: 66.54 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01481/2.684, allocations: 5.652 MB / 0.6735 GB, free: 66.04 MB / 378.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001224/2.686, allocations: 25.7 kB / 0.6735 GB, free: 66.01 MB / 378.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.005886/2.692, allocations: 5.252 MB / 0.6787 GB, free: 63.47 MB / 378.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002492/2.694, allocations: 1.291 MB / 0.6799 GB, free: 62.71 MB / 378.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001823/2.696, allocations: 2.125 kB / 0.6799 GB, free: 62.71 MB / 378.8 MB Notification: Performance of setup shared object (initialization): time 0.0009137/2.697, allocations: 0.7199 MB / 0.6806 GB, free: 62.38 MB / 378.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009976/2.707, allocations: 4.285 MB / 0.6848 GB, free: 62.36 MB / 378.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01407/2.721, allocations: 9.646 MB / 0.6942 GB, free: 55.45 MB / 378.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01378/2.735, allocations: 6.333 MB / 0.7004 GB, free: 53.8 MB / 378.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000263/2.735, allocations: 54.19 kB / 0.7005 GB, free: 53.8 MB / 378.8 MB Notification: Performance of matching and sorting (n=1256) (initialization): time 0.1396/2.875, allocations: 30.17 MB / 0.7299 GB, free: 42.8 MB / 378.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001645/2.875, allocations: 84 kB / 0.73 GB, free: 42.72 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.08646/2.962, allocations: 20.26 MB / 0.7498 GB, free: 26.92 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.08801/3.05, allocations: 16.53 MB / 0.7659 GB, free: 10.35 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01365/3.063, allocations: 2.156 MB / 0.768 GB, free: 8.188 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3514/3.415, allocations: 31.45 MB / 0.7987 GB, free: 55.83 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01394/3.429, allocations: 0.5889 MB / 0.7993 GB, free: 55.83 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002833/3.432, allocations: 0.5699 MB / 0.7999 GB, free: 55.83 MB / 378.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.004395/3.436, allocations: 0.5898 MB / 0.8005 GB, free: 55.72 MB / 378.8 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03127/3.467, allocations: 9.674 MB / 0.8099 GB, free: 55.33 MB / 378.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00276/3.47, allocations: 0.628 MB / 0.8105 GB, free: 55.33 MB / 378.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03283/3.503, allocations: 9.739 MB / 0.82 GB, free: 52.73 MB / 378.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02811/3.531, allocations: 8.549 MB / 0.8284 GB, free: 49.92 MB / 378.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.856e-05/3.531, allocations: 17.09 kB / 0.8284 GB, free: 49.92 MB / 378.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001275/3.532, allocations: 27.53 kB / 0.8284 GB, free: 49.92 MB / 378.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06876/3.6, allocations: 22.2 MB / 0.8501 GB, free: 41.82 MB / 378.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.559e-05/3.6, allocations: 2.562 kB / 0.8501 GB, free: 41.82 MB / 378.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005724/3.606, allocations: 0.5515 MB / 0.8506 GB, free: 41.8 MB / 378.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02351/3.63, allocations: 3.956 MB / 0.8545 GB, free: 41.11 MB / 378.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0011/3.631, allocations: 53.36 kB / 0.8546 GB, free: 41.1 MB / 378.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04343/3.674, allocations: 22.77 MB / 0.8768 GB, free: 20.77 MB / 378.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002232/3.677, allocations: 2.846 MB / 0.8796 GB, free: 17.81 MB / 378.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04013/3.717, allocations: 15.07 MB / 0.8943 GB, free: 4.879 MB / 378.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005548/3.722, allocations: 1.308 MB / 0.8956 GB, free: 3.668 MB / 378.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003155/3.726, allocations: 31.03 kB / 0.8956 GB, free: 3.645 MB / 378.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007747/3.733, allocations: 267.2 kB / 0.8959 GB, free: 3.508 MB / 378.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001832/3.735, allocations: 256.4 kB / 0.8961 GB, free: 3.359 MB / 378.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008294/3.736, allocations: 101.2 kB / 0.8962 GB, free: 3.277 MB / 378.8 MB Notification: Performance of sorting global known variables: time 0.01099/3.747, allocations: 3.911 MB / 0.9 GB, free: 0 / 378.8 MB Notification: Performance of sort global known variables: time 1.152e-06/3.747, allocations: 336 / 0.9 GB, free: 0 / 378.8 MB Notification: Performance of remove unused functions: time 0.016/3.763, allocations: 1.917 MB / 0.9019 GB, free: 14.14 MB / 394.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 16 ($STATESET139837475660169.x[3],$STATESET139837475660169.x[2],$STATESET139837475660169.x[1],rotor1D.phi,rotor1D.w,rotor1D.rotorWith3DEffects.w_a[1],rotor1D.rotorWith3DEffects.w_a[2],rotor1D.rotorWith3DEffects.w_a[3],$STATESET139837475660168.x[3],$STATESET139837475660168.x[2],$STATESET139837475660168.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.3795/4.143, allocations: 16.06 MB / 0.9176 GB, free: 72.71 MB / 394.8 MB Notification: Performance of simCode: created initialization part: time 0.02766/4.171, allocations: 11.29 MB / 0.9286 GB, free: 71.96 MB / 394.8 MB Notification: Performance of simCode: created event and clocks part: time 1.153e-05/4.171, allocations: 4.375 kB / 0.9286 GB, free: 71.96 MB / 394.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01367/4.184, allocations: 4.972 MB / 0.9335 GB, free: 71.05 MB / 394.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.012/4.196, allocations: 0.7969 MB / 0.9342 GB, free: 71.02 MB / 394.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08672/4.283, allocations: 18.17 MB / 0.952 GB, free: 67.93 MB / 394.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01458/4.298, allocations: 5.504 MB / 0.9574 GB, free: 67.05 MB / 394.8 MB Notification: Performance of simCode: alias equations: time 0.01672/4.315, allocations: 3.15 MB / 0.9604 GB, free: 66.83 MB / 394.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01009/4.325, allocations: 3.641 MB / 0.964 GB, free: 64.82 MB / 394.8 MB Notification: Performance of SimCode: time 2.034e-06/4.325, allocations: 0 / 0.964 GB, free: 64.82 MB / 394.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6693/4.994, allocations: 163.9 MB / 1.124 GB, free: 56.58 MB / 394.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002971/4.994, allocations: 170.3 kB / 1.124 GB, free: 56.39 MB / 394.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.997/13.99, allocations: 0 / 1.124 GB, free: 56.39 MB / 394.8 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects_res.mat does not exist to compare? outputFormat=mat