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.777/1.777, allocations: 171.2 MB / 183.8 MB, free: 12.02 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.964e-05/2.971e-05, allocations: 0 / 225.1 MB, free: 2.699 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2628/0.2629, allocations: 38.77 MB / 263.9 MB, free: 9.758 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1606/0.4236, allocations: 86.56 MB / 350.4 MB, free: 3.059 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003233/0.4239, allocations: 83.94 kB / 350.5 MB, free: 2.977 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5553/0.9793, allocations: 83.78 MB / 434.3 MB, free: 39.25 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.727e-06/0.9793, allocations: 0 / 434.3 MB, free: 39.25 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002376/0.9796, allocations: 83.94 kB / 434.4 MB, free: 39.17 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.0248/1.004, allocations: 4.479 MB / 438.8 MB, free: 34.62 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.751e-05/1.004, allocations: 12.02 kB / 438.8 MB, free: 34.61 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003195/1.008, allocations: 0.7745 MB / 439.6 MB, free: 33.83 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01702/1.025, allocations: 2.218 MB / 441.8 MB, free: 31.6 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01622/1.041, allocations: 4.454 MB / 446.3 MB, free: 27.08 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003489/1.041, allocations: 320.4 kB / 446.6 MB, free: 26.77 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002395/1.044, allocations: 427.8 kB / 447 MB, free: 26.35 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03086/1.075, allocations: 10.64 MB / 457.7 MB, free: 14.65 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002997/1.075, allocations: 59.41 kB / 457.7 MB, free: 14.59 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00228/1.077, allocations: 207.9 kB / 457.9 MB, free: 14.39 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002495/1.08, allocations: 0.9983 MB / 458.9 MB, free: 13.39 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02667/1.107, allocations: 8.655 MB / 467.6 MB, free: 4.715 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3577/1.464, allocations: 48.87 MB / 0.5043 GB, free: 41.02 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01831/1.483, allocations: 3.468 MB / 0.5077 GB, free: 40.36 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003637/1.486, allocations: 1.778 MB / 0.5095 GB, free: 40.32 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01116/1.498, allocations: 4.362 MB / 0.5137 GB, free: 39.08 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.425e-05/1.498, allocations: 45.31 kB / 0.5138 GB, free: 39.04 MB / 346.7 MB Notification: Performance of pre-optimization done (n=139): time 5.841e-06/1.498, allocations: 0 / 0.5138 GB, free: 39.04 MB / 346.7 MB Notification: Performance of matching and sorting (n=145): time 0.037/1.535, allocations: 9.726 MB / 0.5233 GB, free: 36.41 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.048e-05/1.535, allocations: 146.6 kB / 0.5234 GB, free: 36.25 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008612/1.544, allocations: 3.679 MB / 0.527 GB, free: 35.87 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004123/1.544, allocations: 49.91 kB / 0.527 GB, free: 35.84 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002822/1.547, allocations: 3.099 MB / 0.5301 GB, free: 34 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001007/1.548, allocations: 0.5842 MB / 0.5306 GB, free: 33.68 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007092/1.549, allocations: 116.8 kB / 0.5308 GB, free: 33.68 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000423/1.549, allocations: 0.5652 MB / 0.5313 GB, free: 33.36 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004953/1.554, allocations: 1.917 MB / 0.5332 GB, free: 33.34 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007517/1.562, allocations: 5.675 MB / 0.5387 GB, free: 28.41 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007494/1.569, allocations: 3.285 MB / 0.5419 GB, free: 28.02 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001853/1.569, allocations: 39.56 kB / 0.542 GB, free: 28.02 MB / 346.7 MB Notification: Performance of matching and sorting (n=768) (initialization): time 0.02261/1.592, allocations: 7.57 MB / 0.5494 GB, free: 26.2 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001166/1.592, allocations: 65.55 kB / 0.5494 GB, free: 26.2 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002182/1.592, allocations: 135.1 kB / 0.5496 GB, free: 26.2 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004547/1.597, allocations: 0.9252 MB / 0.5505 GB, free: 26.07 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00873/1.606, allocations: 1.376 MB / 0.5518 GB, free: 25.9 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009306/1.615, allocations: 4.775 MB / 0.5565 GB, free: 23.32 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007041/1.622, allocations: 333 kB / 0.5568 GB, free: 23.2 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001422/1.624, allocations: 375.5 kB / 0.5571 GB, free: 23.16 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.001673/1.625, allocations: 0.5643 MB / 0.5577 GB, free: 22.69 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009313/1.626, allocations: 352 kB / 0.558 GB, free: 22.5 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008908/1.635, allocations: 2.81 MB / 0.5608 GB, free: 20.83 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.644e-05/1.635, allocations: 16 kB / 0.5608 GB, free: 20.81 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.221e-05/1.635, allocations: 4 kB / 0.5608 GB, free: 20.81 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.709e-05/1.635, allocations: 11.36 kB / 0.5608 GB, free: 20.8 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02062/1.656, allocations: 6.946 MB / 0.5676 GB, free: 15.26 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.301e-05/1.656, allocations: 8 kB / 0.5676 GB, free: 15.25 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002467/1.659, allocations: 242.3 kB / 0.5678 GB, free: 15.06 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003705/1.662, allocations: 0.6974 MB / 0.5685 GB, free: 14.61 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000372/1.663, allocations: 29.02 kB / 0.5685 GB, free: 14.58 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008107/1.671, allocations: 4.327 MB / 0.5728 GB, free: 10.7 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/1.671, allocations: 4 kB / 0.5728 GB, free: 10.69 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01228/1.683, allocations: 5.088 MB / 0.5777 GB, free: 6.289 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002298/1.686, allocations: 0.6166 MB / 0.5783 GB, free: 5.699 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009344/1.687, allocations: 30.06 kB / 0.5784 GB, free: 5.672 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002846/1.689, allocations: 84.45 kB / 0.5784 GB, free: 5.617 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005232/1.69, allocations: 85.36 kB / 0.5785 GB, free: 5.566 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001661/1.69, allocations: 39.52 kB / 0.5786 GB, free: 5.531 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.006178/1.696, allocations: 2.567 MB / 0.5811 GB, free: 3.242 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.11e-07/1.696, allocations: 0 / 0.5811 GB, free: 3.242 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.007224/1.704, allocations: 0.9553 MB / 0.582 GB, free: 2.293 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.01776/1.722, allocations: 6.125 MB / 0.588 GB, free: 13.65 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01277/1.734, allocations: 4.459 MB / 0.5923 GB, free: 9.609 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.427e-06/1.734, allocations: 4.062 kB / 0.5923 GB, free: 9.605 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003495/1.738, allocations: 1.317 MB / 0.5936 GB, free: 8.414 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003667/1.742, allocations: 398.1 kB / 0.594 GB, free: 8.074 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03362/1.775, allocations: 8.993 MB / 0.6028 GB, free: 280 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008206/1.784, allocations: 3.312 MB / 0.606 GB, free: 12.95 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005358/1.789, allocations: 1.882 MB / 0.6079 GB, free: 11.07 MB / 378.7 MB Notification: Performance of SimCode: time 4.508e-06/1.789, allocations: 0 / 0.6079 GB, free: 11.07 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.526/6.315, allocations: 95.99 MB / 0.7016 GB, free: 77.9 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