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.984/1.984, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.676e-05/2.687e-05, allocations: 0 / 249.7 MB, free: 14.82 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3235/0.3235, allocations: 44.5 MB / 294.2 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1696/0.4932, allocations: 92.33 MB / 386.6 MB, free: 5.48 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003387/0.4936, allocations: 87.94 kB / 386.6 MB, free: 5.395 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6761/1.17, allocations: 94.96 MB / 481.6 MB, free: 67.31 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.204e-06/1.17, allocations: 0 / 481.6 MB, free: 67.31 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.000323/1.17, allocations: 100 kB / 481.7 MB, free: 67.21 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: 1848 * Number of variables: 1848 Notification: Performance of Generate backend data structure: time 0.03175/1.202, allocations: 5.489 MB / 487.2 MB, free: 61.67 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.702e-05/1.202, allocations: 8.031 kB / 487.2 MB, free: 61.66 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01835/1.22, allocations: 2.325 MB / 489.5 MB, free: 59.32 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01874/1.239, allocations: 4.904 MB / 494.4 MB, free: 54.41 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003651/1.24, allocations: 168 kB / 494.6 MB, free: 54.24 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003216/1.243, allocations: 311.8 kB / 494.9 MB, free: 53.94 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02015/1.263, allocations: 7.752 MB / 0.4909 GB, free: 46.18 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03123/1.294, allocations: 11.53 MB / 0.5021 GB, free: 33.54 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004301/1.295, allocations: 67.34 kB / 0.5022 GB, free: 33.47 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002843/1.298, allocations: 43.94 kB / 0.5022 GB, free: 33.43 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002996/1.301, allocations: 1.198 MB / 0.5034 GB, free: 32.23 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09879/1.4, allocations: 54.85 MB / 0.557 GB, free: 8.18 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009836/1.409, allocations: 4.355 MB / 0.5612 GB, free: 3.684 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00726/1.417, allocations: 3.107 MB / 0.5643 GB, free: 0.5664 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2932/1.71, allocations: 0.6781 MB / 0.5649 GB, free: 94.04 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.278e-05/1.71, allocations: 58.03 kB / 0.565 GB, free: 94 MB / 394.7 MB Notification: Performance of pre-optimization done (n=221): time 6.832e-06/1.71, allocations: 0.625 kB / 0.565 GB, free: 94 MB / 394.7 MB Notification: Performance of matching and sorting (n=252): time 0.1097/1.82, allocations: 22.3 MB / 0.5868 GB, free: 91.04 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.106e-05/1.82, allocations: 156.1 kB / 0.5869 GB, free: 90.88 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008174/1.828, allocations: 3.354 MB / 0.5902 GB, free: 90.5 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007772/1.829, allocations: 29.17 kB / 0.5902 GB, free: 90.47 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003176/1.832, allocations: 3.644 MB / 0.5938 GB, free: 88.34 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001659/1.834, allocations: 0.9249 MB / 0.5947 GB, free: 87.8 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001119/1.835, allocations: 0 / 0.5947 GB, free: 87.8 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0007292/1.836, allocations: 0.6131 MB / 0.5953 GB, free: 87.48 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006961/1.843, allocations: 2.884 MB / 0.5981 GB, free: 86.54 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009668/1.853, allocations: 7.04 MB / 0.605 GB, free: 79.91 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009858/1.863, allocations: 4.446 MB / 0.6093 GB, free: 78.54 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001878/1.863, allocations: 42.91 kB / 0.6093 GB, free: 78.54 MB / 394.7 MB Notification: Performance of matching and sorting (n=939) (initialization): time 0.02843/1.891, allocations: 10.04 MB / 0.6191 GB, free: 75.56 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001154/1.891, allocations: 69.22 kB / 0.6192 GB, free: 75.56 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002123/1.892, allocations: 147 kB / 0.6194 GB, free: 75.56 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004869/1.897, allocations: 1.144 MB / 0.6205 GB, free: 75.37 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01209/1.909, allocations: 1.793 MB / 0.6222 GB, free: 74.11 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01056/1.919, allocations: 5.633 MB / 0.6277 GB, free: 69.15 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008694/1.928, allocations: 300.5 kB / 0.628 GB, free: 68.92 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002027/1.93, allocations: 452.2 kB / 0.6284 GB, free: 68.5 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 680 * 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 (900): * Single equations (assignments): 896 * 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.003078/1.933, allocations: 481.7 kB / 0.6289 GB, free: 68.03 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01535/1.949, allocations: 5.41 MB / 0.6342 GB, free: 63.56 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001574/1.95, allocations: 367.2 kB / 0.6345 GB, free: 63.2 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0226/1.973, allocations: 5.294 MB / 0.6397 GB, free: 58.98 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.356e-05/1.973, allocations: 29.03 kB / 0.6397 GB, free: 58.95 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.959e-05/1.973, allocations: 0 / 0.6397 GB, free: 58.95 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.738e-05/1.973, allocations: 14.73 kB / 0.6397 GB, free: 58.95 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03389/2.007, allocations: 11.01 MB / 0.6505 GB, free: 50.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.503e-05/2.007, allocations: 4 kB / 0.6505 GB, free: 50.06 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005425/2.013, allocations: 0.4997 MB / 0.651 GB, free: 49.67 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004445/2.017, allocations: 0.9368 MB / 0.6519 GB, free: 49.03 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007471/2.018, allocations: 11.42 kB / 0.6519 GB, free: 49.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009864/2.028, allocations: 5.331 MB / 0.6571 GB, free: 44.34 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.045e-05/2.028, allocations: 14.62 kB / 0.6571 GB, free: 44.33 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01985/2.048, allocations: 9.436 MB / 0.6663 GB, free: 35.97 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003041/2.051, allocations: 0.8508 MB / 0.6672 GB, free: 35.18 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001264/2.052, allocations: 8 kB / 0.6672 GB, free: 35.17 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003869/2.056, allocations: 139.6 kB / 0.6673 GB, free: 35.1 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007606/2.057, allocations: 149.9 kB / 0.6675 GB, free: 35.01 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003023/2.057, allocations: 70.62 kB / 0.6675 GB, free: 34.94 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.004951/2.062, allocations: 2.236 MB / 0.6697 GB, free: 32.98 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.82e-07/2.062, allocations: 0 / 0.6697 GB, free: 32.98 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.008229/2.07, allocations: 1.079 MB / 0.6708 GB, free: 31.91 MB / 394.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.02276/2.093, allocations: 10.8 MB / 0.6813 GB, free: 21.02 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0181/2.111, allocations: 6.883 MB / 0.688 GB, free: 14.16 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.537e-06/2.111, allocations: 0 / 0.688 GB, free: 14.16 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006713/2.118, allocations: 2.62 MB / 0.6906 GB, free: 11.54 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003693/2.122, allocations: 360 kB / 0.6909 GB, free: 11.2 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03608/2.158, allocations: 11.4 MB / 0.7021 GB, free: 15.74 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009049/2.167, allocations: 3.891 MB / 0.7059 GB, free: 11.83 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.01129/2.178, allocations: 2.343 MB / 0.7082 GB, free: 9.492 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006866/2.185, allocations: 2.323 MB / 0.7104 GB, free: 7.168 MB / 410.7 MB Notification: Performance of SimCode: time 2.094e-06/2.185, allocations: 0 / 0.7104 GB, free: 7.168 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5041/2.689, allocations: 87.82 MB / 0.7962 GB, free: 53.84 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002475/2.69, allocations: 179.1 kB / 0.7964 GB, free: 53.64 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.578/8.268, allocations: 0 / 0.7964 GB, free: 53.64 MB / 410.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