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.957/1.957, allocations: 171.2 MB / 183.3 MB, free: 11.96 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.535e-05/3.556e-05, allocations: 4 kB / 225.1 MB, free: 2.133 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2618/0.2619, allocations: 38.77 MB / 263.9 MB, free: 9.809 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1701/0.4321, allocations: 86.73 MB / 350.6 MB, free: 2.945 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003369/0.4325, allocations: 83.95 kB / 350.7 MB, free: 2.863 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.824/1.256, allocations: 147.1 MB / 497.7 MB, free: 7.684 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.054e-06/1.257, allocations: 3.938 kB / 497.7 MB, free: 7.68 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0007198/1.257, allocations: 144 kB / 497.9 MB, free: 7.539 MB / 346.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.5909/1.848, allocations: 8.559 MB / 0.4946 GB, free: 36.8 MB / 346.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.336e-05/1.848, allocations: 9.5 kB / 0.4946 GB, free: 36.8 MB / 346.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006041/1.854, allocations: 1.154 MB / 0.4957 GB, free: 36.71 MB / 346.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1129/1.967, allocations: 16.69 MB / 0.512 GB, free: 36.2 MB / 346.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04777/2.015, allocations: 13.14 MB / 0.5248 GB, free: 35.66 MB / 346.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007005/2.016, allocations: 496 kB / 0.5253 GB, free: 35.64 MB / 346.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003691/2.02, allocations: 0.6707 MB / 0.526 GB, free: 35.62 MB / 346.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05517/2.075, allocations: 16.76 MB / 0.5423 GB, free: 31.54 MB / 346.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005702/2.075, allocations: 113.8 kB / 0.5424 GB, free: 31.53 MB / 346.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003306/2.079, allocations: 320.8 kB / 0.5427 GB, free: 31.53 MB / 346.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003754/2.083, allocations: 1.465 MB / 0.5442 GB, free: 31.51 MB / 346.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04648/2.129, allocations: 13.49 MB / 0.5573 GB, free: 29.51 MB / 346.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1304/2.26, allocations: 76.75 MB / 0.6323 GB, free: 9.953 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04814/2.308, allocations: 8.535 MB / 0.6406 GB, free: 3.016 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2889/2.597, allocations: 4.346 MB / 0.6449 GB, free: 80.36 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003192/2.6, allocations: 1.341 MB / 0.6462 GB, free: 79.23 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000102/2.6, allocations: 68.62 kB / 0.6462 GB, free: 79.2 MB / 394.8 MB Notification: Performance of pre-optimization done (n=268): time 8.165e-06/2.6, allocations: 0 / 0.6462 GB, free: 79.2 MB / 394.8 MB Notification: Performance of matching and sorting (n=354): time 0.255/2.855, allocations: 46.89 MB / 0.692 GB, free: 73.23 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002609/2.858, allocations: 3.219 MB / 0.6952 GB, free: 70.18 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01745/2.875, allocations: 6.496 MB / 0.7015 GB, free: 69.66 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001191/2.876, allocations: 76.3 kB / 0.7016 GB, free: 69.63 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.005713/2.882, allocations: 5.196 MB / 0.7067 GB, free: 67.3 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002667/2.885, allocations: 1.354 MB / 0.708 GB, free: 66.52 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001947/2.887, allocations: 185.5 kB / 0.7082 GB, free: 66.52 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 0.0008055/2.888, allocations: 0.7127 MB / 0.7089 GB, free: 66.2 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01122/2.899, allocations: 4.504 MB / 0.7133 GB, free: 65.65 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01514/2.914, allocations: 9.781 MB / 0.7228 GB, free: 57.02 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01492/2.929, allocations: 6.556 MB / 0.7292 GB, free: 54.91 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002139/2.929, allocations: 49.62 kB / 0.7293 GB, free: 54.91 MB / 394.8 MB Notification: Performance of matching and sorting (n=1237) (initialization): time 0.1279/3.057, allocations: 31.47 MB / 0.76 GB, free: 35.31 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.000142/3.058, allocations: 87.95 kB / 0.7601 GB, free: 35.23 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.08894/3.147, allocations: 20.64 MB / 0.7802 GB, free: 15.4 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.3819/3.529, allocations: 16.59 MB / 0.7964 GB, free: 65.09 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01389/3.543, allocations: 2.12 MB / 0.7985 GB, free: 65.09 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07833/3.621, allocations: 33.32 MB / 0.831 GB, free: 59.89 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01452/3.635, allocations: 0.7741 MB / 0.8318 GB, free: 59.89 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002741/3.638, allocations: 0.56 MB / 0.8323 GB, free: 59.89 MB / 394.8 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.004671/3.643, allocations: 0.8093 MB / 0.8331 GB, free: 59.78 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00232/3.645, allocations: 0.67 MB / 0.8338 GB, free: 59.78 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03569/3.681, allocations: 10.23 MB / 0.8438 GB, free: 57.17 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03037/3.712, allocations: 8.938 MB / 0.8525 GB, free: 54.19 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.47e-05/3.712, allocations: 17.59 kB / 0.8525 GB, free: 54.19 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001068/3.712, allocations: 14.02 kB / 0.8525 GB, free: 54.19 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07456/3.786, allocations: 23.54 MB / 0.8755 GB, free: 44.7 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.364e-05/3.786, allocations: 3.188 kB / 0.8755 GB, free: 44.7 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005828/3.792, allocations: 0.5634 MB / 0.8761 GB, free: 44.29 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02392/3.816, allocations: 4.007 MB / 0.88 GB, free: 41.66 MB / 394.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001234/3.818, allocations: 105.4 kB / 0.8801 GB, free: 41.58 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04567/3.863, allocations: 24 MB / 0.9035 GB, free: 18.8 MB / 394.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002318/3.866, allocations: 2.964 MB / 0.9064 GB, free: 15.59 MB / 394.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04296/3.909, allocations: 15.7 MB / 0.9217 GB, free: 148 kB / 394.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.3002/4.209, allocations: 1.384 MB / 0.9231 GB, free: 80.16 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00283/4.212, allocations: 85.39 kB / 0.9232 GB, free: 80.16 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008625/4.22, allocations: 330.9 kB / 0.9235 GB, free: 80.16 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001998/4.222, allocations: 247.2 kB / 0.9237 GB, free: 80.16 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007504/4.223, allocations: 96.89 kB / 0.9238 GB, free: 80.16 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.01327/4.237, allocations: 4.643 MB / 0.9284 GB, free: 79.91 MB / 410.8 MB Notification: Performance of sort global known variables: time 8.61e-07/4.237, allocations: 0 / 0.9284 GB, free: 79.91 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.01553/4.252, allocations: 2.131 MB / 0.9304 GB, free: 79.91 MB / 410.8 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.04547/4.298, allocations: 16.72 MB / 0.9468 GB, free: 77.87 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.02882/4.327, allocations: 11.87 MB / 0.9584 GB, free: 77.1 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.028e-05/4.327, allocations: 3.531 kB / 0.9584 GB, free: 77.1 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01283/4.34, allocations: 5.212 MB / 0.9634 GB, free: 76.14 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008829/4.348, allocations: 0.9378 MB / 0.9644 GB, free: 76.1 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06653/4.415, allocations: 18.8 MB / 0.9827 GB, free: 70.24 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01363/4.429, allocations: 5.515 MB / 0.9881 GB, free: 68.52 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.01623/4.445, allocations: 3.179 MB / 0.9912 GB, free: 68.33 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01004/4.455, allocations: 3.666 MB / 0.9948 GB, free: 65.34 MB / 410.8 MB Notification: Performance of SimCode: time 1.723e-06/4.455, allocations: 0 / 0.9948 GB, free: 65.34 MB / 410.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7039/5.159, allocations: 176.2 MB / 1.167 GB, free: 40.05 MB / 410.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002242/5.159, allocations: 218.8 kB / 1.167 GB, free: 39.83 MB / 410.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.165/14.32, allocations: 4 kB / 1.167 GB, free: 39.83 MB / 410.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