Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_MovingActuatedDrive",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.44/2.44, allocations: 195 MB / 202.9 MB, free: 6.715 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.279e-05/4.308e-05, allocations: 2.938 kB / 249.8 MB, free: 5.258 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.1437, allocations: 44.51 MB / 294.3 MB, free: 10.64 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6188/0.7626, allocations: 92.31 MB / 386.6 MB, free: 4.426 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004789/0.7631, allocations: 89.09 kB / 386.7 MB, free: 4.41 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5166/1.28, allocations: 94.96 MB / 481.7 MB, free: 5.812 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.935e-06/1.28, allocations: 0 / 481.7 MB, free: 5.812 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003948/1.28, allocations: 100 kB / 481.8 MB, free: 5.715 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.0379/1.318, allocations: 5.495 MB / 487.3 MB, free: 156 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.733e-05/1.318, allocations: 8.031 kB / 487.3 MB, free: 148 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0251/1.343, allocations: 2.318 MB / 489.6 MB, free: 13.81 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02634/1.37, allocations: 4.913 MB / 494.5 MB, free: 8.836 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004381/1.37, allocations: 168 kB / 494.7 MB, free: 8.672 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0033/1.374, allocations: 299.8 kB / 494.9 MB, free: 8.383 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02723/1.401, allocations: 7.763 MB / 0.4909 GB, free: 0.6133 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.359/1.76, allocations: 11.52 MB / 0.5022 GB, free: 70.79 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005059/1.76, allocations: 67.33 kB / 0.5022 GB, free: 70.79 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003059/1.764, allocations: 34.56 kB / 0.5023 GB, free: 70.79 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003795/1.767, allocations: 1.203 MB / 0.5035 GB, free: 70.78 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1104/1.878, allocations: 54.86 MB / 0.557 GB, free: 40.03 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008923/1.887, allocations: 4.363 MB / 0.5613 GB, free: 37.9 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006573/1.893, allocations: 3.107 MB / 0.5643 GB, free: 36.62 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002223/1.896, allocations: 0.6796 MB / 0.565 GB, free: 36.03 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.79e-05/1.896, allocations: 58.59 kB / 0.565 GB, free: 35.98 MB / 394.7 MB Notification: Performance of pre-optimization done (n=221): time 7.664e-06/1.896, allocations: 0 / 0.565 GB, free: 35.98 MB / 394.7 MB Notification: Performance of matching and sorting (n=252): time 0.1021/1.998, allocations: 22.3 MB / 0.5868 GB, free: 27.57 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.714e-05/1.998, allocations: 159.7 kB / 0.587 GB, free: 27.4 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01192/2.01, allocations: 3.351 MB / 0.5902 GB, free: 26.15 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009865/2.011, allocations: 25.7 kB / 0.5903 GB, free: 26.12 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00491/2.016, allocations: 3.647 MB / 0.5938 GB, free: 23.38 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002391/2.018, allocations: 0.9206 MB / 0.5947 GB, free: 22.7 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001301/2.02, allocations: 0 / 0.5947 GB, free: 22.7 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0007937/2.021, allocations: 0.6142 MB / 0.5953 GB, free: 22.26 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01161/2.032, allocations: 2.879 MB / 0.5981 GB, free: 21.23 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01537/2.048, allocations: 7.058 MB / 0.605 GB, free: 14.58 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01202/2.06, allocations: 4.432 MB / 0.6094 GB, free: 11.18 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001843/2.06, allocations: 44 kB / 0.6094 GB, free: 11.13 MB / 394.7 MB Notification: Performance of matching and sorting (n=939) (initialization): time 0.03455/2.094, allocations: 10.05 MB / 0.6192 GB, free: 2.586 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001309/2.095, allocations: 71.94 kB / 0.6193 GB, free: 2.516 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00023/2.095, allocations: 148 kB / 0.6194 GB, free: 2.371 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005875/2.101, allocations: 1.141 MB / 0.6205 GB, free: 1.523 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01428/2.115, allocations: 1.782 MB / 0.6223 GB, free: 24 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01465/2.13, allocations: 5.638 MB / 0.6278 GB, free: 11.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00999/2.14, allocations: 298 kB / 0.6281 GB, free: 10.83 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002239/2.142, allocations: 457.5 kB / 0.6285 GB, free: 10.41 MB / 410.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.002128/2.144, allocations: 493.7 kB / 0.629 GB, free: 9.926 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01963/2.164, allocations: 5.406 MB / 0.6343 GB, free: 5.461 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001866/2.166, allocations: 367.2 kB / 0.6346 GB, free: 5.098 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01993/2.186, allocations: 5.285 MB / 0.6398 GB, free: 0.8867 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.132e-05/2.186, allocations: 24 kB / 0.6398 GB, free: 0.8633 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.867e-05/2.186, allocations: 4 kB / 0.6398 GB, free: 0.8594 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.342e-05/2.186, allocations: 19.91 kB / 0.6398 GB, free: 0.8516 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4345/2.621, allocations: 11.01 MB / 0.6506 GB, free: 81.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.982e-05/2.621, allocations: 4.219 kB / 0.6506 GB, free: 81.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006431/2.627, allocations: 0.5143 MB / 0.6511 GB, free: 81.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00529/2.632, allocations: 0.9273 MB / 0.652 GB, free: 81.69 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006958/2.633, allocations: 14.94 kB / 0.652 GB, free: 81.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01205/2.645, allocations: 5.33 MB / 0.6572 GB, free: 80.44 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.307e-06/2.645, allocations: 3.938 kB / 0.6572 GB, free: 80.44 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0251/2.67, allocations: 9.441 MB / 0.6664 GB, free: 79.41 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00373/2.674, allocations: 0.8448 MB / 0.6672 GB, free: 79.32 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0018/2.676, allocations: 10.45 kB / 0.6673 GB, free: 79.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005007/2.681, allocations: 141 kB / 0.6674 GB, free: 79.32 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001211/2.682, allocations: 156.2 kB / 0.6675 GB, free: 79.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004181/2.683, allocations: 66.84 kB / 0.6676 GB, free: 79.32 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.006204/2.689, allocations: 2.229 MB / 0.6698 GB, free: 79.14 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.81e-07/2.689, allocations: 0 / 0.6698 GB, free: 79.14 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0102/2.699, allocations: 1.084 MB / 0.6708 GB, free: 79.14 MB / 410.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.02614/2.725, allocations: 10.8 MB / 0.6814 GB, free: 76.95 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01793/2.743, allocations: 6.887 MB / 0.6881 GB, free: 75.04 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.668e-06/2.744, allocations: 0 / 0.6881 GB, free: 75.04 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007495/2.751, allocations: 2.626 MB / 0.6907 GB, free: 74.06 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004335/2.755, allocations: 354.9 kB / 0.691 GB, free: 73.89 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04309/2.799, allocations: 11.39 MB / 0.7021 GB, free: 70.03 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009398/2.808, allocations: 3.897 MB / 0.7059 GB, free: 68.63 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.01317/2.821, allocations: 2.345 MB / 0.7082 GB, free: 68.57 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007382/2.829, allocations: 2.321 MB / 0.7105 GB, free: 66.68 MB / 410.7 MB Notification: Performance of SimCode: time 1.553e-06/2.829, allocations: 0 / 0.7105 GB, free: 66.68 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7569/3.586, allocations: 87.85 MB / 0.7963 GB, free: 73.41 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002967/3.586, allocations: 180.8 kB / 0.7965 GB, free: 73.22 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 7.272/10.86, allocations: 6.531 kB / 0.7965 GB, free: 73.21 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive_res.mat does not exist to compare? outputFormat=mat