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.371/2.371, allocations: 235 MB / 247.2 MB, free: 14.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.152e-05/5.165e-05, allocations: 8.922 kB / 305 MB, free: 5.062 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4403/0.4404, allocations: 54.85 MB / 359.9 MB, free: 2.805 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1841/0.6246, allocations: 98.81 MB / 458.7 MB, free: 13.97 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003018/0.6249, allocations: 76.56 kB / 458.8 MB, free: 13.9 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.013/1.638, allocations: 166.2 MB / 0.6104 GB, free: 78.03 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.285e-06/1.638, allocations: 4 kB / 0.6104 GB, free: 78.03 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0005921/1.639, allocations: 160 kB / 0.6105 GB, free: 77.87 MB / 458.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.04076/1.68, allocations: 7.975 MB / 0.6183 GB, free: 69.81 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.323e-05/1.68, allocations: 8.031 kB / 0.6183 GB, free: 69.8 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00859/1.688, allocations: 1.462 MB / 0.6197 GB, free: 68.33 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03213/1.721, allocations: 3.678 MB / 0.6233 GB, free: 64.63 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03304/1.754, allocations: 9.683 MB / 0.6328 GB, free: 54.87 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009431/1.755, allocations: 0.6258 MB / 0.6334 GB, free: 54.24 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005095/1.76, allocations: 0.8243 MB / 0.6342 GB, free: 53.41 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06083/1.821, allocations: 19.28 MB / 0.653 GB, free: 32.61 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000714/1.822, allocations: 95.06 kB / 0.6531 GB, free: 32.51 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004789/1.826, allocations: 395.8 kB / 0.6535 GB, free: 32.12 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004909/1.831, allocations: 1.869 MB / 0.6553 GB, free: 30.25 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04861/1.88, allocations: 14.74 MB / 0.6697 GB, free: 15.49 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5479/2.428, allocations: 81.53 MB / 0.7493 GB, free: 35.03 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02935/2.457, allocations: 5.894 MB / 0.7551 GB, free: 34.35 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006588/2.464, allocations: 2.486 MB / 0.7575 GB, free: 34.31 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03554/2.5, allocations: 11.32 MB / 0.7686 GB, free: 31.1 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.125e-05/2.5, allocations: 65.89 kB / 0.7686 GB, free: 31.06 MB / 474.7 MB Notification: Performance of pre-optimization done (n=250): time 6.993e-06/2.5, allocations: 0 / 0.7686 GB, free: 31.06 MB / 474.7 MB Notification: Performance of matching and sorting (n=274): time 0.07035/2.57, allocations: 14.98 MB / 0.7833 GB, free: 26.33 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.224e-05/2.57, allocations: 164.9 kB / 0.7834 GB, free: 26.17 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01505/2.585, allocations: 5.84 MB / 0.7891 GB, free: 25.61 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006252/2.586, allocations: 67.61 kB / 0.7892 GB, free: 25.58 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005462/2.592, allocations: 5.803 MB / 0.7949 GB, free: 22.32 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001689/2.593, allocations: 1.054 MB / 0.7959 GB, free: 21.55 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001318/2.595, allocations: 184.7 kB / 0.7961 GB, free: 21.41 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0007742/2.595, allocations: 0.69 MB / 0.7967 GB, free: 20.94 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006872/2.602, allocations: 2.476 MB / 0.7992 GB, free: 20.13 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01082/2.613, allocations: 8.199 MB / 0.8072 GB, free: 11.56 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01025/2.624, allocations: 4.46 MB / 0.8115 GB, free: 10.34 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002638/2.624, allocations: 62.56 kB / 0.8116 GB, free: 10.33 MB / 474.7 MB Notification: Performance of matching and sorting (n=1192) (initialization): time 0.02786/2.652, allocations: 9.86 MB / 0.8212 GB, free: 7.398 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001706/2.652, allocations: 92.69 kB / 0.8213 GB, free: 7.398 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003251/2.652, allocations: 206.6 kB / 0.8215 GB, free: 7.398 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003677/2.653, allocations: 303.6 kB / 0.8218 GB, free: 7.395 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01453/2.667, allocations: 2.242 MB / 0.824 GB, free: 7.125 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004471/2.668, allocations: 405.3 kB / 0.8244 GB, free: 7.039 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01265/2.68, allocations: 0.6251 MB / 0.825 GB, free: 6.859 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002257/2.683, allocations: 0.5535 MB / 0.8255 GB, free: 6.789 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 940 * 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 (1168): * Single equations (assignments): 1165 * 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.002698/2.685, allocations: 0.8363 MB / 0.8263 GB, free: 6.102 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001645/2.687, allocations: 0.5891 MB / 0.8269 GB, free: 5.777 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0114/2.699, allocations: 2.918 MB / 0.8298 GB, free: 4.648 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-05/2.699, allocations: 32.91 kB / 0.8298 GB, free: 4.648 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.756e-05/2.699, allocations: 4 kB / 0.8298 GB, free: 4.645 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.968e-05/2.699, allocations: 13.78 kB / 0.8298 GB, free: 4.645 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06392/2.763, allocations: 24.62 MB / 0.8538 GB, free: 1.453 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001228/2.763, allocations: 62.25 kB / 0.8539 GB, free: 1.395 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004321/2.767, allocations: 0.5966 MB / 0.8545 GB, free: 0.8711 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001623/2.767, allocations: 93.03 kB / 0.8546 GB, free: 0.7812 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007024/2.768, allocations: 138.5 kB / 0.8547 GB, free: 0.6484 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001327/2.768, allocations: 121.1 kB / 0.8548 GB, free: 0.543 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.679e-05/2.768, allocations: 91.62 kB / 0.8549 GB, free: 464 kB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02154/2.79, allocations: 17.05 MB / 0.8716 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00275/2.793, allocations: 0.722 MB / 0.8723 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002255/2.795, allocations: 142.2 kB / 0.8724 GB, free: 13.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00596/2.801, allocations: 212.8 kB / 0.8726 GB, free: 13.04 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001098/2.802, allocations: 413 kB / 0.873 GB, free: 12.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003984/2.803, allocations: 169.9 kB / 0.8732 GB, free: 12.54 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01215/2.815, allocations: 4.089 MB / 0.8772 GB, free: 8.957 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.272e-06/2.815, allocations: 1.5 kB / 0.8772 GB, free: 8.957 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01354/2.828, allocations: 1.549 MB / 0.8787 GB, free: 7.41 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 280 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (318): * Single equations (assignments): 315 * 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.4197/3.248, allocations: 28.86 MB / 0.9069 GB, free: 134.8 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01599/3.264, allocations: 5.675 MB / 0.9124 GB, free: 134.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.033e-05/3.264, allocations: 9.156 kB / 0.9124 GB, free: 134.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004375/3.269, allocations: 1.498 MB / 0.9139 GB, free: 134.8 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008609/3.277, allocations: 0.913 MB / 0.9148 GB, free: 134.7 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06157/3.339, allocations: 17.39 MB / 0.9317 GB, free: 129.7 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01552/3.355, allocations: 5.961 MB / 0.9376 GB, free: 128.8 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01505/3.37, allocations: 2.898 MB / 0.9404 GB, free: 128.7 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0101/3.38, allocations: 3.854 MB / 0.9442 GB, free: 128.7 MB / 0.5261 GB Notification: Performance of SimCode: time 1.473e-06/3.38, allocations: 3.906 kB / 0.9442 GB, free: 128.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2732/3.653, allocations: 121.8 MB / 1.063 GB, free: 43.3 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002469/3.653, allocations: 144.6 kB / 1.063 GB, free: 43.08 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.565/11.22, allocations: 4 kB / 1.063 GB, free: 43.07 MB / 0.5261 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