Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Sensors_CutTorque",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.281/2.281, allocations: 235.1 MB / 242.2 MB, free: 15.84 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.193e-05/3.22e-05, allocations: 4 kB / 299.5 MB, free: 6.512 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3899/0.39, allocations: 54.85 MB / 354.3 MB, free: 14.06 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1813/0.5714, allocations: 98.13 MB / 452.5 MB, free: 60 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000306/0.5717, allocations: 80.02 kB / 452.5 MB, free: 15.98 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.048/1.619, allocations: 162.4 MB / 0.6005 GB, free: 25.34 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.729e-06/1.62, allocations: 4 kB / 0.6005 GB, free: 25.34 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0006826/1.62, allocations: 159.9 kB / 0.6007 GB, free: 25.18 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2932 * Number of variables: 2932 Notification: Performance of Generate backend data structure: time 0.03316/1.653, allocations: 7.975 MB / 0.6085 GB, free: 17.12 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.273e-05/1.654, allocations: 8.031 kB / 0.6085 GB, free: 17.12 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03167/1.685, allocations: 3.67 MB / 0.6121 GB, free: 13.43 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03188/1.717, allocations: 9.68 MB / 0.6215 GB, free: 3.668 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005889/1.718, allocations: 276 kB / 0.6218 GB, free: 3.398 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004433/1.722, allocations: 492.2 kB / 0.6222 GB, free: 2.918 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03373/1.756, allocations: 11.6 MB / 0.6336 GB, free: 7.309 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.053/1.809, allocations: 16.96 MB / 0.6501 GB, free: 4.824 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007079/1.81, allocations: 103 kB / 0.6502 GB, free: 4.723 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004504/1.814, allocations: 48 kB / 0.6503 GB, free: 4.676 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005703/1.82, allocations: 1.865 MB / 0.6521 GB, free: 2.809 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5456/2.366, allocations: 82.12 MB / 0.7323 GB, free: 33.53 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006928/2.373, allocations: 3.053 MB / 0.7353 GB, free: 32.86 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003651/2.377, allocations: 1.491 MB / 0.7367 GB, free: 32.83 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002777/2.377, allocations: 43.55 kB / 0.7368 GB, free: 32.82 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.175e-05/2.377, allocations: 61.08 kB / 0.7368 GB, free: 32.79 MB / 474.7 MB Notification: Performance of pre-optimization done (n=244): time 6.983e-06/2.377, allocations: 3.094 kB / 0.7368 GB, free: 32.79 MB / 474.7 MB Notification: Performance of matching and sorting (n=256): time 0.04299/2.42, allocations: 11.79 MB / 0.7483 GB, free: 28.11 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.411e-05/2.42, allocations: 155.6 kB / 0.7485 GB, free: 27.95 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01376/2.434, allocations: 5.172 MB / 0.7535 GB, free: 27.45 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006275/2.435, allocations: 25.7 kB / 0.7536 GB, free: 27.42 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005385/2.44, allocations: 5.909 MB / 0.7593 GB, free: 24.32 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001497/2.441, allocations: 0.9698 MB / 0.7603 GB, free: 23.77 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001257/2.443, allocations: 0 / 0.7603 GB, free: 23.77 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.001185/2.444, allocations: 0.7083 MB / 0.761 GB, free: 23.45 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006619/2.451, allocations: 2.363 MB / 0.7633 GB, free: 23.43 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01053/2.461, allocations: 8.367 MB / 0.7715 GB, free: 15.29 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01603/2.477, allocations: 4.39 MB / 0.7757 GB, free: 14.05 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004076/2.478, allocations: 66.17 kB / 0.7758 GB, free: 14.05 MB / 474.7 MB Notification: Performance of matching and sorting (n=1234) (initialization): time 0.03374/2.512, allocations: 9.406 MB / 0.785 GB, free: 11.41 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001686/2.512, allocations: 101.3 kB / 0.7851 GB, free: 11.41 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003262/2.512, allocations: 214.8 kB / 0.7853 GB, free: 11.41 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003762/2.513, allocations: 320.9 kB / 0.7856 GB, free: 11.41 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01502/2.528, allocations: 2.316 MB / 0.7879 GB, free: 11.13 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004322/2.528, allocations: 424.6 kB / 0.7883 GB, free: 11.04 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01228/2.54, allocations: 470.5 kB / 0.7887 GB, free: 11 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002336/2.543, allocations: 0.5745 MB / 0.7893 GB, free: 10.93 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 988 * Number of states: 0 () * Number of discrete variables: 57 (rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutTorque2b.torqueColor[3],cutTorque2b.torqueColor[2],cutTorque2b.torqueColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutTorque1b.torqueColor[3],cutTorque1b.torqueColor[2],cutTorque1b.torqueColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutTorque2a.torqueColor[3],cutTorque2a.torqueColor[2],cutTorque2a.torqueColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutTorque1a.torqueColor[3],cutTorque1a.torqueColor[2],cutTorque1a.torqueColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1210): * Single equations (assignments): 1207 * 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.003458/2.546, allocations: 0.6283 MB / 0.7899 GB, free: 10.4 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008093/2.554, allocations: 2.861 MB / 0.7927 GB, free: 9.309 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001765/2.556, allocations: 0.5478 MB / 0.7932 GB, free: 9.004 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007995/2.564, allocations: 2.581 MB / 0.7957 GB, free: 8.027 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-05/2.564, allocations: 28.52 kB / 0.7958 GB, free: 8.027 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.759e-05/2.564, allocations: 3.469 kB / 0.7958 GB, free: 8.027 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.435e-05/2.565, allocations: 11.48 kB / 0.7958 GB, free: 8.027 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05168/2.616, allocations: 21.2 MB / 0.8165 GB, free: 10.37 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002012/2.616, allocations: 56 kB / 0.8165 GB, free: 10.32 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004311/2.621, allocations: 0.5559 MB / 0.8171 GB, free: 9.828 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001401/2.621, allocations: 87.84 kB / 0.8172 GB, free: 9.746 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006509/2.622, allocations: 84.17 kB / 0.8172 GB, free: 9.668 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001329/2.622, allocations: 117.3 kB / 0.8174 GB, free: 9.566 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.681e-05/2.622, allocations: 91.12 kB / 0.8174 GB, free: 9.48 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01883/2.641, allocations: 14.79 MB / 0.8319 GB, free: 8.191 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003042/2.644, allocations: 0.6568 MB / 0.8325 GB, free: 7.539 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002841/2.647, allocations: 86.27 kB / 0.8326 GB, free: 7.465 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007994/2.655, allocations: 158.2 kB / 0.8328 GB, free: 7.352 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00148/2.656, allocations: 378.1 kB / 0.8331 GB, free: 7.047 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009796/2.657, allocations: 159.1 kB / 0.8333 GB, free: 6.895 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.03464/2.692, allocations: 3.466 MB / 0.8367 GB, free: 3.898 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.463e-06/2.692, allocations: 0 / 0.8367 GB, free: 3.898 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.02578/2.718, allocations: 1.324 MB / 0.838 GB, free: 2.582 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 256 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (300): * Single equations (assignments): 297 * 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.4472/3.165, allocations: 26.4 MB / 0.8637 GB, free: 113.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01458/3.18, allocations: 5.56 MB / 0.8692 GB, free: 113.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.713e-05/3.18, allocations: 6.938 kB / 0.8692 GB, free: 113.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003291/3.183, allocations: 1.407 MB / 0.8705 GB, free: 113.4 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007317/3.191, allocations: 0.7262 MB / 0.8713 GB, free: 113.3 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05875/3.249, allocations: 16.78 MB / 0.8876 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01594/3.265, allocations: 5.932 MB / 0.8934 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01597/3.282, allocations: 2.949 MB / 0.8963 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009073/3.291, allocations: 3.787 MB / 0.9 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of SimCode: time 2.675e-06/3.291, allocations: 5.031 kB / 0.9 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2711/3.562, allocations: 112.7 MB / 1.01 GB, free: 35.66 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000241/3.562, allocations: 142 kB / 1.01 GB, free: 35.46 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.234/10.8, allocations: 0 / 1.01 GB, free: 35.46 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque_res.mat does not exist to compare? outputFormat=mat