Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_MovingActuatedDrive",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.959/1.959, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.53e-05/3.548e-05, allocations: 0 / 292.2 MB, free: 8.258 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1208, allocations: 50.41 MB / 342.6 MB, free: 5.824 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4891/0.61, allocations: 100.1 MB / 442.8 MB, free: 10.37 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000309/0.6104, allocations: 82.95 kB / 442.9 MB, free: 10.33 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.738/1.348, allocations: 95.34 MB / 0.5256 GB, free: 93.27 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.094e-06/1.348, allocations: 0 / 0.5256 GB, free: 93.27 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003805/1.349, allocations: 101.2 kB / 0.5257 GB, free: 93.27 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1765 * Number of variables: 1765 Notification: Performance of Generate backend data structure: time 0.03269/1.382, allocations: 5.342 MB / 0.5309 GB, free: 92.57 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.661e-05/1.382, allocations: 12.59 kB / 0.5309 GB, free: 92.57 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0048/1.386, allocations: 0.8859 MB / 0.5318 GB, free: 92.49 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01916/1.406, allocations: 2.281 MB / 0.534 GB, free: 92.16 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01984/1.426, allocations: 4.689 MB / 0.5386 GB, free: 91.57 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000637/1.426, allocations: 374.5 kB / 0.539 GB, free: 91.56 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003412/1.43, allocations: 0.4915 MB / 0.5394 GB, free: 91.56 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04103/1.471, allocations: 12.39 MB / 0.5515 GB, free: 88.6 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003615/1.471, allocations: 69.17 kB / 0.5516 GB, free: 88.59 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002715/1.474, allocations: 244 kB / 0.5518 GB, free: 88.59 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002801/1.477, allocations: 1.137 MB / 0.5529 GB, free: 88.58 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03308/1.51, allocations: 10.4 MB / 0.5631 GB, free: 88.56 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08864/1.599, allocations: 55.56 MB / 0.6174 GB, free: 49.3 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02546/1.624, allocations: 4.911 MB / 0.6222 GB, free: 47.56 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005961/1.63, allocations: 3.004 MB / 0.6251 GB, free: 46.31 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001836/1.632, allocations: 0.6835 MB / 0.6258 GB, free: 45.72 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.423e-05/1.632, allocations: 54.75 kB / 0.6258 GB, free: 45.66 MB / 442.7 MB Notification: Performance of pre-optimization done (n=200): time 6.512e-06/1.632, allocations: 0 / 0.6258 GB, free: 45.66 MB / 442.7 MB Notification: Performance of matching and sorting (n=231): time 0.1045/1.737, allocations: 20.51 MB / 0.6458 GB, free: 30.39 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.604e-05/1.737, allocations: 157.8 kB / 0.646 GB, free: 30.21 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009025/1.746, allocations: 3.964 MB / 0.6499 GB, free: 26.68 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000709/1.747, allocations: 57.7 kB / 0.6499 GB, free: 26.61 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003081/1.75, allocations: 3.492 MB / 0.6533 GB, free: 23.48 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001478/1.751, allocations: 0.876 MB / 0.6542 GB, free: 22.71 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008974/1.752, allocations: 136 kB / 0.6543 GB, free: 22.57 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0004369/1.753, allocations: 0.59 MB / 0.6549 GB, free: 22.06 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006771/1.759, allocations: 2.81 MB / 0.6576 GB, free: 19.57 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009397/1.769, allocations: 6.711 MB / 0.6642 GB, free: 11.33 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009234/1.778, allocations: 4.306 MB / 0.6684 GB, free: 7.656 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001129/1.778, allocations: 40 kB / 0.6684 GB, free: 7.617 MB / 442.7 MB Notification: Performance of matching and sorting (n=874) (initialization): time 0.02874/1.807, allocations: 10.01 MB / 0.6782 GB, free: 14.86 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001377/1.807, allocations: 64 kB / 0.6783 GB, free: 14.8 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002226/1.807, allocations: 140 kB / 0.6784 GB, free: 14.66 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005184/1.813, allocations: 1.133 MB / 0.6795 GB, free: 13.52 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01173/1.824, allocations: 1.669 MB / 0.6811 GB, free: 11.85 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01334/1.838, allocations: 5.921 MB / 0.6869 GB, free: 5.789 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008597/1.846, allocations: 411.5 kB / 0.6873 GB, free: 5.387 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001839/1.848, allocations: 423.8 kB / 0.6877 GB, free: 4.977 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 636 * Number of states: 0 () * Number of discrete variables: 44 (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.torqueArrow.arrowLine.twoHeadedArrow,torque.torqueArrow.headAtOrigin,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.groundColor[3],world.groundColor[2],world.groundColor[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 (835): * Single equations (assignments): 831 * 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.001858/1.85, allocations: 0.6119 MB / 0.6883 GB, free: 4.355 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001251/1.851, allocations: 402.8 kB / 0.6887 GB, free: 3.957 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3551/2.207, allocations: 5.136 MB / 0.6937 GB, free: 97.76 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.498e-05/2.207, allocations: 25.77 kB / 0.6937 GB, free: 97.76 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.813e-05/2.207, allocations: 4.5 kB / 0.6937 GB, free: 97.76 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-05/2.207, allocations: 13.14 kB / 0.6937 GB, free: 97.76 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03562/2.242, allocations: 11.41 MB / 0.7049 GB, free: 96.98 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.843e-05/2.243, allocations: 9.609 kB / 0.7049 GB, free: 96.98 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004993/2.248, allocations: 473.5 kB / 0.7054 GB, free: 96.98 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004514/2.252, allocations: 0.9376 MB / 0.7063 GB, free: 96.97 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006195/2.253, allocations: 48.58 kB / 0.7063 GB, free: 96.97 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01099/2.264, allocations: 5.627 MB / 0.7118 GB, free: 95.65 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.294e-06/2.264, allocations: 10.3 kB / 0.7118 GB, free: 95.64 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0203/2.284, allocations: 9.12 MB / 0.7207 GB, free: 94.62 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003215/2.287, allocations: 0.8663 MB / 0.7216 GB, free: 94.53 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001287/2.289, allocations: 41.7 kB / 0.7216 GB, free: 94.53 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004092/2.293, allocations: 162.7 kB / 0.7218 GB, free: 94.53 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006951/2.294, allocations: 138.4 kB / 0.7219 GB, free: 94.52 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00029/2.294, allocations: 70.98 kB / 0.722 GB, free: 94.52 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.006284/2.3, allocations: 2.775 MB / 0.7247 GB, free: 94.32 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.943e-06/2.3, allocations: 0 / 0.7247 GB, free: 94.32 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00805/2.308, allocations: 1.204 MB / 0.7259 GB, free: 94.32 MB / 458.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 (203): * Single equations (assignments): 199 * 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.03323/2.342, allocations: 10.48 MB / 0.7361 GB, free: 89.94 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01962/2.361, allocations: 6.573 MB / 0.7425 GB, free: 88 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.028e-05/2.361, allocations: 2.719 kB / 0.7425 GB, free: 88 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005987/2.367, allocations: 2.497 MB / 0.7449 GB, free: 87.08 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004054/2.371, allocations: 445.4 kB / 0.7454 GB, free: 86.88 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0355/2.407, allocations: 11.2 MB / 0.7563 GB, free: 82.98 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00778/2.415, allocations: 3.765 MB / 0.76 GB, free: 81.62 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01002/2.425, allocations: 2.228 MB / 0.7622 GB, free: 81.57 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005852/2.431, allocations: 2.231 MB / 0.7643 GB, free: 79.78 MB / 458.7 MB Notification: Performance of SimCode: time 1.593e-06/2.431, allocations: 0 / 0.7643 GB, free: 79.78 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2022/2.633, allocations: 93 MB / 0.8552 GB, free: 1.176 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002824/2.633, allocations: 200.5 kB / 0.8554 GB, free: 0.9531 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.352/8.985, allocations: 64 / 0.8554 GB, free: 0.9531 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive_res.mat does not exist to compare? outputFormat=mat