Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_MovingActuatedDrive",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.978/1.978, allocations: 194.9 MB / 208 MB, free: 3.238 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.163e-05/3.174e-05, allocations: 4 kB / 255.5 MB, free: 2.617 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09778/0.09784, allocations: 44.51 MB / 300 MB, free: 6.047 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.435/0.5329, allocations: 92.99 MB / 393 MB, free: 12.37 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002906/0.5332, allocations: 90.61 kB / 393.1 MB, free: 12.37 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.386/0.9192, allocations: 96.98 MB / 490 MB, free: 10.02 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.9193, allocations: 0 / 490 MB, free: 10.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003383/0.9196, allocations: 100 kB / 490.1 MB, free: 9.918 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1848 * Number of variables: 1848 Notification: Performance of Generate backend data structure: time 0.032/0.9516, allocations: 5.495 MB / 495.6 MB, free: 4.355 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.582e-05/0.9517, allocations: 12.03 kB / 495.6 MB, free: 4.344 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003806/0.9555, allocations: 0.9272 MB / 496.6 MB, free: 3.402 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01879/0.9744, allocations: 2.31 MB / 498.9 MB, free: 1.082 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0193/0.9937, allocations: 4.921 MB / 0.492 GB, free: 12.1 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005264/0.9943, allocations: 398.3 kB / 0.4924 GB, free: 11.71 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002929/0.9973, allocations: 0.5193 MB / 0.4929 GB, free: 11.19 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04151/1.039, allocations: 12.82 MB / 0.5054 GB, free: 13.25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002913/1.039, allocations: 75.39 kB / 0.5055 GB, free: 13.17 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001563/1.041, allocations: 251.9 kB / 0.5057 GB, free: 12.93 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003109/1.044, allocations: 1.2 MB / 0.5069 GB, free: 11.72 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0377/1.082, allocations: 10.81 MB / 0.5174 GB, free: 0.8984 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3681/1.45, allocations: 57.09 MB / 0.5732 GB, free: 44.91 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02559/1.475, allocations: 5.11 MB / 0.5782 GB, free: 44.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006087/1.482, allocations: 3.173 MB / 0.5813 GB, free: 44.22 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0018/1.483, allocations: 0.6809 MB / 0.5819 GB, free: 43.65 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.876e-05/1.483, allocations: 52.47 kB / 0.582 GB, free: 43.61 MB / 410.7 MB Notification: Performance of pre-optimization done (n=221): time 5.891e-06/1.483, allocations: 0 / 0.582 GB, free: 43.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=252): time 0.09728/1.581, allocations: 21.5 MB / 0.603 GB, free: 36.65 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.7e-05/1.581, allocations: 154 kB / 0.6031 GB, free: 36.49 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008834/1.59, allocations: 4.041 MB / 0.6071 GB, free: 35.07 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007593/1.591, allocations: 66 kB / 0.6071 GB, free: 35.01 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003086/1.594, allocations: 3.582 MB / 0.6106 GB, free: 32.45 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001614/1.595, allocations: 0.9494 MB / 0.6116 GB, free: 31.75 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008834/1.596, allocations: 136.2 kB / 0.6117 GB, free: 31.64 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004218/1.597, allocations: 0.6052 MB / 0.6123 GB, free: 31.21 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007132/1.604, allocations: 2.965 MB / 0.6152 GB, free: 30.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01026/1.614, allocations: 6.963 MB / 0.622 GB, free: 23.81 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01026/1.624, allocations: 4.501 MB / 0.6264 GB, free: 22.41 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001633/1.625, allocations: 41.47 kB / 0.6264 GB, free: 22.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=909) (initialization): time 0.02993/1.655, allocations: 10.42 MB / 0.6366 GB, free: 18.41 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000102/1.655, allocations: 68 kB / 0.6367 GB, free: 18.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001896/1.655, allocations: 144 kB / 0.6368 GB, free: 18.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004904/1.66, allocations: 1.132 MB / 0.6379 GB, free: 17.37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01332/1.673, allocations: 1.735 MB / 0.6396 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01651/1.69, allocations: 5.926 MB / 0.6454 GB, free: 10.69 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009508/1.699, allocations: 432.5 kB / 0.6458 GB, free: 10.33 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002013/1.701, allocations: 434.7 kB / 0.6462 GB, free: 9.934 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 650 * Number of states: 0 () * Number of discrete variables: 39 (fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[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 (870): * Single equations (assignments): 866 * 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.003238/1.705, allocations: 0.6382 MB / 0.6468 GB, free: 9.297 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001445/1.706, allocations: 422.5 kB / 0.6472 GB, free: 8.879 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01771/1.724, allocations: 5.496 MB / 0.6526 GB, free: 4.465 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.477e-05/1.724, allocations: 28 kB / 0.6526 GB, free: 4.438 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.915e-05/1.724, allocations: 4 kB / 0.6526 GB, free: 4.434 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-05/1.724, allocations: 10.36 kB / 0.6527 GB, free: 4.434 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04788/1.772, allocations: 12.2 MB / 0.6646 GB, free: 10.85 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.94e-05/1.772, allocations: 7.953 kB / 0.6646 GB, free: 10.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005864/1.778, allocations: 0.5033 MB / 0.6651 GB, free: 10.45 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00503/1.783, allocations: 0.9285 MB / 0.666 GB, free: 9.812 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008675/1.784, allocations: 59.38 kB / 0.666 GB, free: 9.762 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01368/1.798, allocations: 5.637 MB / 0.6715 GB, free: 4.797 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.317e-05/1.798, allocations: 15.31 kB / 0.6715 GB, free: 4.785 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3209/2.119, allocations: 9.791 MB / 0.6811 GB, free: 88.41 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00383/2.123, allocations: 0.8991 MB / 0.682 GB, free: 88.31 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001904/2.125, allocations: 48.8 kB / 0.682 GB, free: 88.31 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005138/2.13, allocations: 178.4 kB / 0.6822 GB, free: 88.31 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001147/2.131, allocations: 153.1 kB / 0.6823 GB, free: 88.31 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005934/2.132, allocations: 69.45 kB / 0.6824 GB, free: 88.31 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.009292/2.141, allocations: 2.825 MB / 0.6852 GB, free: 88.11 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.162e-06/2.141, allocations: 0 / 0.6852 GB, free: 88.11 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.009955/2.151, allocations: 1.266 MB / 0.6864 GB, free: 88.11 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,position1.phi,position1.w,position2.phi,position2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (225): * Single equations (assignments): 221 * 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 Backend phase and start with SimCode phase: time 0.02539/2.176, allocations: 11.06 MB / 0.6972 GB, free: 85.95 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01698/2.193, allocations: 6.947 MB / 0.704 GB, free: 85.8 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.839e-06/2.194, allocations: 3.969 kB / 0.704 GB, free: 85.8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006952/2.201, allocations: 2.655 MB / 0.7066 GB, free: 85.68 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004673/2.205, allocations: 458.6 kB / 0.707 GB, free: 85.66 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04185/2.247, allocations: 11.73 MB / 0.7185 GB, free: 83.68 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009282/2.256, allocations: 3.898 MB / 0.7223 GB, free: 82.86 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.01172/2.268, allocations: 2.317 MB / 0.7245 GB, free: 82.82 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006742/2.275, allocations: 2.336 MB / 0.7268 GB, free: 81.24 MB / 426.7 MB Notification: Performance of SimCode: time 1.984e-06/2.275, allocations: 0 / 0.7268 GB, free: 81.24 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2171/2.492, allocations: 96.17 MB / 0.8207 GB, free: 13.47 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002761/2.493, allocations: 204 kB / 0.8209 GB, free: 13.25 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.088/8.581, allocations: 4.109 kB / 0.8209 GB, free: 13.25 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive_res.mat does not exist to compare? outputFormat=mat