Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque2,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Sensors_CutTorque2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.902/1.902, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.567e-05/3.591e-05, allocations: 0 / 273.1 MB, free: 0.6406 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.102, allocations: 48.7 MB / 321.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4147/0.5167, allocations: 89.34 MB / 411.2 MB, free: 0.5703 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002468/0.517, allocations: 79.95 kB / 411.2 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2361/0.7531, allocations: 56.88 MB / 468.1 MB, free: 7.219 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.7532, allocations: 0 / 468.1 MB, free: 7.219 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001556/0.7533, allocations: 52 kB / 468.2 MB, free: 7.168 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.009899/0.7633, allocations: 2.665 MB / 470.8 MB, free: 4.445 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.696e-05/0.7633, allocations: 12.03 kB / 470.9 MB, free: 4.434 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002657/0.766, allocations: 0.5643 MB / 471.4 MB, free: 3.859 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01455/0.7806, allocations: 1.833 MB / 473.2 MB, free: 2.02 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006483/0.7871, allocations: 1.743 MB / 475 MB, free: 236 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003932/0.7876, allocations: 225.9 kB / 475.2 MB, free: 8 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001968/0.7896, allocations: 292 kB / 475.5 MB, free: 15.72 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02263/0.8122, allocations: 6.743 MB / 482.2 MB, free: 8.598 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001382/0.8124, allocations: 19.81 kB / 482.3 MB, free: 8.578 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0014/0.8138, allocations: 139.9 kB / 482.4 MB, free: 8.441 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001975/0.8158, allocations: 0.6962 MB / 483.1 MB, free: 7.742 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01942/0.8353, allocations: 5.853 MB / 488.9 MB, free: 1.875 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3448/1.18, allocations: 23.82 MB / 0.5007 GB, free: 100.4 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01037/1.191, allocations: 2.169 MB / 0.5029 GB, free: 99.8 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002809/1.193, allocations: 0.7952 MB / 0.5036 GB, free: 99.78 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0175/1.211, allocations: 4.007 MB / 0.5076 GB, free: 98.72 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.983e-05/1.211, allocations: 38.41 kB / 0.5076 GB, free: 98.68 MB / 426.7 MB Notification: Performance of pre-optimization done (n=96): time 6.162e-06/1.211, allocations: 2.938 kB / 0.5076 GB, free: 98.68 MB / 426.7 MB Notification: Performance of matching and sorting (n=96): time 0.01303/1.224, allocations: 1.754 MB / 0.5093 GB, free: 98.54 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.324e-05/1.224, allocations: 65 kB / 0.5094 GB, free: 98.48 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00622/1.231, allocations: 1.779 MB / 0.5111 GB, free: 98.26 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001883/1.231, allocations: 36.8 kB / 0.5111 GB, free: 98.23 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001936/1.233, allocations: 2.01 MB / 0.5131 GB, free: 97.23 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006211/1.233, allocations: 379.7 kB / 0.5135 GB, free: 97.04 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003603/1.234, allocations: 59.66 kB / 0.5135 GB, free: 97.04 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003264/1.234, allocations: 451.2 kB / 0.514 GB, free: 96.73 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002691/1.237, allocations: 0.9268 MB / 0.5149 GB, free: 96.72 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004106/1.241, allocations: 2.88 MB / 0.5177 GB, free: 94.19 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004146/1.245, allocations: 1.658 MB / 0.5193 GB, free: 94.18 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001158/1.245, allocations: 20.12 kB / 0.5193 GB, free: 94.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=419) (initialization): time 0.01045/1.256, allocations: 3.665 MB / 0.5229 GB, free: 94 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.651e-05/1.256, allocations: 38.7 kB / 0.5229 GB, free: 93.99 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.68e-05/1.256, allocations: 72.98 kB / 0.523 GB, free: 93.99 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001335/1.256, allocations: 102.6 kB / 0.5231 GB, free: 93.99 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00452/1.261, allocations: 0.72 MB / 0.5238 GB, free: 93.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001464/1.261, allocations: 137.1 kB / 0.5239 GB, free: 93.89 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003702/1.265, allocations: 447.2 kB / 0.5244 GB, free: 93.67 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007008/1.265, allocations: 201.8 kB / 0.5245 GB, free: 93.67 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 317 * 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 (395): * Single equations (assignments): 392 * 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.0006803/1.266, allocations: 352.9 kB / 0.5249 GB, free: 93.45 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000384/1.266, allocations: 170.6 kB / 0.525 GB, free: 93.36 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002807/1.269, allocations: 1.215 MB / 0.5262 GB, free: 93.29 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-05/1.269, allocations: 15.67 kB / 0.5262 GB, free: 93.29 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/1.269, allocations: 0 / 0.5262 GB, free: 93.29 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.305e-05/1.269, allocations: 6.844 kB / 0.5263 GB, free: 93.29 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01335/1.283, allocations: 5.021 MB / 0.5312 GB, free: 92.37 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.765e-05/1.283, allocations: 11.25 kB / 0.5312 GB, free: 92.37 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001192/1.284, allocations: 145.4 kB / 0.5313 GB, free: 92.36 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.377e-05/1.284, allocations: 13.94 kB / 0.5313 GB, free: 92.36 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001045/1.284, allocations: 27.38 kB / 0.5313 GB, free: 92.35 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.672e-05/1.284, allocations: 18.66 kB / 0.5314 GB, free: 92.34 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-05/1.284, allocations: 24.83 kB / 0.5314 GB, free: 92.34 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002901/1.287, allocations: 2.289 MB / 0.5336 GB, free: 90.37 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006969/1.288, allocations: 282.5 kB / 0.5339 GB, free: 90.15 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004712/1.288, allocations: 28.64 kB / 0.5339 GB, free: 90.14 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001298/1.29, allocations: 41.11 kB / 0.534 GB, free: 90.12 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002357/1.29, allocations: 77.59 kB / 0.534 GB, free: 90.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001022/1.29, allocations: 40.58 kB / 0.5341 GB, free: 90.1 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003066/1.293, allocations: 1.298 MB / 0.5353 GB, free: 89.59 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.71e-07/1.293, allocations: 0 / 0.5353 GB, free: 89.59 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004112/1.297, allocations: 0.7623 MB / 0.5361 GB, free: 89.36 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 73 * 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.003978/1.301, allocations: 5.557 MB / 0.5415 GB, free: 84.39 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004923/1.306, allocations: 2.194 MB / 0.5437 GB, free: 83.68 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.247e-05/1.306, allocations: 3.938 kB / 0.5437 GB, free: 83.68 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001133/1.308, allocations: 0.5498 MB / 0.5442 GB, free: 83.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001828/1.309, allocations: 244.4 kB / 0.5444 GB, free: 83.41 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01775/1.327, allocations: 5.908 MB / 0.5502 GB, free: 80.95 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004805/1.332, allocations: 2.509 MB / 0.5526 GB, free: 79.85 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002672/1.335, allocations: 1.187 MB / 0.5538 GB, free: 78.89 MB / 426.7 MB Notification: Performance of SimCode: time 1.252e-06/1.335, allocations: 0 / 0.5538 GB, free: 78.89 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.424/4.759, allocations: 48.93 MB / 0.6016 GB, free: 45.47 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat does not exist to compare? outputFormat=mat