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.837/1.837, allocations: 194.9 MB / 208 MB, free: 3.238 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.427e-05/3.442e-05, allocations: 0 / 255.5 MB, free: 2.605 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09892/0.09899, allocations: 44.5 MB / 300 MB, free: 6.047 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4688/0.5678, allocations: 92.31 MB / 392.3 MB, free: 12.42 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000301/0.5682, allocations: 87.75 kB / 392.4 MB, free: 12.42 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3518/0.92, allocations: 83.79 MB / 476.2 MB, free: 7.234 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.9201, allocations: 0 / 476.2 MB, free: 7.234 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002944/0.9204, allocations: 84 kB / 476.2 MB, free: 7.152 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.02744/0.9478, allocations: 4.481 MB / 480.7 MB, free: 2.629 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.714e-05/0.9479, allocations: 12.03 kB / 480.7 MB, free: 2.617 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003886/0.9518, allocations: 0.7695 MB / 481.5 MB, free: 1.867 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01842/0.9703, allocations: 2.209 MB / 483.7 MB, free: 15.65 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01866/0.989, allocations: 4.466 MB / 488.2 MB, free: 11.18 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005139/0.9896, allocations: 319.5 kB / 488.5 MB, free: 10.89 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002711/0.9923, allocations: 422.5 kB / 488.9 MB, free: 10.5 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.035/1.027, allocations: 10.65 MB / 499.6 MB, free: 14.88 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002728/1.028, allocations: 59.47 kB / 499.6 MB, free: 14.82 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001753/1.029, allocations: 203.3 kB / 499.8 MB, free: 14.65 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002588/1.032, allocations: 0.9944 MB / 0.4891 GB, free: 13.66 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03013/1.062, allocations: 8.659 MB / 0.4975 GB, free: 4.98 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3878/1.45, allocations: 48.87 MB / 0.5452 GB, free: 55.88 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01966/1.47, allocations: 3.469 MB / 0.5486 GB, free: 55.21 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003898/1.474, allocations: 1.772 MB / 0.5504 GB, free: 55.18 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01195/1.486, allocations: 4.363 MB / 0.5546 GB, free: 53.86 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.531e-05/1.486, allocations: 51.28 kB / 0.5547 GB, free: 53.82 MB / 410.7 MB Notification: Performance of pre-optimization done (n=139): time 6.883e-06/1.486, allocations: 3.422 kB / 0.5547 GB, free: 53.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=145): time 0.0416/1.528, allocations: 9.73 MB / 0.5642 GB, free: 51.19 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.612e-05/1.528, allocations: 146.2 kB / 0.5643 GB, free: 51.04 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01016/1.538, allocations: 3.671 MB / 0.5679 GB, free: 50.64 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004749/1.538, allocations: 47.11 kB / 0.5679 GB, free: 50.61 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003203/1.542, allocations: 3.181 MB / 0.5711 GB, free: 48.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001112/1.543, allocations: 0.5857 MB / 0.5716 GB, free: 48.66 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009334/1.544, allocations: 114.6 kB / 0.5717 GB, free: 48.66 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.00058/1.544, allocations: 0.5593 MB / 0.5723 GB, free: 48.34 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005233/1.55, allocations: 1.914 MB / 0.5742 GB, free: 48.33 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008219/1.558, allocations: 5.675 MB / 0.5797 GB, free: 43.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007729/1.566, allocations: 3.288 MB / 0.5829 GB, free: 43.37 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001959/1.566, allocations: 39.28 kB / 0.5829 GB, free: 43.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=768) (initialization): time 0.02394/1.59, allocations: 7.693 MB / 0.5905 GB, free: 42.47 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001344/1.59, allocations: 64 kB / 0.5905 GB, free: 42.47 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002552/1.59, allocations: 134.5 kB / 0.5906 GB, free: 42.47 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004455/1.595, allocations: 0.9155 MB / 0.5915 GB, free: 42.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009061/1.604, allocations: 1.38 MB / 0.5929 GB, free: 42.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009584/1.614, allocations: 4.783 MB / 0.5976 GB, free: 39.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007642/1.621, allocations: 320.7 kB / 0.5979 GB, free: 39.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001706/1.623, allocations: 376.2 kB / 0.5982 GB, free: 39.42 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.002511/1.626, allocations: 0.5676 MB / 0.5988 GB, free: 38.95 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00106/1.627, allocations: 348.1 kB / 0.5991 GB, free: 38.76 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009726/1.636, allocations: 2.804 MB / 0.6018 GB, free: 37.82 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.584e-05/1.637, allocations: 14.97 kB / 0.6019 GB, free: 37.82 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.501e-05/1.637, allocations: 10.64 kB / 0.6019 GB, free: 37.82 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.111e-05/1.637, allocations: 11.22 kB / 0.6019 GB, free: 37.81 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02381/1.661, allocations: 6.946 MB / 0.6087 GB, free: 35.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-05/1.661, allocations: 0 / 0.6087 GB, free: 35.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002576/1.663, allocations: 234.5 kB / 0.6089 GB, free: 35.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003826/1.667, allocations: 0.7044 MB / 0.6096 GB, free: 35.22 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004126/1.668, allocations: 30.94 kB / 0.6096 GB, free: 35.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008373/1.676, allocations: 4.338 MB / 0.6138 GB, free: 32.75 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/1.676, allocations: 0 / 0.6138 GB, free: 32.75 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01299/1.689, allocations: 5.092 MB / 0.6188 GB, free: 30.65 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002461/1.692, allocations: 0.6109 MB / 0.6194 GB, free: 30.26 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001259/1.693, allocations: 26.52 kB / 0.6194 GB, free: 30.24 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003317/1.696, allocations: 90.98 kB / 0.6195 GB, free: 30.22 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006728/1.697, allocations: 81.66 kB / 0.6196 GB, free: 30.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001794/1.697, allocations: 36.16 kB / 0.6196 GB, free: 30.21 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.007374/1.705, allocations: 2.551 MB / 0.6221 GB, free: 28.49 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.32e-07/1.705, allocations: 0 / 0.6221 GB, free: 28.49 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.008241/1.713, allocations: 0.9576 MB / 0.6231 GB, free: 27.54 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.01418/1.727, allocations: 5.906 MB / 0.6288 GB, free: 22.32 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01129/1.738, allocations: 4.468 MB / 0.6332 GB, free: 18.29 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/1.738, allocations: 0 / 0.6332 GB, free: 18.29 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003256/1.742, allocations: 1.297 MB / 0.6345 GB, free: 17.11 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003865/1.746, allocations: 403.7 kB / 0.6348 GB, free: 16.77 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03152/1.777, allocations: 8.524 MB / 0.6432 GB, free: 9.367 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008182/1.786, allocations: 3.317 MB / 0.6464 GB, free: 6.848 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.009253/1.795, allocations: 1.868 MB / 0.6482 GB, free: 5.668 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004896/1.8, allocations: 1.835 MB / 0.65 GB, free: 3.977 MB / 410.7 MB Notification: Performance of SimCode: time 1.372e-06/1.8, allocations: 4 kB / 0.65 GB, free: 3.973 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4821/2.282, allocations: 73.68 MB / 0.722 GB, free: 90.36 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003051/2.282, allocations: 193.6 kB / 0.7222 GB, free: 90.13 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.325/7.608, allocations: 0 / 0.7222 GB, free: 90.13 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