Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_GyroscopicEffects",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.292/2.292, allocations: 195 MB / 202.9 MB, free: 6.719 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.319e-05/3.301e-05, allocations: 1.281 kB / 249.8 MB, free: 5.281 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1174, allocations: 44.51 MB / 294.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5197/0.6372, allocations: 91.82 MB / 386.1 MB, free: 4.539 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003567/0.6376, allocations: 85.97 kB / 386.2 MB, free: 4.523 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.163/1.801, allocations: 144.1 MB / 0.5179 GB, free: 64.27 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.445e-06/1.801, allocations: 0.9844 kB / 0.5179 GB, free: 64.27 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0007715/1.802, allocations: 143.1 kB / 0.5181 GB, free: 64.27 MB / 394.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.06407/1.866, allocations: 8.553 MB / 0.5264 GB, free: 61.45 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.794e-05/1.866, allocations: 13.84 kB / 0.5264 GB, free: 61.45 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1386/2.005, allocations: 16.69 MB / 0.5427 GB, free: 60.94 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05698/2.062, allocations: 13.12 MB / 0.5555 GB, free: 59.79 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000513/2.062, allocations: 213.8 kB / 0.5557 GB, free: 59.79 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004206/2.067, allocations: 414.9 kB / 0.5561 GB, free: 59.77 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04706/2.114, allocations: 9.003 MB / 0.5649 GB, free: 59.73 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0739/2.188, allocations: 14.13 MB / 0.5787 GB, free: 49.79 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008113/2.189, allocations: 105.8 kB / 0.5788 GB, free: 49.73 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003816/2.192, allocations: 55.94 kB / 0.5789 GB, free: 49.68 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004772/2.197, allocations: 1.473 MB / 0.5803 GB, free: 48.46 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5802/2.778, allocations: 74.52 MB / 0.6531 GB, free: 45.96 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0134/2.791, allocations: 5.361 MB / 0.6583 GB, free: 45.28 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009085/2.8, allocations: 4.025 MB / 0.6622 GB, free: 45.24 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003328/2.804, allocations: 1.342 MB / 0.6636 GB, free: 44.11 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.268e-05/2.804, allocations: 64.88 kB / 0.6636 GB, free: 44.07 MB / 426.7 MB Notification: Performance of pre-optimization done (n=268): time 8.066e-06/2.804, allocations: 2.438 kB / 0.6636 GB, free: 44.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=349): time 0.22/3.024, allocations: 44.78 MB / 0.7073 GB, free: 37.46 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001362/3.024, allocations: 295 kB / 0.7076 GB, free: 37.14 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01546/3.039, allocations: 5.64 MB / 0.7131 GB, free: 35.19 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00119/3.041, allocations: 25.7 kB / 0.7132 GB, free: 35.16 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006039/3.047, allocations: 5.262 MB / 0.7183 GB, free: 31.51 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003033/3.05, allocations: 1.292 MB / 0.7196 GB, free: 30.55 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002106/3.052, allocations: 0 / 0.7196 GB, free: 30.55 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.001093/3.053, allocations: 0.7109 MB / 0.7203 GB, free: 30.08 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01229/3.065, allocations: 4.284 MB / 0.7244 GB, free: 28.49 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01587/3.081, allocations: 9.657 MB / 0.7339 GB, free: 19.7 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01662/3.098, allocations: 6.328 MB / 0.74 GB, free: 17.64 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000259/3.098, allocations: 58.47 kB / 0.7401 GB, free: 17.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=1256) (initialization): time 0.163/3.261, allocations: 30.17 MB / 0.7696 GB, free: 13.88 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002209/3.262, allocations: 88 kB / 0.7697 GB, free: 13.79 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1307/3.392, allocations: 20.26 MB / 0.7894 GB, free: 11.88 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.112/3.504, allocations: 16.52 MB / 0.8056 GB, free: 11.35 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0173/3.522, allocations: 2.152 MB / 0.8077 GB, free: 9.191 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5196/4.041, allocations: 31.47 MB / 0.8384 GB, free: 134.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01755/4.059, allocations: 0.5903 MB / 0.839 GB, free: 134.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003333/4.062, allocations: 0.5736 MB / 0.8395 GB, free: 134.8 MB / 490.7 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.005002/4.067, allocations: 0.5847 MB / 0.8401 GB, free: 134.7 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.04136/4.109, allocations: 9.675 MB / 0.8496 GB, free: 134.4 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002928/4.112, allocations: 0.6244 MB / 0.8502 GB, free: 134.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03953/4.151, allocations: 9.734 MB / 0.8597 GB, free: 133.9 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03343/4.185, allocations: 8.563 MB / 0.868 GB, free: 133.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-05/4.185, allocations: 17.38 kB / 0.8681 GB, free: 133.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001358/4.185, allocations: 15.19 kB / 0.8681 GB, free: 133.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08474/4.27, allocations: 22.21 MB / 0.8898 GB, free: 127.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.968e-05/4.27, allocations: 0 / 0.8898 GB, free: 127.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006977/4.277, allocations: 0.5561 MB / 0.8903 GB, free: 127.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02921/4.306, allocations: 3.965 MB / 0.8942 GB, free: 126.9 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001357/4.308, allocations: 52.23 kB / 0.8942 GB, free: 126.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05455/4.362, allocations: 22.76 MB / 0.9165 GB, free: 113.7 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002745/4.365, allocations: 2.836 MB / 0.9192 GB, free: 111 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04898/4.414, allocations: 15.07 MB / 0.9339 GB, free: 104.9 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006205/4.42, allocations: 1.301 MB / 0.9352 GB, free: 104.1 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003562/4.424, allocations: 35.77 kB / 0.9352 GB, free: 104.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009039/4.433, allocations: 270.9 kB / 0.9355 GB, free: 104.1 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002079/4.435, allocations: 249.9 kB / 0.9357 GB, free: 104.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001104/4.436, allocations: 104.3 kB / 0.9358 GB, free: 104.1 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.01214/4.449, allocations: 3.884 MB / 0.9396 GB, free: 101 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.523e-06/4.449, allocations: 0 / 0.9396 GB, free: 101 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0166/4.465, allocations: 1.9 MB / 0.9415 GB, free: 99.11 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 16 ($STATESET140553576133001.x[3],$STATESET140553576133001.x[2],$STATESET140553576133001.x[1],rotor1D.phi,rotor1D.w,rotor1D.rotorWith3DEffects.w_a[1],rotor1D.rotorWith3DEffects.w_a[2],rotor1D.rotorWith3DEffects.w_a[3],$STATESET140553576133000.x[3],$STATESET140553576133000.x[2],$STATESET140553576133000.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.04851/4.514, allocations: 16.06 MB / 0.9572 GB, free: 85.25 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0299/4.544, allocations: 11.3 MB / 0.9682 GB, free: 75.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.143e-05/4.544, allocations: 0 / 0.9682 GB, free: 75.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01376/4.558, allocations: 4.981 MB / 0.9731 GB, free: 71.09 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009146/4.567, allocations: 0.8024 MB / 0.9739 GB, free: 70.43 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07948/4.646, allocations: 18.17 MB / 0.9916 GB, free: 54.34 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01657/4.663, allocations: 5.497 MB / 0.997 GB, free: 48.84 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.02017/4.683, allocations: 3.146 MB / 1 GB, free: 45.72 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0124/4.696, allocations: 3.639 MB / 1.004 GB, free: 42.08 MB / 490.7 MB Notification: Performance of SimCode: time 2.715e-06/4.696, allocations: 0 / 1.004 GB, free: 42.08 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8395/5.535, allocations: 164 MB / 1.164 GB, free: 52.23 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003061/5.536, allocations: 173.3 kB / 1.164 GB, free: 52.04 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 10.47/16.01, allocations: 0 / 1.164 GB, free: 52.04 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects_res.mat does not exist to compare? outputFormat=mat