Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_MovingActuatedDrive",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.727/1.727, allocations: 171.2 MB / 183.8 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.508e-05/3.528e-05, allocations: 4 kB / 225.1 MB, free: 2.605 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2706/0.2707, allocations: 38.77 MB / 263.9 MB, free: 9.75 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1588/0.4295, allocations: 87.27 MB / 351.1 MB, free: 2.344 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003009/0.4299, allocations: 83.95 kB / 351.2 MB, free: 2.262 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6186/1.049, allocations: 96.96 MB / 448.2 MB, free: 25.31 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.986e-06/1.049, allocations: 0 / 448.2 MB, free: 25.31 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003043/1.049, allocations: 103.9 kB / 448.3 MB, free: 25.21 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1847 * Number of variables: 1847 Notification: Performance of Generate backend data structure: time 0.03029/1.079, allocations: 5.503 MB / 453.8 MB, free: 19.64 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.851e-05/1.079, allocations: 8.031 kB / 453.8 MB, free: 19.63 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004208/1.083, allocations: 0.9349 MB / 454.7 MB, free: 18.68 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01765/1.101, allocations: 2.317 MB / 457 MB, free: 16.36 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01819/1.119, allocations: 4.914 MB / 462 MB, free: 11.38 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005049/1.12, allocations: 394.3 kB / 462.3 MB, free: 10.99 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00312/1.123, allocations: 0.5153 MB / 462.9 MB, free: 10.48 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04022/1.163, allocations: 12.84 MB / 475.7 MB, free: 12.52 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00036/1.164, allocations: 71.33 kB / 475.8 MB, free: 12.45 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002792/1.167, allocations: 247.9 kB / 476 MB, free: 12.2 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003284/1.17, allocations: 1.2 MB / 477.2 MB, free: 11 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03797/1.208, allocations: 10.81 MB / 488 MB, free: 176 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3619/1.57, allocations: 57.05 MB / 0.5323 GB, free: 25.27 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02568/1.596, allocations: 5.118 MB / 0.5373 GB, free: 24.59 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0063/1.602, allocations: 3.159 MB / 0.5404 GB, free: 24.56 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001838/1.604, allocations: 0.6955 MB / 0.5411 GB, free: 23.99 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.704e-05/1.604, allocations: 50.44 kB / 0.5411 GB, free: 23.95 MB / 346.7 MB Notification: Performance of pre-optimization done (n=221): time 6.402e-06/1.604, allocations: 0 / 0.5411 GB, free: 23.95 MB / 346.7 MB Notification: Performance of matching and sorting (n=252): time 0.1009/1.705, allocations: 21.51 MB / 0.5621 GB, free: 20.42 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.15e-05/1.705, allocations: 154 kB / 0.5623 GB, free: 20.26 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01037/1.715, allocations: 4.047 MB / 0.5662 GB, free: 18.84 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007898/1.716, allocations: 64.55 kB / 0.5663 GB, free: 18.78 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00319/1.72, allocations: 3.474 MB / 0.5697 GB, free: 16.26 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001763/1.721, allocations: 0.9457 MB / 0.5706 GB, free: 15.57 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001137/1.723, allocations: 144.5 kB / 0.5707 GB, free: 15.46 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0005667/1.723, allocations: 0.6024 MB / 0.5713 GB, free: 15.03 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007849/1.731, allocations: 2.968 MB / 0.5742 GB, free: 14.02 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0107/1.742, allocations: 6.955 MB / 0.581 GB, free: 7.625 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01049/1.752, allocations: 4.508 MB / 0.5854 GB, free: 6.234 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001526/1.753, allocations: 40.88 kB / 0.5854 GB, free: 6.234 MB / 346.7 MB Notification: Performance of matching and sorting (n=909) (initialization): time 0.03082/1.783, allocations: 10.27 MB / 0.5955 GB, free: 24 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004506/1.784, allocations: 85.11 kB / 0.5956 GB, free: 15.99 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002743/1.784, allocations: 144 kB / 0.5957 GB, free: 15.85 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00538/1.79, allocations: 1.14 MB / 0.5968 GB, free: 15 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01275/1.802, allocations: 1.735 MB / 0.5985 GB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0136/1.816, allocations: 5.928 MB / 0.6043 GB, free: 8.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009936/1.826, allocations: 435.1 kB / 0.6047 GB, free: 7.961 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002369/1.828, allocations: 438.4 kB / 0.6051 GB, free: 7.559 MB / 362.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.003728/1.832, allocations: 0.6252 MB / 0.6057 GB, free: 6.926 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00161/1.834, allocations: 418.6 kB / 0.6061 GB, free: 6.512 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0188/1.853, allocations: 5.491 MB / 0.6115 GB, free: 2.105 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.18e-05/1.853, allocations: 31.61 kB / 0.6115 GB, free: 2.078 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.726e-05/1.853, allocations: 4 kB / 0.6115 GB, free: 2.074 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.829e-05/1.853, allocations: 11.44 kB / 0.6115 GB, free: 2.074 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04268/1.896, allocations: 12.2 MB / 0.6234 GB, free: 8.418 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-05/1.896, allocations: 4 kB / 0.6235 GB, free: 8.414 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005737/1.901, allocations: 0.4971 MB / 0.6239 GB, free: 8.027 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004893/1.906, allocations: 0.9387 MB / 0.6249 GB, free: 7.387 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008426/1.907, allocations: 50.72 kB / 0.6249 GB, free: 7.344 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01314/1.92, allocations: 5.651 MB / 0.6304 GB, free: 2.328 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.096e-06/1.921, allocations: 4 kB / 0.6304 GB, free: 2.324 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3033/2.224, allocations: 9.686 MB / 0.6399 GB, free: 88.33 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0036/2.227, allocations: 0.9042 MB / 0.6408 GB, free: 88.23 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001682/2.229, allocations: 48.72 kB / 0.6408 GB, free: 88.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005101/2.234, allocations: 177.8 kB / 0.641 GB, free: 88.23 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001113/2.235, allocations: 158.3 kB / 0.6411 GB, free: 88.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004982/2.236, allocations: 64.27 kB / 0.6412 GB, free: 88.23 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.007752/2.244, allocations: 2.837 MB / 0.644 GB, free: 88.03 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.944e-06/2.244, allocations: 0 / 0.644 GB, free: 88.03 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.009138/2.253, allocations: 1.262 MB / 0.6452 GB, free: 88.03 MB / 378.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.02526/2.278, allocations: 11.05 MB / 0.656 GB, free: 85.86 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01704/2.295, allocations: 6.948 MB / 0.6628 GB, free: 85.71 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.528e-06/2.295, allocations: 5.844 kB / 0.6628 GB, free: 85.71 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006913/2.302, allocations: 2.661 MB / 0.6654 GB, free: 84.83 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004551/2.307, allocations: 452.9 kB / 0.6658 GB, free: 84.62 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04282/2.35, allocations: 12.3 MB / 0.6778 GB, free: 80.18 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008875/2.359, allocations: 3.905 MB / 0.6816 GB, free: 78.79 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006751/2.366, allocations: 2.381 MB / 0.684 GB, free: 76.91 MB / 378.7 MB Notification: Performance of SimCode: time 1.634e-06/2.366, allocations: 0 / 0.684 GB, free: 76.91 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.262/7.628, allocations: 120.5 MB / 0.8016 GB, free: 85.93 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive_res.mat does not exist to compare? outputFormat=mat