Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_MultiBody_Examples_Elementary_ForceAndTorque",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.642/1.642, allocations: 171.2 MB / 183.3 MB, free: 12.02 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.144e-05/3.153e-05, allocations: 4 kB / 225.1 MB, free: 2.199 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2577/0.2577, allocations: 38.77 MB / 263.9 MB, free: 9.684 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1544/0.4121, allocations: 88.91 MB / 352.8 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003111/0.4125, allocations: 79.95 kB / 352.9 MB, free: 0.5547 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5824/0.9949, allocations: 97.09 MB / 449.9 MB, free: 23.52 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.9949, allocations: 0 / 449.9 MB, free: 23.52 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002661/0.9952, allocations: 92 kB / 450 MB, free: 23.43 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: 1732 * Number of variables: 1732 Notification: Performance of Generate backend data structure: time 0.01686/1.012, allocations: 4.662 MB / 454.7 MB, free: 18.7 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/1.012, allocations: 12.03 kB / 454.7 MB, free: 18.69 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002584/1.015, allocations: 0.8773 MB / 455.6 MB, free: 17.8 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03188/1.047, allocations: 4.491 MB / 460.1 MB, free: 13.3 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01797/1.065, allocations: 5.046 MB / 465.1 MB, free: 8.188 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003827/1.065, allocations: 357.4 kB / 465.5 MB, free: 7.836 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002254/1.067, allocations: 475.8 kB / 465.9 MB, free: 7.371 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03395/1.101, allocations: 11.95 MB / 477.9 MB, free: 10.36 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003004/1.102, allocations: 59.47 kB / 477.9 MB, free: 10.3 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00189/1.104, allocations: 235.8 kB / 478.2 MB, free: 10.07 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002901/1.107, allocations: 1.195 MB / 479.4 MB, free: 8.867 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03234/1.139, allocations: 9.812 MB / 489.2 MB, free: 15.04 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3285/1.467, allocations: 52.84 MB / 0.5293 GB, free: 28.67 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02042/1.488, allocations: 5.179 MB / 0.5344 GB, free: 28.01 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005115/1.493, allocations: 2.61 MB / 0.5369 GB, free: 27.97 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01968/1.513, allocations: 8.049 MB / 0.5448 GB, free: 26.2 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.175e-05/1.513, allocations: 59.56 kB / 0.5448 GB, free: 26.16 MB / 346.7 MB Notification: Performance of pre-optimization done (n=216): time 6.082e-06/1.513, allocations: 0 / 0.5448 GB, free: 26.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=237): time 0.0712/1.584, allocations: 16.66 MB / 0.5611 GB, free: 22.97 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.221e-05/1.584, allocations: 185.4 kB / 0.5613 GB, free: 22.78 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00909/1.593, allocations: 4.16 MB / 0.5654 GB, free: 21.34 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005853/1.594, allocations: 58.34 kB / 0.5654 GB, free: 21.28 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002907/1.597, allocations: 3.413 MB / 0.5687 GB, free: 18.77 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001308/1.598, allocations: 0.8897 MB / 0.5696 GB, free: 18.12 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007347/1.599, allocations: 139.5 kB / 0.5697 GB, free: 18.02 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0004003/1.599, allocations: 0.5855 MB / 0.5703 GB, free: 17.59 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005953/1.605, allocations: 2.448 MB / 0.5727 GB, free: 16.75 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008188/1.614, allocations: 6.314 MB / 0.5789 GB, free: 10.73 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008522/1.622, allocations: 3.92 MB / 0.5827 GB, free: 9.578 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001246/1.622, allocations: 39.31 kB / 0.5827 GB, free: 9.578 MB / 346.7 MB Notification: Performance of matching and sorting (n=864) (initialization): time 0.02462/1.647, allocations: 9.366 MB / 0.5919 GB, free: 4.641 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001023/1.647, allocations: 64 kB / 0.5919 GB, free: 4.578 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001791/1.647, allocations: 136 kB / 0.5921 GB, free: 4.445 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003652/1.651, allocations: 0.9237 MB / 0.593 GB, free: 3.738 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01043/1.662, allocations: 1.594 MB / 0.5945 GB, free: 2.379 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0137/1.675, allocations: 5.917 MB / 0.6003 GB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007659/1.683, allocations: 380.4 kB / 0.6007 GB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001638/1.685, allocations: 403.5 kB / 0.6011 GB, free: 12.86 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 624 * Number of states: 0 () * Number of discrete variables: 39 (fixed2.color[3],fixed2.color[2],fixed2.color[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],forceAndTorque.connectionLineColor[3],forceAndTorque.connectionLineColor[2],forceAndTorque.connectionLineColor[1],forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (816): * Single equations (assignments): 812 * 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 {(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002436/1.687, allocations: 0.5994 MB / 0.6016 GB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001232/1.688, allocations: 418.6 kB / 0.602 GB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01287/1.701, allocations: 4.236 MB / 0.6062 GB, free: 8.352 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.267e-05/1.701, allocations: 35.66 kB / 0.6062 GB, free: 8.32 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.501e-05/1.701, allocations: 4 kB / 0.6062 GB, free: 8.316 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.853e-05/1.701, allocations: 7.594 kB / 0.6062 GB, free: 8.316 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03075/1.732, allocations: 10.35 MB / 0.6163 GB, free: 15.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.35e-05/1.732, allocations: 4 kB / 0.6163 GB, free: 15.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004755/1.737, allocations: 472.3 kB / 0.6168 GB, free: 15.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003455/1.741, allocations: 0.7167 MB / 0.6175 GB, free: 15 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006002/1.741, allocations: 47.52 kB / 0.6175 GB, free: 14.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01213/1.753, allocations: 5.317 MB / 0.6227 GB, free: 10.21 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.467e-05/1.753, allocations: 11.94 kB / 0.6227 GB, free: 10.2 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0193/1.773, allocations: 8.233 MB / 0.6308 GB, free: 2.582 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003123/1.776, allocations: 0.821 MB / 0.6316 GB, free: 1.812 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008071/1.777, allocations: 51.03 kB / 0.6316 GB, free: 1.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003102/1.78, allocations: 139.2 kB / 0.6318 GB, free: 1.68 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005036/1.78, allocations: 150 kB / 0.6319 GB, free: 1.578 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002699/1.781, allocations: 70.98 kB / 0.632 GB, free: 1.516 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.2809/2.061, allocations: 3.066 MB / 0.635 GB, free: 88.64 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.72e-07/2.062, allocations: 0.5312 kB / 0.635 GB, free: 88.64 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.007984/2.07, allocations: 1.15 MB / 0.6361 GB, free: 88.64 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 4 (revolute2.phi,revolute2.w,revolute1.phi,revolute1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (198): * Single equations (assignments): 194 * 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 {(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01828/2.088, allocations: 10.05 MB / 0.6459 GB, free: 85.53 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01332/2.101, allocations: 6.042 MB / 0.6518 GB, free: 85.36 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.919e-06/2.101, allocations: 0 / 0.6518 GB, free: 85.36 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005536/2.107, allocations: 2.233 MB / 0.654 GB, free: 85.21 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004169/2.111, allocations: 478.3 kB / 0.6544 GB, free: 85.2 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03201/2.143, allocations: 10.81 MB / 0.665 GB, free: 83.26 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006754/2.15, allocations: 3.762 MB / 0.6687 GB, free: 82.45 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.009421/2.159, allocations: 2.217 MB / 0.6708 GB, free: 82.41 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005074/2.164, allocations: 2.216 MB / 0.673 GB, free: 81.42 MB / 378.7 MB Notification: Performance of SimCode: time 1.172e-06/2.165, allocations: 0 / 0.673 GB, free: 81.42 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2603/2.425, allocations: 90.48 MB / 0.7613 GB, free: 13.08 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002512/2.425, allocations: 186.3 kB / 0.7615 GB, free: 12.86 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.485/7.91, allocations: 0 / 0.7615 GB, free: 12.86 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque_res.mat does not exist to compare? outputFormat=mat