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 1.884/1.884, allocations: 194.9 MB / 208.4 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.2e-05/3.211e-05, allocations: 0 / 255.4 MB, free: 3.105 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09345/0.09351, allocations: 44.51 MB / 299.9 MB, free: 6.535 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4722/0.5657, allocations: 92.98 MB / 392.9 MB, free: 12.54 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002917/0.5661, allocations: 84.83 kB / 393 MB, free: 12.54 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4006/0.9667, allocations: 96.99 MB / 490 MB, free: 10.48 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.414e-06/0.9668, allocations: 0 / 490 MB, free: 10.48 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003665/0.9672, allocations: 104 kB / 490.1 MB, free: 10.38 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.03225/0.9994, allocations: 5.491 MB / 495.6 MB, free: 4.816 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.856e-05/0.9995, allocations: 8.031 kB / 495.6 MB, free: 4.809 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004521/1.004, allocations: 0.9271 MB / 496.5 MB, free: 3.867 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0196/1.024, allocations: 2.317 MB / 498.8 MB, free: 1.539 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02111/1.045, allocations: 4.917 MB / 0.4919 GB, free: 12.56 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006738/1.046, allocations: 398.3 kB / 0.4923 GB, free: 12.17 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003266/1.049, allocations: 0.5076 MB / 0.4928 GB, free: 11.66 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04559/1.095, allocations: 12.89 MB / 0.5054 GB, free: 13.64 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003754/1.095, allocations: 67.41 kB / 0.5055 GB, free: 13.58 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002764/1.098, allocations: 247.9 kB / 0.5057 GB, free: 13.34 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003457/1.101, allocations: 1.2 MB / 0.5069 GB, free: 12.13 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04001/1.141, allocations: 11.02 MB / 0.5176 GB, free: 1.098 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4024/1.544, allocations: 57.08 MB / 0.5734 GB, free: 44.23 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02579/1.57, allocations: 5.137 MB / 0.5784 GB, free: 43.57 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006306/1.576, allocations: 3.166 MB / 0.5815 GB, free: 43.54 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001887/1.578, allocations: 0.6832 MB / 0.5822 GB, free: 42.97 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.392e-05/1.578, allocations: 59.06 kB / 0.5822 GB, free: 42.93 MB / 410.7 MB Notification: Performance of pre-optimization done (n=221): time 6.312e-06/1.578, allocations: 0 / 0.5822 GB, free: 42.93 MB / 410.7 MB Notification: Performance of matching and sorting (n=252): time 0.1026/1.681, allocations: 21.5 MB / 0.6032 GB, free: 36.55 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.648e-05/1.681, allocations: 157.8 kB / 0.6034 GB, free: 36.39 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01046/1.691, allocations: 4.043 MB / 0.6073 GB, free: 34.96 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007893/1.692, allocations: 62.12 kB / 0.6074 GB, free: 34.91 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003194/1.695, allocations: 3.476 MB / 0.6108 GB, free: 32.35 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001714/1.697, allocations: 0.9507 MB / 0.6117 GB, free: 31.66 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001163/1.698, allocations: 141.1 kB / 0.6118 GB, free: 31.55 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0005936/1.699, allocations: 0.6034 MB / 0.6124 GB, free: 31.11 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007651/1.707, allocations: 2.969 MB / 0.6153 GB, free: 30.1 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01072/1.717, allocations: 7 MB / 0.6222 GB, free: 23.69 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01051/1.728, allocations: 4.506 MB / 0.6266 GB, free: 22.31 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001574/1.728, allocations: 41.94 kB / 0.6266 GB, free: 22.31 MB / 410.7 MB Notification: Performance of matching and sorting (n=909) (initialization): time 0.03039/1.758, allocations: 10.67 MB / 0.637 GB, free: 18.25 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001214/1.759, allocations: 68 kB / 0.6371 GB, free: 18.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002252/1.759, allocations: 143.9 kB / 0.6372 GB, free: 18.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004926/1.764, allocations: 1.139 MB / 0.6383 GB, free: 17.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.012/1.776, allocations: 1.732 MB / 0.64 GB, free: 15.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01149/1.787, allocations: 5.927 MB / 0.6458 GB, free: 10.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009017/1.797, allocations: 429.1 kB / 0.6462 GB, free: 10.17 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001959/1.799, allocations: 437 kB / 0.6466 GB, free: 9.77 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.002973/1.802, allocations: 0.6331 MB / 0.6473 GB, free: 9.137 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001356/1.803, allocations: 418.6 kB / 0.6477 GB, free: 8.723 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01729/1.82, allocations: 5.493 MB / 0.653 GB, free: 4.309 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.373e-05/1.82, allocations: 28 kB / 0.653 GB, free: 4.281 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.659e-05/1.82, allocations: 4 kB / 0.653 GB, free: 4.277 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-05/1.82, allocations: 15.62 kB / 0.6531 GB, free: 4.273 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03758/1.858, allocations: 12.12 MB / 0.6649 GB, free: 10.44 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.382e-05/1.858, allocations: 4 kB / 0.6649 GB, free: 10.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005659/1.864, allocations: 0.4995 MB / 0.6654 GB, free: 10.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004759/1.869, allocations: 0.9364 MB / 0.6663 GB, free: 9.402 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007744/1.869, allocations: 47.38 kB / 0.6664 GB, free: 9.359 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01277/1.882, allocations: 5.643 MB / 0.6719 GB, free: 4.383 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.076e-06/1.882, allocations: 4 kB / 0.6719 GB, free: 4.379 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.326/2.208, allocations: 9.947 MB / 0.6816 GB, free: 88.21 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003834/2.212, allocations: 0.9076 MB / 0.6825 GB, free: 88.12 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001624/2.214, allocations: 43.05 kB / 0.6825 GB, free: 88.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00475/2.219, allocations: 181.1 kB / 0.6827 GB, free: 88.12 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001038/2.22, allocations: 155 kB / 0.6828 GB, free: 88.12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003478/2.22, allocations: 68.2 kB / 0.6829 GB, free: 88.12 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.008767/2.229, allocations: 2.822 MB / 0.6857 GB, free: 87.92 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.633e-06/2.229, allocations: 0 / 0.6857 GB, free: 87.92 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00938/2.238, allocations: 1.265 MB / 0.6869 GB, free: 87.92 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.02519/2.264, allocations: 11.05 MB / 0.6977 GB, free: 85.76 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0173/2.281, allocations: 7.171 MB / 0.7047 GB, free: 85.59 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.568e-06/2.281, allocations: 1.531 kB / 0.7047 GB, free: 85.59 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006935/2.288, allocations: 2.679 MB / 0.7073 GB, free: 85.46 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004727/2.293, allocations: 468.3 kB / 0.7077 GB, free: 85.44 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0416/2.334, allocations: 12.3 MB / 0.7198 GB, free: 83.43 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008842/2.343, allocations: 3.899 MB / 0.7236 GB, free: 82.61 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006728/2.35, allocations: 2.385 MB / 0.7259 GB, free: 80.96 MB / 426.7 MB Notification: Performance of SimCode: time 1.844e-06/2.35, allocations: 0.875 kB / 0.7259 GB, free: 80.96 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.798/7.149, allocations: 121.6 MB / 0.8447 GB, free: 81.3 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