Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutTorque3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.475/2.475, allocations: 270 MB / 283.6 MB, free: 3.121 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.461e-05/3.478e-05, allocations: 4 kB / 348.5 MB, free: 10.72 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1388, allocations: 61.89 MB / 410.4 MB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.563/0.7018, allocations: 102.8 MB / 0.5011 GB, free: 1.262 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002909/0.7022, allocations: 75.97 kB / 0.5012 GB, free: 1.188 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2201/0.9223, allocations: 53.75 MB / 0.5537 GB, free: 11.12 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.9224, allocations: 0 / 0.5537 GB, free: 11.12 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002188/0.9226, allocations: 56 kB / 0.5537 GB, free: 11.06 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1004 * Number of variables: 1004 Notification: Performance of Generate backend data structure: time 0.01006/0.9327, allocations: 2.515 MB / 0.5562 GB, free: 8.492 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.322e-05/0.9328, allocations: 12.03 kB / 0.5562 GB, free: 8.48 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002468/0.9352, allocations: 0.523 MB / 0.5567 GB, free: 7.949 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01406/0.9493, allocations: 1.798 MB / 0.5584 GB, free: 6.145 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006271/0.9557, allocations: 1.676 MB / 0.5601 GB, free: 4.418 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003391/0.9561, allocations: 209.5 kB / 0.5603 GB, free: 4.211 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001604/0.9577, allocations: 267.9 kB / 0.5605 GB, free: 3.949 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01999/0.9777, allocations: 6.231 MB / 0.5666 GB, free: 13.38 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001039/0.9778, allocations: 11.88 kB / 0.5666 GB, free: 13.37 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009714/0.9788, allocations: 127.9 kB / 0.5667 GB, free: 13.24 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001528/0.9804, allocations: 0.6333 MB / 0.5674 GB, free: 12.61 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02463/1.005, allocations: 5.352 MB / 0.5726 GB, free: 7.246 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05644/1.062, allocations: 22.31 MB / 0.5944 GB, free: 284 kB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007096/1.069, allocations: 1.997 MB / 0.5963 GB, free: 14.15 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001638/1.07, allocations: 0.6864 MB / 0.597 GB, free: 13.46 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01075/1.081, allocations: 3.69 MB / 0.6006 GB, free: 9.621 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.916e-05/1.081, allocations: 35 kB / 0.6006 GB, free: 9.578 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=78): time 5.13e-06/1.081, allocations: 0 / 0.6006 GB, free: 9.578 MB / 0.5105 GB Notification: Performance of matching and sorting (n=78): time 0.00827/1.09, allocations: 1.581 MB / 0.6022 GB, free: 7.988 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.611e-05/1.09, allocations: 59.84 kB / 0.6022 GB, free: 7.918 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00372/1.093, allocations: 1.718 MB / 0.6039 GB, free: 6.199 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001062/1.094, allocations: 37.7 kB / 0.604 GB, free: 6.156 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001792/1.095, allocations: 1.883 MB / 0.6058 GB, free: 4.242 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004451/1.096, allocations: 316 kB / 0.6061 GB, free: 3.93 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001904/1.096, allocations: 60 kB / 0.6062 GB, free: 3.871 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003966/1.096, allocations: 497 kB / 0.6066 GB, free: 3.375 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002053/1.098, allocations: 0.8374 MB / 0.6074 GB, free: 2.535 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4142/1.513, allocations: 2.662 MB / 0.61 GB, free: 141.4 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004539/1.517, allocations: 1.524 MB / 0.6115 GB, free: 141.4 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001255/1.518, allocations: 19.16 kB / 0.6115 GB, free: 141.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=386) (initialization): time 0.01044/1.528, allocations: 3.231 MB / 0.6147 GB, free: 141.3 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.968e-05/1.528, allocations: 34.03 kB / 0.6147 GB, free: 141.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001546/1.528, allocations: 69.22 kB / 0.6148 GB, free: 141.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001955/1.528, allocations: 96.91 kB / 0.6149 GB, free: 141.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004303/1.533, allocations: 0.6581 MB / 0.6155 GB, free: 141.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002097/1.533, allocations: 129.2 kB / 0.6157 GB, free: 141.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003489/1.537, allocations: 408.7 kB / 0.6161 GB, free: 141.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008571/1.537, allocations: 182.8 kB / 0.6162 GB, free: 141.2 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 302 * Number of states: 0 () * Number of discrete variables: 26 (worldTorque.color[3],worldTorque.color[2],worldTorque.color[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutTorque.torqueArrow.arrowLine.twoHeadedArrow,cutTorque.torqueArrow.headAtOrigin,cutTorque.torqueColor[3],cutTorque.torqueColor[2],cutTorque.torqueColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (362): * Single equations (assignments): 359 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001163/1.539, allocations: 342.6 kB / 0.6166 GB, free: 141 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004295/1.539, allocations: 158.7 kB / 0.6167 GB, free: 141 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006965/1.54, allocations: 204.3 kB / 0.6169 GB, free: 141 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.604e-05/1.54, allocations: 12.66 kB / 0.6169 GB, free: 141 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-05/1.54, allocations: 1.609 kB / 0.6169 GB, free: 141 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.273e-05/1.54, allocations: 4.422 kB / 0.6169 GB, free: 141 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01256/1.552, allocations: 4.084 MB / 0.6209 GB, free: 140.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.032e-05/1.553, allocations: 6.312 kB / 0.6209 GB, free: 140.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009012/1.553, allocations: 102 kB / 0.621 GB, free: 140.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.888e-05/1.554, allocations: 10.28 kB / 0.621 GB, free: 140.3 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001113/1.554, allocations: 22.95 kB / 0.621 GB, free: 140.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.17e-05/1.554, allocations: 17.94 kB / 0.6211 GB, free: 140.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-05/1.554, allocations: 10.53 kB / 0.6211 GB, free: 140.3 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002657/1.556, allocations: 1.727 MB / 0.6228 GB, free: 139.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006514/1.557, allocations: 255.5 kB / 0.623 GB, free: 139 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003253/1.557, allocations: 18.86 kB / 0.623 GB, free: 139 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001195/1.559, allocations: 31.16 kB / 0.623 GB, free: 139 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002604/1.559, allocations: 54.19 kB / 0.6231 GB, free: 139 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001647/1.559, allocations: 34.34 kB / 0.6231 GB, free: 139 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005958/1.565, allocations: 1.255 MB / 0.6244 GB, free: 138.9 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.947e-06/1.565, allocations: 0 / 0.6244 GB, free: 138.9 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007308/1.573, allocations: 0.7159 MB / 0.6251 GB, free: 138.8 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 54 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00369/1.576, allocations: 4.031 MB / 0.629 GB, free: 135.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004956/1.581, allocations: 1.869 MB / 0.6308 GB, free: 135.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.129e-05/1.581, allocations: 1.469 kB / 0.6308 GB, free: 135.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001036/1.582, allocations: 450 kB / 0.6312 GB, free: 135.4 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001934/1.584, allocations: 234.6 kB / 0.6315 GB, free: 135.4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01781/1.602, allocations: 5.021 MB / 0.6364 GB, free: 134.2 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005073/1.607, allocations: 2.378 MB / 0.6387 GB, free: 133.4 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.004454/1.612, allocations: 0.9659 MB / 0.6396 GB, free: 133.4 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002403/1.614, allocations: 1.076 MB / 0.6407 GB, free: 132.8 MB / 0.5105 GB Notification: Performance of SimCode: time 1.283e-06/1.614, allocations: 0 / 0.6407 GB, free: 132.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1201/1.735, allocations: 36.86 MB / 0.6767 GB, free: 124.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002048/1.735, allocations: 150.2 kB / 0.6768 GB, free: 124.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.709/5.444, allocations: 0 / 0.6768 GB, free: 124.2 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat does not exist to compare? outputFormat=mat