Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.788/1.788, allocations: 171.3 MB / 178.4 MB, free: 168 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.695e-05/2.665e-05, allocations: 4 kB / 219.6 MB, free: 6.945 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2922/0.2923, allocations: 38.77 MB / 258.4 MB, free: 12.17 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1513/0.4437, allocations: 85.89 MB / 344.2 MB, free: 7.852 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002774/0.444, allocations: 83.95 kB / 344.3 MB, free: 7.77 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5379/0.9819, allocations: 82.11 MB / 426.4 MB, free: 49.11 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.417e-06/0.982, allocations: 0 / 426.4 MB, free: 49.11 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002499/0.9822, allocations: 87.88 kB / 426.5 MB, free: 49.02 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: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.02452/1.007, allocations: 4.482 MB / 431 MB, free: 44.48 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.606e-05/1.007, allocations: 8.031 kB / 431 MB, free: 44.48 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01725/1.024, allocations: 2.218 MB / 433.2 MB, free: 42.25 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01619/1.04, allocations: 4.456 MB / 437.7 MB, free: 37.77 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002726/1.041, allocations: 136 kB / 437.8 MB, free: 37.64 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002391/1.043, allocations: 247.9 kB / 438.1 MB, free: 37.4 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01679/1.06, allocations: 6.337 MB / 444.4 MB, free: 31.06 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02405/1.084, allocations: 9.676 MB / 454.1 MB, free: 20.33 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002376/1.084, allocations: 63.41 kB / 454.1 MB, free: 20.27 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001373/1.086, allocations: 32 kB / 454.2 MB, free: 20.23 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002321/1.088, allocations: 0.9979 MB / 455.2 MB, free: 19.23 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07607/1.164, allocations: 46.91 MB / 0.4903 GB, free: 2.957 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2574/1.422, allocations: 3.222 MB / 0.4934 GB, free: 81.75 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004167/1.426, allocations: 1.727 MB / 0.4951 GB, free: 81.72 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01188/1.438, allocations: 4.236 MB / 0.4993 GB, free: 80.54 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.349e-05/1.438, allocations: 54.39 kB / 0.4993 GB, free: 80.5 MB / 346.7 MB Notification: Performance of pre-optimization done (n=139): time 6.232e-06/1.438, allocations: 0 / 0.4993 GB, free: 80.5 MB / 346.7 MB Notification: Performance of matching and sorting (n=146): time 0.03602/1.474, allocations: 12.04 MB / 0.5111 GB, free: 78.11 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.226e-05/1.474, allocations: 150.9 kB / 0.5112 GB, free: 77.95 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0066/1.481, allocations: 3.144 MB / 0.5143 GB, free: 77.62 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003918/1.481, allocations: 29.64 kB / 0.5143 GB, free: 77.59 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00267/1.484, allocations: 3.244 MB / 0.5175 GB, free: 75.64 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009448/1.485, allocations: 0.5768 MB / 0.518 GB, free: 75.33 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007081/1.486, allocations: 0 / 0.518 GB, free: 75.33 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0004052/1.486, allocations: 0.5625 MB / 0.5186 GB, free: 75.01 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004283/1.49, allocations: 1.858 MB / 0.5204 GB, free: 74.84 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008538/1.499, allocations: 5.79 MB / 0.5261 GB, free: 68.84 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01081/1.51, allocations: 3.252 MB / 0.5292 GB, free: 67.91 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002227/1.51, allocations: 41.72 kB / 0.5293 GB, free: 67.91 MB / 346.7 MB Notification: Performance of matching and sorting (n=799) (initialization): time 0.05243/1.562, allocations: 7.433 MB / 0.5365 GB, free: 65.86 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001741/1.563, allocations: 69.38 kB / 0.5366 GB, free: 65.86 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002897/1.563, allocations: 141.7 kB / 0.5367 GB, free: 65.86 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01159/1.575, allocations: 0.9237 MB / 0.5376 GB, free: 65.72 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01769/1.592, allocations: 1.433 MB / 0.539 GB, free: 65.55 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01209/1.604, allocations: 4.623 MB / 0.5436 GB, free: 63.06 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009819/1.614, allocations: 217.4 kB / 0.5438 GB, free: 63.04 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001987/1.616, allocations: 385.2 kB / 0.5441 GB, free: 62.99 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 649 * Number of states: 0 () * Number of discrete variables: 33 (rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[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 (760): * Single equations (assignments): 756 * 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.002897/1.619, allocations: 463.1 kB / 0.5446 GB, free: 62.61 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01202/1.631, allocations: 2.999 MB / 0.5475 GB, free: 61.64 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001377/1.633, allocations: 313.9 kB / 0.5478 GB, free: 61.34 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01097/1.644, allocations: 2.716 MB / 0.5505 GB, free: 59.22 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.994e-05/1.644, allocations: 16 kB / 0.5505 GB, free: 59.21 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.963e-05/1.644, allocations: 7.5 kB / 0.5505 GB, free: 59.2 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.138e-05/1.644, allocations: 10.47 kB / 0.5505 GB, free: 59.2 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02592/1.67, allocations: 6.113 MB / 0.5565 GB, free: 54.36 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-05/1.67, allocations: 5.406 kB / 0.5565 GB, free: 54.36 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003073/1.673, allocations: 245.9 kB / 0.5567 GB, free: 54.16 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004741/1.678, allocations: 0.6945 MB / 0.5574 GB, free: 53.71 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004583/1.679, allocations: 4 kB / 0.5574 GB, free: 53.71 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01025/1.689, allocations: 4.182 MB / 0.5615 GB, free: 49.97 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.788e-06/1.689, allocations: 0 / 0.5615 GB, free: 49.97 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01568/1.705, allocations: 4.996 MB / 0.5663 GB, free: 45.67 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002618/1.707, allocations: 0.5665 MB / 0.5669 GB, free: 45.12 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001378/1.709, allocations: 11.12 kB / 0.5669 GB, free: 45.12 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003622/1.712, allocations: 67.59 kB / 0.567 GB, free: 45.09 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000763/1.713, allocations: 83.86 kB / 0.5671 GB, free: 45.04 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002248/1.713, allocations: 36 kB / 0.5671 GB, free: 45 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.006941/1.72, allocations: 2.089 MB / 0.5691 GB, free: 43.2 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.242e-06/1.72, allocations: 4 kB / 0.5691 GB, free: 43.19 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.01102/1.731, allocations: 0.8206 MB / 0.5699 GB, free: 42.38 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 111 * 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 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01653/1.748, allocations: 5.789 MB / 0.5756 GB, free: 37.29 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.01306/1.761, allocations: 4.45 MB / 0.5799 GB, free: 33.27 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.835e-06/1.761, allocations: 0 / 0.5799 GB, free: 33.27 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00379/1.765, allocations: 1.298 MB / 0.5812 GB, free: 32.1 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003889/1.769, allocations: 318.2 kB / 0.5815 GB, free: 31.83 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03792/1.807, allocations: 8.341 MB / 0.5896 GB, free: 24.61 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009485/1.817, allocations: 3.311 MB / 0.5929 GB, free: 22.09 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.01153/1.828, allocations: 1.91 MB / 0.5947 GB, free: 20.67 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006033/1.834, allocations: 1.839 MB / 0.5965 GB, free: 18.83 MB / 346.7 MB Notification: Performance of SimCode: time 1.403e-06/1.834, allocations: 0 / 0.5965 GB, free: 18.83 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5665/2.401, allocations: 67.76 MB / 0.6627 GB, free: 82.42 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002844/2.401, allocations: 159.6 kB / 0.6629 GB, free: 82.23 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.059/7.46, allocations: 0 / 0.6629 GB, free: 82.23 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.mat does not exist to compare? outputFormat=mat