Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque2,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Sensors_CutTorque2",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.694/2.694, allocations: 235.1 MB / 242.3 MB, free: 9.574 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.462e-05/2.477e-05, allocations: 0 / 299.6 MB, free: 204 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.406/0.4061, allocations: 54.86 MB / 354.4 MB, free: 15.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2038/0.61, allocations: 95.27 MB / 449.7 MB, free: 15.77 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003252/0.6104, allocations: 71.97 kB / 449.8 MB, free: 15.7 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6187/1.229, allocations: 55.57 MB / 0.4935 GB, free: 71.47 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.095e-06/1.229, allocations: 4 kB / 0.4935 GB, free: 71.47 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001577/1.229, allocations: 54.97 kB / 0.4936 GB, free: 71.42 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1092 * Number of variables: 1092 Notification: Performance of Generate backend data structure: time 0.01093/1.24, allocations: 2.673 MB / 0.4962 GB, free: 68.69 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.976e-05/1.24, allocations: 12.03 kB / 0.4962 GB, free: 68.68 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01786/1.258, allocations: 1.829 MB / 0.498 GB, free: 66.84 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00923/1.268, allocations: 1.752 MB / 0.4997 GB, free: 65.05 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003202/1.268, allocations: 96 kB / 0.4998 GB, free: 64.96 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002235/1.27, allocations: 168 kB / 0.4999 GB, free: 64.8 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01941/1.29, allocations: 4.477 MB / 0.5043 GB, free: 60.31 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04577/1.335, allocations: 6.218 MB / 0.5104 GB, free: 53.71 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001589/1.336, allocations: 19.81 kB / 0.5104 GB, free: 53.7 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001682/1.337, allocations: 8 kB / 0.5104 GB, free: 53.69 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001964/1.339, allocations: 0.7047 MB / 0.5111 GB, free: 52.98 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05191/1.391, allocations: 23.52 MB / 0.5341 GB, free: 28.84 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00325/1.395, allocations: 1.523 MB / 0.5356 GB, free: 27.18 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001644/1.396, allocations: 0.5742 MB / 0.5361 GB, free: 26.61 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001268/1.397, allocations: 20.06 kB / 0.5361 GB, free: 26.59 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.362e-05/1.397, allocations: 43.34 kB / 0.5362 GB, free: 26.54 MB / 394.7 MB Notification: Performance of pre-optimization done (n=108): time 5.08e-06/1.397, allocations: 0 / 0.5362 GB, free: 26.54 MB / 394.7 MB Notification: Performance of matching and sorting (n=108): time 0.007027/1.404, allocations: 1.495 MB / 0.5376 GB, free: 25.04 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.193e-05/1.404, allocations: 64.17 kB / 0.5377 GB, free: 24.96 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004567/1.408, allocations: 1.622 MB / 0.5393 GB, free: 23.34 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002446/1.409, allocations: 25.7 kB / 0.5393 GB, free: 23.31 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001885/1.411, allocations: 2.045 MB / 0.5413 GB, free: 21.23 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007526/1.411, allocations: 422.5 kB / 0.5417 GB, free: 20.82 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000419/1.412, allocations: 0 / 0.5417 GB, free: 20.82 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0005304/1.412, allocations: 0.4906 MB / 0.5422 GB, free: 20.32 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002788/1.415, allocations: 0.9322 MB / 0.5431 GB, free: 19.38 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004333/1.42, allocations: 3.058 MB / 0.5461 GB, free: 15.25 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004453/1.424, allocations: 1.732 MB / 0.5478 GB, free: 13.52 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.414e-05/1.424, allocations: 24 kB / 0.5478 GB, free: 13.49 MB / 394.7 MB Notification: Performance of matching and sorting (n=456) (initialization): time 0.01201/1.436, allocations: 3.534 MB / 0.5513 GB, free: 9.953 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.461e-05/1.436, allocations: 36.62 kB / 0.5513 GB, free: 9.918 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001207/1.437, allocations: 79.98 kB / 0.5514 GB, free: 9.84 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001827/1.437, allocations: 115.9 kB / 0.5515 GB, free: 9.727 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005506/1.442, allocations: 0.7837 MB / 0.5522 GB, free: 8.941 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000148/1.442, allocations: 151.4 kB / 0.5524 GB, free: 8.793 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004261/1.447, allocations: 395.7 kB / 0.5528 GB, free: 8.402 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009567/1.448, allocations: 215.9 kB / 0.553 GB, free: 8.191 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 350 * Number of states: 0 () * Number of discrete variables: 21 (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.torqueColor[3],cutTorque.torqueColor[2],cutTorque.torqueColor[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 (432): * Single equations (assignments): 429 * 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.001196/1.449, allocations: 297.2 kB / 0.5533 GB, free: 7.895 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00336/1.452, allocations: 1.198 MB / 0.5544 GB, free: 6.688 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004864/1.453, allocations: 177.7 kB / 0.5546 GB, free: 6.512 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004098/1.457, allocations: 1.342 MB / 0.5559 GB, free: 5.156 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.075e-05/1.457, allocations: 12 kB / 0.5559 GB, free: 5.145 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.458e-06/1.457, allocations: 0 / 0.5559 GB, free: 5.145 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.779e-05/1.457, allocations: 7.984 kB / 0.5559 GB, free: 5.137 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01401/1.471, allocations: 4.745 MB / 0.5606 GB, free: 208 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.312e-05/1.471, allocations: 8 kB / 0.5606 GB, free: 200 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001602/1.473, allocations: 163.7 kB / 0.5607 GB, free: 36 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.323e-05/1.473, allocations: 12 kB / 0.5607 GB, free: 24 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001937/1.473, allocations: 23.98 kB / 0.5608 GB, free: 0 / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.62e-05/1.473, allocations: 19.98 kB / 0.5608 GB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.251e-05/1.473, allocations: 15.94 kB / 0.5608 GB, free: 15.96 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005093/1.478, allocations: 2.356 MB / 0.5631 GB, free: 13.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007885/1.479, allocations: 258.5 kB / 0.5633 GB, free: 12.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007438/1.48, allocations: 15.98 kB / 0.5633 GB, free: 12.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001657/1.482, allocations: 23.98 kB / 0.5634 GB, free: 12.89 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004445/1.482, allocations: 83.7 kB / 0.5635 GB, free: 12.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001638/1.482, allocations: 43.98 kB / 0.5635 GB, free: 12.76 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0036/1.486, allocations: 1.083 MB / 0.5646 GB, free: 11.69 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.72e-07/1.486, allocations: 0 / 0.5646 GB, free: 11.69 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005818/1.492, allocations: 0.7189 MB / 0.5653 GB, free: 10.96 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 81 * 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.007251/1.499, allocations: 5.805 MB / 0.5709 GB, free: 4.836 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006732/1.506, allocations: 2.207 MB / 0.5731 GB, free: 2.645 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-05/1.506, allocations: 1.562 kB / 0.5731 GB, free: 2.645 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001793/1.508, allocations: 0.6033 MB / 0.5737 GB, free: 2.043 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001988/1.51, allocations: 174 kB / 0.5738 GB, free: 1.871 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02394/1.534, allocations: 5.629 MB / 0.5793 GB, free: 12.07 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007265/1.541, allocations: 2.513 MB / 0.5818 GB, free: 9.527 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.006969/1.548, allocations: 1.148 MB / 0.5829 GB, free: 8.375 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003791/1.552, allocations: 1.194 MB / 0.5841 GB, free: 7.18 MB / 426.7 MB Notification: Performance of SimCode: time 1.783e-06/1.552, allocations: 0 / 0.5841 GB, free: 7.18 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1421/1.694, allocations: 37.01 MB / 0.6202 GB, free: 2.195 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0004224/1.695, allocations: 140.4 kB / 0.6203 GB, free: 2 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.956/5.651, allocations: 0 / 0.6203 GB, free: 2 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat does not exist to compare? outputFormat=mat