Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_MovingActuatedDrive",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.057/2.057, allocations: 194.9 MB / 208.4 MB, free: 3.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.001e-05/4.008e-05, allocations: 8 kB / 255.5 MB, free: 3.074 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09922/0.09931, allocations: 44.51 MB / 300 MB, free: 6.508 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5568/0.6562, allocations: 92.99 MB / 392.9 MB, free: 12.68 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003053/0.6565, allocations: 83.8 kB / 393 MB, free: 12.68 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4038/1.06, allocations: 97.01 MB / 490 MB, free: 10.56 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.525e-06/1.06, allocations: 0 / 490 MB, free: 10.56 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003579/1.061, allocations: 100 kB / 490.1 MB, free: 10.46 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.03291/1.094, allocations: 5.491 MB / 495.6 MB, free: 4.902 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.733e-05/1.094, allocations: 16.02 kB / 495.6 MB, free: 4.887 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004637/1.098, allocations: 0.9272 MB / 496.6 MB, free: 3.945 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01898/1.117, allocations: 2.31 MB / 498.9 MB, free: 1.625 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01996/1.137, allocations: 4.917 MB / 0.492 GB, free: 12.64 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006082/1.138, allocations: 402.3 kB / 0.4924 GB, free: 12.25 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003162/1.141, allocations: 0.5115 MB / 0.4929 GB, free: 11.74 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04511/1.186, allocations: 12.84 MB / 0.5054 GB, free: 13.78 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003528/1.187, allocations: 63.39 kB / 0.5055 GB, free: 13.72 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002553/1.189, allocations: 247.9 kB / 0.5057 GB, free: 13.48 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00345/1.193, allocations: 1.204 MB / 0.5069 GB, free: 12.27 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03945/1.232, allocations: 10.81 MB / 0.5174 GB, free: 1.441 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3865/1.619, allocations: 57.08 MB / 0.5732 GB, free: 44.84 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02545/1.645, allocations: 5.115 MB / 0.5782 GB, free: 44.18 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006157/1.651, allocations: 3.163 MB / 0.5813 GB, free: 44.15 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001838/1.653, allocations: 0.6799 MB / 0.5819 GB, free: 43.58 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.476e-05/1.653, allocations: 59.41 kB / 0.582 GB, free: 43.54 MB / 410.7 MB Notification: Performance of pre-optimization done (n=221): time 6.262e-06/1.653, allocations: 0 / 0.582 GB, free: 43.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=252): time 0.101/1.754, allocations: 21.51 MB / 0.603 GB, free: 36.73 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.295e-05/1.754, allocations: 149.7 kB / 0.6031 GB, free: 36.58 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009917/1.764, allocations: 4.041 MB / 0.6071 GB, free: 35.15 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000769/1.765, allocations: 62.14 kB / 0.6071 GB, free: 35.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003021/1.768, allocations: 3.474 MB / 0.6105 GB, free: 32.54 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001592/1.769, allocations: 0.9533 MB / 0.6115 GB, free: 31.84 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00104/1.77, allocations: 137.2 kB / 0.6116 GB, free: 31.74 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0006056/1.771, allocations: 0.6115 MB / 0.6122 GB, free: 31.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007467/1.778, allocations: 2.963 MB / 0.6151 GB, free: 30.29 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01025/1.789, allocations: 6.962 MB / 0.6219 GB, free: 23.89 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01009/1.799, allocations: 4.506 MB / 0.6263 GB, free: 22.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001592/1.799, allocations: 39.91 kB / 0.6263 GB, free: 22.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=909) (initialization): time 0.03024/1.829, allocations: 10.28 MB / 0.6364 GB, free: 19.14 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001161/1.83, allocations: 67.44 kB / 0.6364 GB, free: 19.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002183/1.83, allocations: 144 kB / 0.6366 GB, free: 18.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004872/1.835, allocations: 1.142 MB / 0.6377 GB, free: 18.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01187/1.847, allocations: 1.733 MB / 0.6394 GB, free: 16.63 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01109/1.858, allocations: 5.931 MB / 0.6452 GB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008841/1.867, allocations: 428.8 kB / 0.6456 GB, free: 11.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001756/1.868, allocations: 435.8 kB / 0.646 GB, free: 10.66 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.001803/1.87, allocations: 0.63 MB / 0.6466 GB, free: 10.02 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00117/1.871, allocations: 422.2 kB / 0.647 GB, free: 9.609 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01512/1.887, allocations: 5.497 MB / 0.6524 GB, free: 5.191 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.827e-05/1.887, allocations: 28 kB / 0.6524 GB, free: 5.164 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-05/1.887, allocations: 4 kB / 0.6524 GB, free: 5.16 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-05/1.887, allocations: 13.92 kB / 0.6524 GB, free: 5.16 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03424/1.921, allocations: 12.1 MB / 0.6642 GB, free: 11.35 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-05/1.921, allocations: 7.953 kB / 0.6642 GB, free: 11.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005604/1.927, allocations: 0.4998 MB / 0.6647 GB, free: 10.95 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004615/1.931, allocations: 0.9351 MB / 0.6656 GB, free: 10.31 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000629/1.932, allocations: 55.36 kB / 0.6657 GB, free: 10.26 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01209/1.944, allocations: 5.638 MB / 0.6712 GB, free: 5.297 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.025e-05/1.944, allocations: 11.89 kB / 0.6712 GB, free: 5.285 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3073/2.252, allocations: 9.777 MB / 0.6808 GB, free: 88.23 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003541/2.255, allocations: 0.9038 MB / 0.6816 GB, free: 88.14 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001516/2.257, allocations: 44.84 kB / 0.6817 GB, free: 88.14 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00508/2.262, allocations: 183.5 kB / 0.6819 GB, free: 88.14 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001137/2.263, allocations: 151.7 kB / 0.682 GB, free: 88.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003883/2.263, allocations: 71.45 kB / 0.6821 GB, free: 88.14 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.008825/2.272, allocations: 2.817 MB / 0.6848 GB, free: 87.94 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.072e-06/2.272, allocations: 1.594 kB / 0.6848 GB, free: 87.94 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.009832/2.282, allocations: 1.261 MB / 0.6861 GB, free: 87.94 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.02544/2.308, allocations: 11.05 MB / 0.6968 GB, free: 85.78 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01675/2.324, allocations: 6.949 MB / 0.7036 GB, free: 85.63 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.806e-06/2.324, allocations: 0 / 0.7036 GB, free: 85.63 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006476/2.331, allocations: 2.664 MB / 0.7062 GB, free: 85.52 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004414/2.335, allocations: 457.2 kB / 0.7067 GB, free: 85.49 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04123/2.377, allocations: 12.29 MB / 0.7187 GB, free: 83.48 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008685/2.385, allocations: 3.896 MB / 0.7225 GB, free: 82.55 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007332/2.393, allocations: 2.388 MB / 0.7248 GB, free: 80.67 MB / 426.7 MB Notification: Performance of SimCode: time 1.663e-06/2.393, allocations: 0 / 0.7248 GB, free: 80.67 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.821/7.214, allocations: 120.5 MB / 0.8425 GB, free: 79.71 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive_res.mat does not exist to compare? outputFormat=mat