Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.933/1.933, allocations: 171.2 MB / 183.8 MB, free: 12.02 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 5.262e-05/5.311e-05, allocations: 0 / 225.1 MB, free: 2.695 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2738/0.274, allocations: 38.77 MB / 263.8 MB, free: 9.855 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1579/0.4319, allocations: 86.56 MB / 350.4 MB, free: 3.156 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002817/0.4323, allocations: 79.95 kB / 350.5 MB, free: 3.078 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5591/0.9913, allocations: 83.77 MB / 434.2 MB, free: 39.47 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.9914, allocations: 0 / 434.2 MB, free: 39.47 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002672/0.9917, allocations: 80 kB / 434.3 MB, free: 39.39 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.02574/1.017, allocations: 4.482 MB / 438.8 MB, free: 34.85 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.831e-05/1.018, allocations: 12.03 kB / 438.8 MB, free: 34.84 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003088/1.021, allocations: 0.7705 MB / 439.6 MB, free: 34.05 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01723/1.038, allocations: 2.218 MB / 441.8 MB, free: 31.83 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01667/1.055, allocations: 4.446 MB / 446.2 MB, free: 27.32 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000375/1.055, allocations: 328.4 kB / 446.6 MB, free: 26.99 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0025/1.058, allocations: 427.8 kB / 447 MB, free: 26.57 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02938/1.087, allocations: 10.69 MB / 457.7 MB, free: 14.82 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002168/1.087, allocations: 59.41 kB / 457.7 MB, free: 14.76 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001003/1.088, allocations: 211.8 kB / 457.9 MB, free: 14.55 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002153/1.09, allocations: 0.9984 MB / 458.9 MB, free: 13.55 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02653/1.117, allocations: 8.837 MB / 467.8 MB, free: 4.684 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3544/1.471, allocations: 48.87 MB / 0.5045 GB, free: 41.48 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01832/1.49, allocations: 3.484 MB / 0.5079 GB, free: 40.82 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003825/1.494, allocations: 1.785 MB / 0.5097 GB, free: 40.79 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01126/1.505, allocations: 4.363 MB / 0.5139 GB, free: 39.54 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.826e-05/1.505, allocations: 45.34 kB / 0.514 GB, free: 39.5 MB / 346.7 MB Notification: Performance of pre-optimization done (n=139): time 5.27e-06/1.505, allocations: 0 / 0.514 GB, free: 39.5 MB / 346.7 MB Notification: Performance of matching and sorting (n=145): time 0.03764/1.543, allocations: 9.735 MB / 0.5235 GB, free: 36.87 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.707e-05/1.543, allocations: 144 kB / 0.5236 GB, free: 36.71 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008827/1.552, allocations: 3.675 MB / 0.5272 GB, free: 36.32 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003898/1.552, allocations: 48.02 kB / 0.5273 GB, free: 36.29 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002806/1.555, allocations: 3.104 MB / 0.5303 GB, free: 34.46 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001001/1.556, allocations: 0.5853 MB / 0.5309 GB, free: 34.15 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007524/1.557, allocations: 119.9 kB / 0.531 GB, free: 34.15 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0004166/1.557, allocations: 0.5612 MB / 0.5315 GB, free: 33.82 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004915/1.562, allocations: 1.916 MB / 0.5334 GB, free: 33.8 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007562/1.57, allocations: 5.705 MB / 0.539 GB, free: 28.87 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007599/1.577, allocations: 3.286 MB / 0.5422 GB, free: 28.76 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000155/1.578, allocations: 40.94 kB / 0.5422 GB, free: 28.76 MB / 346.7 MB Notification: Performance of matching and sorting (n=768) (initialization): time 0.02295/1.601, allocations: 7.945 MB / 0.55 GB, free: 26.71 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001263/1.601, allocations: 67.28 kB / 0.55 GB, free: 26.71 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002251/1.601, allocations: 135.3 kB / 0.5502 GB, free: 26.71 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004427/1.605, allocations: 0.92 MB / 0.5511 GB, free: 26.58 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008539/1.614, allocations: 1.38 MB / 0.5524 GB, free: 26.41 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00919/1.623, allocations: 4.778 MB / 0.5571 GB, free: 23.84 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007015/1.63, allocations: 324.9 kB / 0.5574 GB, free: 23.73 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001495/1.632, allocations: 376.7 kB / 0.5578 GB, free: 23.68 MB / 346.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.001836/1.634, allocations: 0.5685 MB / 0.5583 GB, free: 23.21 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009602/1.635, allocations: 355.8 kB / 0.5586 GB, free: 23.02 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009153/1.644, allocations: 2.799 MB / 0.5614 GB, free: 21.25 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.941e-05/1.644, allocations: 16 kB / 0.5614 GB, free: 21.23 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-05/1.644, allocations: 4 kB / 0.5614 GB, free: 21.23 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.605e-05/1.644, allocations: 9.766 kB / 0.5614 GB, free: 21.23 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02066/1.665, allocations: 6.956 MB / 0.5682 GB, free: 15.68 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-05/1.665, allocations: 0 / 0.5682 GB, free: 15.68 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002505/1.667, allocations: 252 kB / 0.5684 GB, free: 15.48 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003804/1.671, allocations: 0.6956 MB / 0.5691 GB, free: 15.03 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003986/1.672, allocations: 27 kB / 0.5691 GB, free: 15.01 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008167/1.68, allocations: 4.335 MB / 0.5734 GB, free: 11.11 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/1.68, allocations: 0 / 0.5734 GB, free: 11.11 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01245/1.692, allocations: 5.089 MB / 0.5783 GB, free: 6.707 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002476/1.695, allocations: 0.6078 MB / 0.5789 GB, free: 6.125 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001114/1.696, allocations: 35.28 kB / 0.579 GB, free: 6.094 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003026/1.699, allocations: 83.38 kB / 0.5791 GB, free: 6.039 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005795/1.7, allocations: 86.2 kB / 0.5791 GB, free: 5.992 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001611/1.7, allocations: 36 kB / 0.5792 GB, free: 5.957 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.00658/1.706, allocations: 2.56 MB / 0.5817 GB, free: 3.676 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.92e-07/1.707, allocations: 0 / 0.5817 GB, free: 3.676 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.006981/1.714, allocations: 0.9485 MB / 0.5826 GB, free: 2.73 MB / 346.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.01494/1.729, allocations: 5.96 MB / 0.5884 GB, free: 13.65 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01289/1.741, allocations: 4.654 MB / 0.593 GB, free: 9.418 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/1.742, allocations: 0 / 0.593 GB, free: 9.418 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00369/1.745, allocations: 1.326 MB / 0.5943 GB, free: 8.215 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003554/1.749, allocations: 408 kB / 0.5946 GB, free: 7.871 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0335/1.782, allocations: 9.002 MB / 0.6034 GB, free: 84 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01124/1.794, allocations: 3.427 MB / 0.6068 GB, free: 13.14 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005281/1.799, allocations: 1.886 MB / 0.6086 GB, free: 11.25 MB / 378.7 MB Notification: Performance of SimCode: time 1.833e-06/1.799, allocations: 0 / 0.6086 GB, free: 11.25 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.581/6.38, allocations: 96.95 MB / 0.7033 GB, free: 78.29 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.mat does not exist to compare? outputFormat=mat