Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.988/1.988, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.126e-05/3.129e-05, allocations: 0 / 292.2 MB, free: 8.234 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1087, allocations: 50.41 MB / 342.6 MB, free: 5.797 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4799/0.5886, allocations: 99.42 MB / 442.1 MB, free: 11.05 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003247/0.589, allocations: 86.77 kB / 442.2 MB, free: 11 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3646/0.9536, allocations: 81.81 MB / 0.5117 GB, free: 12.88 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.554e-06/0.9537, allocations: 0 / 0.5117 GB, free: 12.88 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003447/0.954, allocations: 87.92 kB / 0.5118 GB, free: 12.79 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: 1442 * Number of variables: 1442 Notification: Performance of Generate backend data structure: time 0.02804/0.9821, allocations: 4.328 MB / 0.516 GB, free: 8.398 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.475e-05/0.9822, allocations: 8.031 kB / 0.516 GB, free: 8.391 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004042/0.9862, allocations: 0.7333 MB / 0.5167 GB, free: 7.648 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01852/1.005, allocations: 2.182 MB / 0.5188 GB, free: 5.457 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01894/1.024, allocations: 4.225 MB / 0.523 GB, free: 1.168 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005192/1.024, allocations: 304 kB / 0.5233 GB, free: 0.8672 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002855/1.027, allocations: 407.8 kB / 0.5237 GB, free: 480 kB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3638/1.391, allocations: 10.2 MB / 0.5336 GB, free: 97.45 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004754/1.392, allocations: 59.88 kB / 0.5337 GB, free: 97.45 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002652/1.394, allocations: 198.6 kB / 0.5339 GB, free: 97.45 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003028/1.397, allocations: 0.9344 MB / 0.5348 GB, free: 97.44 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03023/1.428, allocations: 8.251 MB / 0.5428 GB, free: 97.43 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07235/1.5, allocations: 47.36 MB / 0.5891 GB, free: 64.94 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01806/1.518, allocations: 3.228 MB / 0.5922 GB, free: 63.65 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003376/1.522, allocations: 1.608 MB / 0.5938 GB, free: 62.98 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01024/1.532, allocations: 4.056 MB / 0.5978 GB, free: 60.73 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.851e-05/1.532, allocations: 46.84 kB / 0.5978 GB, free: 60.68 MB / 442.7 MB Notification: Performance of pre-optimization done (n=118): time 5.831e-06/1.532, allocations: 0 / 0.5978 GB, free: 60.68 MB / 442.7 MB Notification: Performance of matching and sorting (n=124): time 0.03669/1.569, allocations: 8.87 MB / 0.6065 GB, free: 57.02 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.585e-05/1.569, allocations: 142.3 kB / 0.6066 GB, free: 56.86 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009284/1.578, allocations: 3.601 MB / 0.6101 GB, free: 55.56 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003666/1.579, allocations: 42.41 kB / 0.6102 GB, free: 55.52 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002926/1.582, allocations: 3.081 MB / 0.6132 GB, free: 53.18 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009318/1.583, allocations: 0.5149 MB / 0.6137 GB, free: 52.82 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007428/1.583, allocations: 111 kB / 0.6138 GB, free: 52.73 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0004651/1.584, allocations: 0.5452 MB / 0.6143 GB, free: 52.32 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00466/1.589, allocations: 1.763 MB / 0.616 GB, free: 51.75 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007158/1.596, allocations: 5.415 MB / 0.6213 GB, free: 46.13 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00695/1.603, allocations: 3.082 MB / 0.6243 GB, free: 44.99 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001572/1.603, allocations: 38.22 kB / 0.6244 GB, free: 44.99 MB / 442.7 MB Notification: Performance of matching and sorting (n=733) (initialization): time 0.02221/1.625, allocations: 7.281 MB / 0.6315 GB, free: 41.61 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001107/1.625, allocations: 60 kB / 0.6315 GB, free: 41.55 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002006/1.626, allocations: 136.8 kB / 0.6317 GB, free: 41.42 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004358/1.63, allocations: 0.9072 MB / 0.6326 GB, free: 40.75 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008007/1.638, allocations: 1.315 MB / 0.6338 GB, free: 39.61 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009554/1.648, allocations: 4.762 MB / 0.6385 GB, free: 35.36 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006786/1.654, allocations: 315 kB / 0.6388 GB, free: 35.07 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001465/1.656, allocations: 362.9 kB / 0.6391 GB, free: 34.73 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 605 * Number of states: 0 () * Number of discrete variables: 38 (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.torqueArrow.arrowLine.twoHeadedArrow,torque.torqueArrow.headAtOrigin,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.groundColor[3],world.groundColor[2],world.groundColor[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 (694): * Single equations (assignments): 690 * 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.002213/1.658, allocations: 0.5474 MB / 0.6397 GB, free: 34.18 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009749/1.659, allocations: 331.7 kB / 0.64 GB, free: 33.85 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008637/1.668, allocations: 2.445 MB / 0.6424 GB, free: 31.95 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.769e-05/1.668, allocations: 17.48 kB / 0.6424 GB, free: 31.93 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.275e-05/1.668, allocations: 11.94 kB / 0.6424 GB, free: 31.92 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.102e-05/1.668, allocations: 7.641 kB / 0.6424 GB, free: 31.92 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02153/1.69, allocations: 6.276 MB / 0.6485 GB, free: 26.92 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.66e-05/1.69, allocations: 0 / 0.6485 GB, free: 26.92 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002108/1.692, allocations: 195.3 kB / 0.6487 GB, free: 26.77 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003913/1.696, allocations: 0.6992 MB / 0.6494 GB, free: 26.31 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003689/1.696, allocations: 27.23 kB / 0.6494 GB, free: 26.29 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008575/1.705, allocations: 4.331 MB / 0.6537 GB, free: 22.4 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/1.705, allocations: 4 kB / 0.6537 GB, free: 22.39 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01186/1.717, allocations: 4.526 MB / 0.6581 GB, free: 18.5 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001386/1.718, allocations: 393.9 kB / 0.6585 GB, free: 18.11 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001376/1.72, allocations: 20.94 kB / 0.6585 GB, free: 18.09 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003083/1.723, allocations: 79.8 kB / 0.6586 GB, free: 18.04 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000583/1.723, allocations: 64.97 kB / 0.6586 GB, free: 17.99 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001511/1.724, allocations: 35.47 kB / 0.6587 GB, free: 17.96 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00712/1.731, allocations: 2.5 MB / 0.6611 GB, free: 15.73 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.82e-07/1.731, allocations: 0 / 0.6611 GB, free: 15.73 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007437/1.738, allocations: 0.9043 MB / 0.662 GB, free: 14.83 MB / 442.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 (92): * Single equations (assignments): 88 * 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.01275/1.751, allocations: 5.341 MB / 0.6672 GB, free: 10.14 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01025/1.761, allocations: 4.096 MB / 0.6712 GB, free: 6.441 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.306e-06/1.761, allocations: 0 / 0.6712 GB, free: 6.441 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00282/1.764, allocations: 1.135 MB / 0.6723 GB, free: 5.41 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003894/1.768, allocations: 398.8 kB / 0.6727 GB, free: 5.074 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03112/1.799, allocations: 8.005 MB / 0.6805 GB, free: 13.82 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008694/1.808, allocations: 3.175 MB / 0.6836 GB, free: 10.62 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.009468/1.818, allocations: 1.795 MB / 0.6854 GB, free: 8.828 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005239/1.823, allocations: 1.741 MB / 0.6871 GB, free: 7.086 MB / 458.7 MB Notification: Performance of SimCode: time 1.843e-06/1.823, allocations: 4 kB / 0.6871 GB, free: 7.082 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.524/2.347, allocations: 70.48 MB / 0.7559 GB, free: 93.87 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003038/2.348, allocations: 194.2 kB / 0.7561 GB, free: 93.64 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.319/7.667, allocations: 7.938 kB / 0.7561 GB, free: 93.64 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.mat does not exist to compare? outputFormat=mat