Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Sensors_CutTorque2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.486/2.486, allocations: 235.1 MB / 242.2 MB, free: 15.68 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.214e-05/3.223e-05, allocations: 7.938 kB / 299.5 MB, free: 6.355 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3976/0.3977, allocations: 54.86 MB / 354.3 MB, free: 28 kB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1825/0.5803, allocations: 95.27 MB / 449.6 MB, free: 0.6172 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002809/0.5806, allocations: 79.95 kB / 449.7 MB, free: 0.5391 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5985/1.179, allocations: 55.57 MB / 0.4934 GB, free: 97.3 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.627e-06/1.179, allocations: 3.047 kB / 0.4934 GB, free: 97.3 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001367/1.179, allocations: 58.27 kB / 0.4935 GB, free: 97.3 MB / 410.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.009927/1.189, allocations: 2.665 MB / 0.4961 GB, free: 95.78 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.09e-05/1.189, allocations: 14.94 kB / 0.4961 GB, free: 95.78 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01427/1.204, allocations: 1.826 MB / 0.4979 GB, free: 95.58 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006001/1.21, allocations: 1.746 MB / 0.4996 GB, free: 94.66 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002223/1.21, allocations: 93.22 kB / 0.4997 GB, free: 94.66 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001839/1.212, allocations: 168.8 kB / 0.4998 GB, free: 94.55 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01148/1.223, allocations: 4.486 MB / 0.5042 GB, free: 90.47 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0197/1.243, allocations: 6.221 MB / 0.5103 GB, free: 84.18 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001373/1.243, allocations: 15.88 kB / 0.5103 GB, free: 84.17 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001705/1.245, allocations: 8 kB / 0.5103 GB, free: 84.16 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00164/1.247, allocations: 0.7122 MB / 0.511 GB, free: 83.45 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0435/1.29, allocations: 23.51 MB / 0.534 GB, free: 59.32 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002717/1.293, allocations: 1.523 MB / 0.5355 GB, free: 57.67 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001252/1.294, allocations: 0.5788 MB / 0.536 GB, free: 57.09 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001021/1.295, allocations: 20.69 kB / 0.536 GB, free: 57.07 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.102e-05/1.295, allocations: 43.38 kB / 0.5361 GB, free: 57.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=108): time 5.21e-06/1.295, allocations: 0 / 0.5361 GB, free: 57.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=108): time 0.00573/1.3, allocations: 1.495 MB / 0.5375 GB, free: 55.52 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/1.3, allocations: 60.19 kB / 0.5376 GB, free: 55.45 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003678/1.304, allocations: 1.63 MB / 0.5392 GB, free: 53.82 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002234/1.304, allocations: 25.7 kB / 0.5392 GB, free: 53.79 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001589/1.306, allocations: 2.049 MB / 0.5412 GB, free: 51.71 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006186/1.307, allocations: 406.7 kB / 0.5416 GB, free: 51.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003844/1.307, allocations: 4 kB / 0.5416 GB, free: 51.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003789/1.307, allocations: 0.4984 MB / 0.5421 GB, free: 50.79 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002234/1.31, allocations: 0.9244 MB / 0.543 GB, free: 49.87 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003701/1.313, allocations: 3.07 MB / 0.546 GB, free: 45.72 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003903/1.317, allocations: 1.725 MB / 0.5477 GB, free: 44 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.084e-05/1.318, allocations: 24 kB / 0.5477 GB, free: 43.97 MB / 410.7 MB Notification: Performance of matching and sorting (n=456) (initialization): time 0.009748/1.327, allocations: 3.538 MB / 0.5512 GB, free: 40.43 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.36e-05/1.327, allocations: 39.44 kB / 0.5512 GB, free: 40.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001053/1.328, allocations: 80 kB / 0.5513 GB, free: 40.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001439/1.328, allocations: 112 kB / 0.5514 GB, free: 40.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004671/1.332, allocations: 0.7843 MB / 0.5521 GB, free: 39.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001372/1.333, allocations: 155.4 kB / 0.5523 GB, free: 39.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003685/1.336, allocations: 391.2 kB / 0.5527 GB, free: 38.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008506/1.337, allocations: 215.9 kB / 0.5529 GB, free: 38.68 MB / 410.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.0008763/1.338, allocations: 305.2 kB / 0.5532 GB, free: 38.37 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002915/1.341, allocations: 1.195 MB / 0.5543 GB, free: 37.17 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004366/1.342, allocations: 169.8 kB / 0.5545 GB, free: 37 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003667/1.345, allocations: 1.346 MB / 0.5558 GB, free: 35.64 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.402e-05/1.345, allocations: 12 kB / 0.5558 GB, free: 35.62 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/1.345, allocations: 4 kB / 0.5558 GB, free: 35.62 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.722e-05/1.345, allocations: 3.984 kB / 0.5558 GB, free: 35.62 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01265/1.358, allocations: 4.739 MB / 0.5605 GB, free: 30.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.982e-05/1.358, allocations: 8 kB / 0.5605 GB, free: 30.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001402/1.36, allocations: 159.7 kB / 0.5606 GB, free: 30.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.143e-05/1.36, allocations: 16 kB / 0.5606 GB, free: 30.53 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001736/1.36, allocations: 20 kB / 0.5606 GB, free: 30.51 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.89e-05/1.36, allocations: 23.86 kB / 0.5607 GB, free: 30.49 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.277e-05/1.36, allocations: 19.88 kB / 0.5607 GB, free: 30.47 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003362/1.363, allocations: 2.356 MB / 0.563 GB, free: 27.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005991/1.364, allocations: 262.5 kB / 0.5632 GB, free: 27.43 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006428/1.365, allocations: 19.98 kB / 0.5633 GB, free: 27.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001422/1.366, allocations: 19.98 kB / 0.5633 GB, free: 27.39 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003362/1.366, allocations: 84.03 kB / 0.5634 GB, free: 27.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001151/1.367, allocations: 43.98 kB / 0.5634 GB, free: 27.26 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00269/1.369, allocations: 1.079 MB / 0.5645 GB, free: 26.19 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.92e-07/1.369, allocations: 4 kB / 0.5645 GB, free: 26.19 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004803/1.374, allocations: 0.7151 MB / 0.5652 GB, free: 25.47 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.004504/1.379, allocations: 5.804 MB / 0.5708 GB, free: 19.34 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004997/1.384, allocations: 2.207 MB / 0.573 GB, free: 17.14 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.519e-05/1.384, allocations: 9.062 kB / 0.573 GB, free: 17.14 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001283/1.385, allocations: 0.5943 MB / 0.5736 GB, free: 16.54 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001672/1.387, allocations: 176.1 kB / 0.5737 GB, free: 16.37 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01851/1.405, allocations: 5.632 MB / 0.5792 GB, free: 10.56 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005332/1.411, allocations: 2.509 MB / 0.5817 GB, free: 8.027 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.005459/1.416, allocations: 1.164 MB / 0.5828 GB, free: 6.859 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002926/1.419, allocations: 1.183 MB / 0.584 GB, free: 5.676 MB / 410.7 MB Notification: Performance of SimCode: time 1.884e-06/1.419, allocations: 0 / 0.584 GB, free: 5.676 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1201/1.539, allocations: 36.99 MB / 0.6201 GB, free: 0.6406 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003261/1.54, allocations: 136 kB / 0.6202 GB, free: 456 kB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.471/5.011, allocations: 0 / 0.6202 GB, free: 456 kB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat does not exist to compare? outputFormat=mat