Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.015/2.015, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.657e-05/3.667e-05, allocations: 6.812 kB / 292.7 MB, free: 8.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1073, allocations: 50.42 MB / 343.2 MB, free: 5.812 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4825/0.5899, allocations: 99.44 MB / 442.6 MB, free: 10.68 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000323/0.5903, allocations: 89.81 kB / 442.7 MB, free: 10.64 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3538/0.9441, allocations: 81.81 MB / 0.5122 GB, free: 12.79 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.916e-06/0.9442, allocations: 3.938 kB / 0.5122 GB, free: 12.79 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004817/0.9447, allocations: 80 kB / 0.5123 GB, free: 12.71 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.03892/0.9836, allocations: 4.328 MB / 0.5165 GB, free: 8.316 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.242e-05/0.9837, allocations: 15.97 kB / 0.5165 GB, free: 8.301 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004625/0.9884, allocations: 0.7294 MB / 0.5172 GB, free: 7.562 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02816/1.017, allocations: 2.171 MB / 0.5194 GB, free: 5.383 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02313/1.04, allocations: 4.241 MB / 0.5235 GB, free: 1.078 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004641/1.04, allocations: 304 kB / 0.5238 GB, free: 0.7773 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002437/1.043, allocations: 403.8 kB / 0.5242 GB, free: 392 kB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.351/1.394, allocations: 10.2 MB / 0.5341 GB, free: 97.22 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003542/1.394, allocations: 54.23 kB / 0.5342 GB, free: 97.22 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002075/1.396, allocations: 200.5 kB / 0.5344 GB, free: 97.22 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002799/1.399, allocations: 0.9357 MB / 0.5353 GB, free: 97.21 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02882/1.428, allocations: 8.253 MB / 0.5434 GB, free: 97.2 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07731/1.505, allocations: 47.36 MB / 0.5896 GB, free: 64.93 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01751/1.523, allocations: 3.22 MB / 0.5927 GB, free: 63.64 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0031/1.526, allocations: 1.611 MB / 0.5943 GB, free: 62.97 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008756/1.535, allocations: 4.058 MB / 0.5983 GB, free: 60.71 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.356e-05/1.535, allocations: 46.84 kB / 0.5983 GB, free: 60.66 MB / 442.7 MB Notification: Performance of pre-optimization done (n=118): time 5.07e-06/1.535, allocations: 0 / 0.5983 GB, free: 60.66 MB / 442.7 MB Notification: Performance of matching and sorting (n=124): time 0.03726/1.572, allocations: 8.876 MB / 0.607 GB, free: 57 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.914e-05/1.572, allocations: 139.4 kB / 0.6071 GB, free: 56.85 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006725/1.579, allocations: 3.603 MB / 0.6106 GB, free: 55.55 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003084/1.579, allocations: 44.5 kB / 0.6107 GB, free: 55.51 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002203/1.582, allocations: 3.07 MB / 0.6137 GB, free: 53.17 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006752/1.582, allocations: 0.5209 MB / 0.6142 GB, free: 52.81 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003997/1.583, allocations: 113.4 kB / 0.6143 GB, free: 52.72 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003274/1.583, allocations: 0.5419 MB / 0.6148 GB, free: 52.32 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004167/1.587, allocations: 1.762 MB / 0.6166 GB, free: 51.74 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006424/1.594, allocations: 5.417 MB / 0.6218 GB, free: 46.11 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00656/1.6, allocations: 3.073 MB / 0.6248 GB, free: 44.97 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.75e-05/1.601, allocations: 36.91 kB / 0.6249 GB, free: 44.97 MB / 442.7 MB Notification: Performance of matching and sorting (n=733) (initialization): time 0.02093/1.622, allocations: 7.292 MB / 0.632 GB, free: 41.49 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.689e-05/1.622, allocations: 60 kB / 0.6321 GB, free: 41.43 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001588/1.622, allocations: 136 kB / 0.6322 GB, free: 41.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004168/1.626, allocations: 0.9068 MB / 0.6331 GB, free: 40.64 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007957/1.634, allocations: 1.31 MB / 0.6344 GB, free: 39.49 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009072/1.643, allocations: 4.778 MB / 0.639 GB, free: 35.23 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006633/1.65, allocations: 303.3 kB / 0.6393 GB, free: 34.96 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001091/1.651, allocations: 362.9 kB / 0.6397 GB, free: 34.61 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.001012/1.652, allocations: 0.5457 MB / 0.6402 GB, free: 34.06 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008219/1.653, allocations: 335.7 kB / 0.6405 GB, free: 33.73 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007532/1.66, allocations: 2.451 MB / 0.6429 GB, free: 31.83 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-05/1.66, allocations: 12 kB / 0.6429 GB, free: 31.82 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.264e-05/1.661, allocations: 4 kB / 0.6429 GB, free: 31.81 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.126e-05/1.661, allocations: 7.734 kB / 0.6429 GB, free: 31.81 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0186/1.679, allocations: 6.278 MB / 0.6491 GB, free: 26.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.111e-05/1.679, allocations: 7.75 kB / 0.6491 GB, free: 26.8 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002027/1.681, allocations: 190.7 kB / 0.6492 GB, free: 26.65 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003726/1.685, allocations: 0.6937 MB / 0.6499 GB, free: 26.2 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002975/1.685, allocations: 27.52 kB / 0.6499 GB, free: 26.17 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008136/1.694, allocations: 4.333 MB / 0.6542 GB, free: 22.29 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/1.694, allocations: 7.719 kB / 0.6542 GB, free: 22.28 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01082/1.704, allocations: 4.529 MB / 0.6586 GB, free: 18.38 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001236/1.706, allocations: 395 kB / 0.659 GB, free: 17.99 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008214/1.707, allocations: 20.78 kB / 0.659 GB, free: 17.97 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002261/1.709, allocations: 71.39 kB / 0.6591 GB, free: 17.92 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003504/1.709, allocations: 75.39 kB / 0.6591 GB, free: 17.88 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001411/1.709, allocations: 36.52 kB / 0.6592 GB, free: 17.84 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.005758/1.715, allocations: 2.499 MB / 0.6616 GB, free: 15.61 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.062e-06/1.715, allocations: 4 kB / 0.6616 GB, free: 15.61 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006816/1.722, allocations: 0.903 MB / 0.6625 GB, free: 14.71 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.0116/1.734, allocations: 5.339 MB / 0.6677 GB, free: 10.02 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.009634/1.743, allocations: 4.103 MB / 0.6717 GB, free: 6.316 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.633e-06/1.743, allocations: 4.062 kB / 0.6717 GB, free: 6.312 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002477/1.746, allocations: 1.128 MB / 0.6728 GB, free: 5.289 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003479/1.749, allocations: 389 kB / 0.6732 GB, free: 4.957 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02673/1.776, allocations: 7.997 MB / 0.681 GB, free: 13.66 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007383/1.784, allocations: 3.179 MB / 0.6841 GB, free: 10.47 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.008603/1.792, allocations: 1.796 MB / 0.6859 GB, free: 8.676 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004461/1.797, allocations: 1.741 MB / 0.6876 GB, free: 6.934 MB / 458.7 MB Notification: Performance of SimCode: time 1.693e-06/1.797, allocations: 0 / 0.6876 GB, free: 6.934 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5453/2.342, allocations: 70.48 MB / 0.7564 GB, free: 93.55 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002274/2.342, allocations: 194.2 kB / 0.7566 GB, free: 93.33 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.42/7.763, allocations: 0 / 0.7566 GB, free: 93.33 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.mat does not exist to compare? outputFormat=mat