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.525/2.525, allocations: 235 MB / 247.2 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.243e-05/3.26e-05, allocations: 0 / 305 MB, free: 5.078 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4294/0.4294, allocations: 54.85 MB / 359.9 MB, free: 3.168 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2491/0.6786, allocations: 98.8 MB / 458.7 MB, free: 14.09 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003082/0.679, allocations: 76.53 kB / 458.7 MB, free: 14.02 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.081/1.76, allocations: 166.2 MB / 0.6103 GB, free: 78.26 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.405e-06/1.76, allocations: 3.938 kB / 0.6103 GB, free: 78.26 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004963/1.76, allocations: 160 kB / 0.6105 GB, free: 78.1 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.03263/1.793, allocations: 7.975 MB / 0.6183 GB, free: 70.04 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.411e-05/1.793, allocations: 12.03 kB / 0.6183 GB, free: 70.03 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007163/1.8, allocations: 1.458 MB / 0.6197 GB, free: 68.56 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03214/1.832, allocations: 3.67 MB / 0.6233 GB, free: 64.87 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03361/1.866, allocations: 9.687 MB / 0.6327 GB, free: 55.1 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008384/1.867, allocations: 0.6258 MB / 0.6334 GB, free: 54.47 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004976/1.872, allocations: 0.832 MB / 0.6342 GB, free: 53.64 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06271/1.935, allocations: 19.38 MB / 0.6531 GB, free: 32.73 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005711/1.935, allocations: 91.11 kB / 0.6532 GB, free: 32.64 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004746/1.94, allocations: 399.8 kB / 0.6536 GB, free: 32.25 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004955/1.945, allocations: 1.865 MB / 0.6554 GB, free: 30.38 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04962/1.995, allocations: 15.04 MB / 0.6701 GB, free: 15.31 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8893/2.884, allocations: 81.53 MB / 0.7497 GB, free: 32.73 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02909/2.913, allocations: 5.917 MB / 0.7555 GB, free: 32.05 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006937/2.92, allocations: 2.481 MB / 0.7579 GB, free: 32.01 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03554/2.956, allocations: 11.34 MB / 0.769 GB, free: 28.79 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.005e-05/2.956, allocations: 60.78 kB / 0.769 GB, free: 28.75 MB / 474.8 MB Notification: Performance of pre-optimization done (n=250): time 6.963e-06/2.956, allocations: 0 / 0.769 GB, free: 28.75 MB / 474.8 MB Notification: Performance of matching and sorting (n=274): time 0.07024/3.026, allocations: 14.99 MB / 0.7837 GB, free: 24.03 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.988e-05/3.026, allocations: 156.5 kB / 0.7838 GB, free: 23.87 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01535/3.042, allocations: 5.845 MB / 0.7895 GB, free: 23.31 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0006308/3.043, allocations: 63.33 kB / 0.7896 GB, free: 23.28 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.005628/3.048, allocations: 5.798 MB / 0.7952 GB, free: 20.08 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001612/3.05, allocations: 1.056 MB / 0.7963 GB, free: 19.49 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001253/3.051, allocations: 183.9 kB / 0.7965 GB, free: 19.49 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.00099/3.052, allocations: 0.6886 MB / 0.7971 GB, free: 19.16 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007119/3.059, allocations: 2.484 MB / 0.7995 GB, free: 18.38 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01099/3.07, allocations: 8.25 MB / 0.8076 GB, free: 9.785 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01073/3.081, allocations: 4.459 MB / 0.812 GB, free: 8.555 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002584/3.081, allocations: 59.72 kB / 0.812 GB, free: 8.555 MB / 474.8 MB Notification: Performance of matching and sorting (n=1192) (initialization): time 0.02895/3.11, allocations: 10.43 MB / 0.8222 GB, free: 5.27 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001633/3.111, allocations: 97.06 kB / 0.8223 GB, free: 5.266 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003461/3.111, allocations: 208.5 kB / 0.8225 GB, free: 5.262 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003674/3.111, allocations: 301 kB / 0.8228 GB, free: 5.262 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01501/3.126, allocations: 2.248 MB / 0.825 GB, free: 4.988 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004493/3.127, allocations: 406.4 kB / 0.8254 GB, free: 4.898 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01241/3.139, allocations: 0.6219 MB / 0.826 GB, free: 4.723 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002224/3.142, allocations: 0.5517 MB / 0.8265 GB, free: 4.652 MB / 474.8 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.003174/3.145, allocations: 0.8296 MB / 0.8273 GB, free: 3.973 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001559/3.146, allocations: 0.5871 MB / 0.8279 GB, free: 3.648 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008794/3.155, allocations: 2.925 MB / 0.8308 GB, free: 2.516 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.39e-05/3.155, allocations: 31.55 kB / 0.8308 GB, free: 2.516 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.576e-05/3.155, allocations: 3.953 kB / 0.8308 GB, free: 2.512 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.863e-05/3.155, allocations: 13.94 kB / 0.8308 GB, free: 2.512 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06522/3.221, allocations: 24.8 MB / 0.855 GB, free: 14.74 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002008/3.221, allocations: 64 kB / 0.8551 GB, free: 14.68 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004544/3.225, allocations: 0.5989 MB / 0.8557 GB, free: 14.15 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000162/3.226, allocations: 88 kB / 0.8558 GB, free: 14.07 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007121/3.226, allocations: 139.5 kB / 0.8559 GB, free: 13.94 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001373/3.227, allocations: 125.2 kB / 0.856 GB, free: 13.83 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-05/3.227, allocations: 96.28 kB / 0.8561 GB, free: 13.74 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01716/3.244, allocations: 16.85 MB / 0.8726 GB, free: 10.82 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002824/3.247, allocations: 0.7187 MB / 0.8733 GB, free: 10.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00227/3.249, allocations: 141.1 kB / 0.8734 GB, free: 9.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006033/3.255, allocations: 214.8 kB / 0.8736 GB, free: 9.809 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001124/3.256, allocations: 415.2 kB / 0.874 GB, free: 9.477 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004946/3.257, allocations: 171.1 kB / 0.8742 GB, free: 9.312 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01331/3.27, allocations: 4.087 MB / 0.8781 GB, free: 5.727 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.182e-06/3.27, allocations: 0 / 0.8781 GB, free: 5.727 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01282/3.283, allocations: 1.543 MB / 0.8797 GB, free: 4.188 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.3921/3.675, allocations: 28.87 MB / 0.9078 GB, free: 130.2 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.01619/3.691, allocations: 6.013 MB / 0.9137 GB, free: 130.1 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 5.702e-05/3.692, allocations: 8.844 kB / 0.9137 GB, free: 130.1 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.004707/3.696, allocations: 1.582 MB / 0.9153 GB, free: 130.1 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0111/3.707, allocations: 0.9017 MB / 0.9161 GB, free: 130.1 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07687/3.784, allocations: 17.47 MB / 0.9332 GB, free: 124.9 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0164/3.801, allocations: 5.96 MB / 0.939 GB, free: 124 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 0.01557/3.817, allocations: 2.894 MB / 0.9419 GB, free: 123.9 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00898/3.826, allocations: 3.854 MB / 0.9456 GB, free: 123.9 MB / 0.5262 GB Notification: Performance of SimCode: time 1.573e-06/3.826, allocations: 0 / 0.9456 GB, free: 123.9 MB / 0.5262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.278/4.104, allocations: 122.6 MB / 1.065 GB, free: 37.55 MB / 0.5262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003336/4.104, allocations: 153.9 kB / 1.065 GB, free: 37.32 MB / 0.5262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.802/11.91, allocations: 4 kB / 1.065 GB, free: 37.31 MB / 0.5262 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