Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.844/1.844, allocations: 194.9 MB / 208 MB, free: 3.188 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.167e-05/3.173e-05, allocations: 4 kB / 255.5 MB, free: 2.629 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1009, allocations: 44.51 MB / 300 MB, free: 6.055 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4352/0.5362, allocations: 92.28 MB / 392.2 MB, free: 12.78 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003105/0.5365, allocations: 84.97 kB / 392.3 MB, free: 12.78 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3401/0.8767, allocations: 83.81 MB / 476.1 MB, free: 7.41 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.414e-06/0.8767, allocations: 0 / 476.1 MB, free: 7.41 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002809/0.877, allocations: 80 kB / 476.2 MB, free: 7.332 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: 1525 * Number of variables: 1525 Notification: Performance of Generate backend data structure: time 0.02659/0.9036, allocations: 4.483 MB / 480.7 MB, free: 2.809 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.672e-05/0.9037, allocations: 8.031 kB / 480.7 MB, free: 2.801 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003821/0.9075, allocations: 0.7656 MB / 481.5 MB, free: 2.051 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0179/0.9255, allocations: 2.216 MB / 483.7 MB, free: 15.82 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01833/0.9439, allocations: 4.456 MB / 488.1 MB, free: 11.36 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004865/0.9444, allocations: 318.3 kB / 488.5 MB, free: 11.07 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002628/0.9471, allocations: 428.7 kB / 488.9 MB, free: 10.68 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03593/0.983, allocations: 10.7 MB / 499.6 MB, free: 15.01 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003009/0.9834, allocations: 59.41 kB / 499.6 MB, free: 14.95 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002066/0.9855, allocations: 211.1 kB / 499.8 MB, free: 14.77 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002726/0.9882, allocations: 0.9982 MB / 0.4891 GB, free: 13.77 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03078/1.019, allocations: 8.844 MB / 0.4977 GB, free: 4.91 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3566/1.376, allocations: 48.87 MB / 0.5454 GB, free: 54.88 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01887/1.395, allocations: 3.491 MB / 0.5489 GB, free: 54.21 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0036/1.398, allocations: 1.78 MB / 0.5506 GB, free: 54.17 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01011/1.408, allocations: 4.356 MB / 0.5548 GB, free: 52.85 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.671e-05/1.409, allocations: 48.81 kB / 0.5549 GB, free: 52.81 MB / 410.7 MB Notification: Performance of pre-optimization done (n=139): time 5.5e-06/1.409, allocations: 0 / 0.5549 GB, free: 52.81 MB / 410.7 MB Notification: Performance of matching and sorting (n=145): time 0.03379/1.442, allocations: 9.735 MB / 0.5644 GB, free: 50.18 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.765e-05/1.442, allocations: 144.6 kB / 0.5645 GB, free: 50.02 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00703/1.449, allocations: 3.667 MB / 0.5681 GB, free: 49.64 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003727/1.45, allocations: 42.8 kB / 0.5682 GB, free: 49.61 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002315/1.452, allocations: 3.186 MB / 0.5713 GB, free: 47.96 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008426/1.453, allocations: 0.5912 MB / 0.5719 GB, free: 47.65 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004371/1.454, allocations: 114.6 kB / 0.572 GB, free: 47.65 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003308/1.454, allocations: 0.5563 MB / 0.5725 GB, free: 47.33 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004157/1.458, allocations: 1.92 MB / 0.5744 GB, free: 47.31 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006595/1.465, allocations: 5.711 MB / 0.58 GB, free: 42.37 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006933/1.472, allocations: 3.276 MB / 0.5832 GB, free: 42.34 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001092/1.472, allocations: 47.58 kB / 0.5832 GB, free: 42.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=768) (initialization): time 0.02138/1.493, allocations: 8.071 MB / 0.5911 GB, free: 41.23 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001009/1.493, allocations: 61.66 kB / 0.5911 GB, free: 41.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001664/1.494, allocations: 141.4 kB / 0.5913 GB, free: 41.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003991/1.498, allocations: 0.909 MB / 0.5922 GB, free: 41.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007971/1.506, allocations: 1.379 MB / 0.5935 GB, free: 40.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008688/1.514, allocations: 4.763 MB / 0.5982 GB, free: 38.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006386/1.521, allocations: 336.5 kB / 0.5985 GB, free: 38.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001101/1.522, allocations: 377.9 kB / 0.5988 GB, free: 38.18 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 619 * Number of states: 0 () * Number of discrete variables: 33 (rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],bodyCylinder.frameTranslation.color[3],bodyCylinder.frameTranslation.color[2],bodyCylinder.frameTranslation.color[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (729): * Single equations (assignments): 725 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00115/1.523, allocations: 0.562 MB / 0.5994 GB, free: 37.71 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008047/1.524, allocations: 348.1 kB / 0.5997 GB, free: 37.52 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008288/1.532, allocations: 2.802 MB / 0.6025 GB, free: 36.57 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.504e-05/1.532, allocations: 23.58 kB / 0.6025 GB, free: 36.57 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.188e-05/1.532, allocations: 7.219 kB / 0.6025 GB, free: 36.57 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.219e-05/1.532, allocations: 6.234 kB / 0.6025 GB, free: 36.57 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01904/1.551, allocations: 6.955 MB / 0.6093 GB, free: 34.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-05/1.551, allocations: 0 / 0.6093 GB, free: 34.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002365/1.554, allocations: 241.2 kB / 0.6095 GB, free: 34.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003611/1.557, allocations: 0.6965 MB / 0.6102 GB, free: 33.98 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002392/1.558, allocations: 29.55 kB / 0.6102 GB, free: 33.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007738/1.565, allocations: 4.331 MB / 0.6145 GB, free: 31.51 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/1.566, allocations: 0 / 0.6145 GB, free: 31.51 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01146/1.577, allocations: 5.092 MB / 0.6194 GB, free: 29.41 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001989/1.579, allocations: 0.6106 MB / 0.62 GB, free: 29.03 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005628/1.58, allocations: 26.14 kB / 0.62 GB, free: 29.01 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002224/1.582, allocations: 85.66 kB / 0.6201 GB, free: 29 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003515/1.582, allocations: 84.7 kB / 0.6202 GB, free: 28.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001586/1.582, allocations: 43.89 kB / 0.6203 GB, free: 28.97 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.005146/1.588, allocations: 2.549 MB / 0.6227 GB, free: 27.03 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.31e-07/1.588, allocations: 0 / 0.6227 GB, free: 27.03 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006399/1.594, allocations: 0.9565 MB / 0.6237 GB, free: 26.07 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 110 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01242/1.606, allocations: 5.906 MB / 0.6294 GB, free: 20.86 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01032/1.617, allocations: 4.659 MB / 0.634 GB, free: 16.62 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.662e-06/1.617, allocations: 4.062 kB / 0.634 GB, free: 16.62 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002783/1.62, allocations: 1.329 MB / 0.6353 GB, free: 15.42 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003364/1.623, allocations: 398.8 kB / 0.6357 GB, free: 15.09 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02701/1.65, allocations: 8.532 MB / 0.644 GB, free: 7.684 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006103/1.656, allocations: 3.308 MB / 0.6472 GB, free: 5.172 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.007993/1.664, allocations: 1.864 MB / 0.6491 GB, free: 3.996 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004088/1.668, allocations: 1.846 MB / 0.6509 GB, free: 2.293 MB / 410.7 MB Notification: Performance of SimCode: time 1.513e-06/1.669, allocations: 0 / 0.6509 GB, free: 2.293 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4953/2.164, allocations: 74.34 MB / 0.7235 GB, free: 90.26 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002015/2.164, allocations: 194.9 kB / 0.7236 GB, free: 90.04 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.996/7.16, allocations: 0 / 0.7236 GB, free: 90.04 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.mat does not exist to compare? outputFormat=mat