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.765/1.765, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.461e-05/3.468e-05, allocations: 4 kB / 225.1 MB, free: 2.238 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2602/0.2603, allocations: 38.77 MB / 263.9 MB, free: 9.711 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1982/0.4585, allocations: 86.56 MB / 350.4 MB, free: 3.016 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000322/0.4589, allocations: 87.94 kB / 350.5 MB, free: 2.93 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5949/1.054, allocations: 83.78 MB / 434.3 MB, free: 39.21 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.556e-06/1.054, allocations: 0 / 434.3 MB, free: 39.21 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002504/1.054, allocations: 76 kB / 434.4 MB, free: 39.14 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.02502/1.079, allocations: 4.486 MB / 438.9 MB, free: 34.59 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.469e-05/1.079, allocations: 12.03 kB / 438.9 MB, free: 34.57 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003389/1.083, allocations: 0.7628 MB / 439.6 MB, free: 33.8 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0172/1.1, allocations: 2.218 MB / 441.9 MB, free: 31.57 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01622/1.116, allocations: 4.454 MB / 446.3 MB, free: 27.05 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003711/1.117, allocations: 324.4 kB / 446.6 MB, free: 26.73 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002423/1.119, allocations: 427.8 kB / 447 MB, free: 26.32 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03148/1.151, allocations: 10.64 MB / 457.7 MB, free: 14.62 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002708/1.151, allocations: 59.41 kB / 457.7 MB, free: 14.56 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001843/1.153, allocations: 215.8 kB / 458 MB, free: 14.35 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002382/1.155, allocations: 0.9984 MB / 458.9 MB, free: 13.35 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02657/1.182, allocations: 8.655 MB / 467.6 MB, free: 4.676 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3484/1.53, allocations: 48.87 MB / 0.5044 GB, free: 41.91 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01834/1.549, allocations: 3.465 MB / 0.5078 GB, free: 41.25 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003781/1.552, allocations: 1.768 MB / 0.5095 GB, free: 41.21 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01107/1.564, allocations: 4.367 MB / 0.5137 GB, free: 39.97 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.105e-05/1.564, allocations: 52.72 kB / 0.5138 GB, free: 39.93 MB / 346.7 MB Notification: Performance of pre-optimization done (n=139): time 5.23e-06/1.564, allocations: 1.125 kB / 0.5138 GB, free: 39.93 MB / 346.7 MB Notification: Performance of matching and sorting (n=145): time 0.03697/1.601, allocations: 9.725 MB / 0.5233 GB, free: 37.3 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.602e-05/1.601, allocations: 147.4 kB / 0.5234 GB, free: 37.14 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009087/1.61, allocations: 3.677 MB / 0.527 GB, free: 36.76 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003918/1.61, allocations: 49.59 kB / 0.5271 GB, free: 36.73 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002851/1.613, allocations: 3.174 MB / 0.5302 GB, free: 34.96 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009832/1.614, allocations: 0.5868 MB / 0.5307 GB, free: 34.65 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007794/1.615, allocations: 122 kB / 0.5309 GB, free: 34.65 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0004442/1.616, allocations: 0.5574 MB / 0.5314 GB, free: 34.33 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004876/1.62, allocations: 1.919 MB / 0.5333 GB, free: 34.31 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007614/1.628, allocations: 5.669 MB / 0.5388 GB, free: 29.39 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007397/1.636, allocations: 3.292 MB / 0.542 GB, free: 28.89 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000179/1.636, allocations: 38.47 kB / 0.5421 GB, free: 28.89 MB / 346.7 MB Notification: Performance of matching and sorting (n=768) (initialization): time 0.02278/1.659, allocations: 7.687 MB / 0.5496 GB, free: 27 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001252/1.659, allocations: 68.78 kB / 0.5496 GB, free: 27 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002191/1.659, allocations: 134.4 kB / 0.5498 GB, free: 27 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004315/1.663, allocations: 0.9139 MB / 0.5507 GB, free: 26.88 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008533/1.672, allocations: 1.382 MB / 0.552 GB, free: 26.71 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009222/1.681, allocations: 4.785 MB / 0.5567 GB, free: 24.12 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006987/1.688, allocations: 336.5 kB / 0.557 GB, free: 24.01 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001532/1.69, allocations: 370.8 kB / 0.5574 GB, free: 23.96 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 619 * 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 (729): * Single equations (assignments): 725 * 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.002378/1.692, allocations: 0.562 MB / 0.5579 GB, free: 23.5 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000997/1.693, allocations: 349 kB / 0.5582 GB, free: 23.3 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009377/1.703, allocations: 2.805 MB / 0.561 GB, free: 21.56 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.762e-05/1.703, allocations: 19.84 kB / 0.561 GB, free: 21.54 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.256e-05/1.703, allocations: 4 kB / 0.561 GB, free: 21.54 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.059e-05/1.703, allocations: 6.328 kB / 0.561 GB, free: 21.54 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02185/1.725, allocations: 6.957 MB / 0.5678 GB, free: 15.98 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.596e-05/1.725, allocations: 0 / 0.5678 GB, free: 15.98 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002561/1.727, allocations: 239.3 kB / 0.568 GB, free: 15.8 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003859/1.731, allocations: 0.6973 MB / 0.5687 GB, free: 15.34 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003977/1.732, allocations: 27.28 kB / 0.5687 GB, free: 15.32 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00819/1.74, allocations: 4.343 MB / 0.573 GB, free: 11.42 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/1.74, allocations: 0 / 0.573 GB, free: 11.42 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01263/1.753, allocations: 5.092 MB / 0.5779 GB, free: 7.016 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002401/1.755, allocations: 0.6132 MB / 0.5785 GB, free: 6.43 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001146/1.756, allocations: 27.89 kB / 0.5786 GB, free: 6.402 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003064/1.759, allocations: 83.03 kB / 0.5787 GB, free: 6.352 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005907/1.76, allocations: 87.34 kB / 0.5787 GB, free: 6.293 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001669/1.76, allocations: 44.27 kB / 0.5788 GB, free: 6.254 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.006637/1.767, allocations: 2.555 MB / 0.5813 GB, free: 3.977 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.01e-07/1.767, allocations: 0 / 0.5813 GB, free: 3.977 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0077/1.775, allocations: 0.9561 MB / 0.5822 GB, free: 3.027 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 (114): * Single equations (assignments): 110 * 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.01495/1.79, allocations: 5.951 MB / 0.588 GB, free: 13.96 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01226/1.802, allocations: 4.468 MB / 0.5924 GB, free: 9.91 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.988e-05/1.802, allocations: 0 / 0.5924 GB, free: 9.91 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00344/1.805, allocations: 1.306 MB / 0.5937 GB, free: 8.727 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003779/1.809, allocations: 402 kB / 0.594 GB, free: 8.387 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03147/1.841, allocations: 8.528 MB / 0.6024 GB, free: 0.9961 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007379/1.848, allocations: 3.314 MB / 0.6056 GB, free: 14.07 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00904/1.857, allocations: 1.87 MB / 0.6074 GB, free: 12.2 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004849/1.862, allocations: 1.839 MB / 0.6092 GB, free: 10.36 MB / 378.7 MB Notification: Performance of SimCode: time 1.493e-06/1.862, allocations: 3.938 kB / 0.6092 GB, free: 10.36 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4715/2.334, allocations: 73.64 MB / 0.6811 GB, free: 105.1 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002926/2.334, allocations: 189.2 kB / 0.6813 GB, free: 104.8 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.357/7.691, allocations: 0 / 0.6813 GB, free: 104.8 MB / 394.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