Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Sensors_CutTorque",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.593/2.593, allocations: 235.2 MB / 242.3 MB, free: 9.574 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.462e-05/2.46e-05, allocations: 4 kB / 299.6 MB, free: 216 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3682/0.3683, allocations: 54.86 MB / 354.4 MB, free: 15.21 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2808/0.6491, allocations: 98.13 MB / 452.6 MB, free: 12.93 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003221/0.6495, allocations: 83.94 kB / 452.7 MB, free: 12.85 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.066/1.715, allocations: 162.4 MB / 0.6006 GB, free: 9.938 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.585e-06/1.715, allocations: 4 kB / 0.6006 GB, free: 9.934 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0006083/1.716, allocations: 160 kB / 0.6008 GB, free: 9.777 MB / 442.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.03695/1.753, allocations: 7.968 MB / 0.6086 GB, free: 1.727 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.756e-05/1.753, allocations: 8.031 kB / 0.6086 GB, free: 1.719 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03758/1.79, allocations: 3.674 MB / 0.6122 GB, free: 14.03 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04153/1.832, allocations: 9.665 MB / 0.6216 GB, free: 4.281 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000812/1.833, allocations: 283.9 kB / 0.6219 GB, free: 4.004 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005257/1.838, allocations: 0.492 MB / 0.6223 GB, free: 3.512 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.7703/2.609, allocations: 11.59 MB / 0.6337 GB, free: 61.57 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05139/2.66, allocations: 16.96 MB / 0.6502 GB, free: 57.45 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006407/2.661, allocations: 92.25 kB / 0.6503 GB, free: 57.45 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004546/2.665, allocations: 47.22 kB / 0.6504 GB, free: 57.45 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005747/2.671, allocations: 1.867 MB / 0.6522 GB, free: 57.43 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1544/2.826, allocations: 82.13 MB / 0.7324 GB, free: 22.4 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007717/2.833, allocations: 3.064 MB / 0.7354 GB, free: 20.89 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003938/2.837, allocations: 1.488 MB / 0.7368 GB, free: 20.31 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002801/2.838, allocations: 39.44 kB / 0.7369 GB, free: 20.3 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.487e-05/2.838, allocations: 68.44 kB / 0.7369 GB, free: 20.25 MB / 474.8 MB Notification: Performance of pre-optimization done (n=244): time 9.659e-06/2.838, allocations: 3.938 kB / 0.7369 GB, free: 20.25 MB / 474.8 MB Notification: Performance of matching and sorting (n=256): time 0.04793/2.886, allocations: 11.79 MB / 0.7485 GB, free: 14.48 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.371e-05/2.886, allocations: 158.7 kB / 0.7486 GB, free: 14.32 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01418/2.9, allocations: 5.161 MB / 0.7536 GB, free: 12.5 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0006602/2.901, allocations: 29.3 kB / 0.7537 GB, free: 12.46 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.007419/2.908, allocations: 5.913 MB / 0.7594 GB, free: 8.012 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001921/2.91, allocations: 0.9722 MB / 0.7604 GB, free: 7.309 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001331/2.911, allocations: 0 / 0.7604 GB, free: 7.309 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.000932/2.912, allocations: 0.7066 MB / 0.7611 GB, free: 6.832 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007288/2.92, allocations: 2.363 MB / 0.7634 GB, free: 6.004 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01398/2.934, allocations: 8.364 MB / 0.7716 GB, free: 12.54 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01293/2.947, allocations: 4.392 MB / 0.7759 GB, free: 9.148 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002818/2.947, allocations: 64 kB / 0.7759 GB, free: 9.086 MB / 490.8 MB Notification: Performance of matching and sorting (n=1234) (initialization): time 0.03288/2.98, allocations: 9.397 MB / 0.7851 GB, free: 0.8555 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002153/2.98, allocations: 106.7 kB / 0.7852 GB, free: 0.7539 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004109/2.981, allocations: 216 kB / 0.7854 GB, free: 0.543 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005328/2.981, allocations: 320 kB / 0.7857 GB, free: 236 kB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01762/2.999, allocations: 2.316 MB / 0.788 GB, free: 14.21 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005401/2.999, allocations: 430 kB / 0.7884 GB, free: 13.84 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01352/3.013, allocations: 457.7 kB / 0.7888 GB, free: 13.48 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00262/3.016, allocations: 0.5764 MB / 0.7894 GB, free: 12.91 MB / 0.4949 GB 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.00258/3.018, allocations: 0.6329 MB / 0.79 GB, free: 12.27 MB / 0.4949 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009137/3.027, allocations: 2.859 MB / 0.7928 GB, free: 9.699 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001713/3.029, allocations: 0.5476 MB / 0.7933 GB, free: 9.145 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009648/3.039, allocations: 2.581 MB / 0.7958 GB, free: 6.969 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.82e-05/3.039, allocations: 24 kB / 0.7959 GB, free: 6.945 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.959e-05/3.039, allocations: 4 kB / 0.7959 GB, free: 6.941 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-05/3.039, allocations: 21.62 kB / 0.7959 GB, free: 6.938 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06391/3.103, allocations: 21.21 MB / 0.8166 GB, free: 4.539 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001618/3.103, allocations: 56 kB / 0.8167 GB, free: 4.484 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004781/3.108, allocations: 0.5605 MB / 0.8172 GB, free: 3.992 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001537/3.108, allocations: 83.94 kB / 0.8173 GB, free: 3.914 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005538/3.109, allocations: 83.42 kB / 0.8174 GB, free: 3.836 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001279/3.109, allocations: 113.7 kB / 0.8175 GB, free: 3.738 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001015/3.109, allocations: 87.62 kB / 0.8176 GB, free: 3.652 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4472/3.556, allocations: 14.79 MB / 0.832 GB, free: 96.89 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002464/3.559, allocations: 0.6505 MB / 0.8326 GB, free: 96.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002273/3.561, allocations: 86.16 kB / 0.8327 GB, free: 96.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006158/3.567, allocations: 157.3 kB / 0.8329 GB, free: 96.8 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001039/3.568, allocations: 380.2 kB / 0.8332 GB, free: 96.76 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003654/3.569, allocations: 161.9 kB / 0.8334 GB, free: 96.76 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.009802/3.579, allocations: 3.462 MB / 0.8368 GB, free: 96.54 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.61e-07/3.579, allocations: 7.094 kB / 0.8368 GB, free: 96.54 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01376/3.592, allocations: 1.314 MB / 0.8381 GB, free: 96.54 MB / 0.5105 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.01439/3.607, allocations: 26.42 MB / 0.8638 GB, free: 72.02 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0139/3.621, allocations: 5.561 MB / 0.8693 GB, free: 71.99 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.227e-05/3.621, allocations: 10.59 kB / 0.8693 GB, free: 71.99 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003503/3.624, allocations: 1.416 MB / 0.8707 GB, free: 71.99 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007556/3.632, allocations: 0.7351 MB / 0.8714 GB, free: 71.95 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05839/3.69, allocations: 16.78 MB / 0.8878 GB, free: 67.07 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01671/3.707, allocations: 5.922 MB / 0.8936 GB, free: 66.17 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01747/3.725, allocations: 2.945 MB / 0.8964 GB, free: 66.11 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00974/3.735, allocations: 3.792 MB / 0.9001 GB, free: 66.1 MB / 0.5105 GB Notification: Performance of SimCode: time 1.894e-06/3.735, allocations: 0 / 0.9001 GB, free: 66.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7213/4.456, allocations: 112.7 MB / 1.01 GB, free: 84.38 MB / 0.5262 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002677/4.456, allocations: 136.1 kB / 1.01 GB, free: 84.2 MB / 0.5262 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 8.051/12.51, allocations: 3.281 kB / 1.01 GB, free: 84.2 MB / 0.5262 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Sensors.CutTorque_res.mat does not exist to compare? outputFormat=mat