Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.551/2.551, allocations: 270 MB / 283.6 MB, free: 1.949 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.896e-05/4.931e-05, allocations: 11.94 kB / 348.5 MB, free: 2.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4226/0.4227, allocations: 61.87 MB / 410.4 MB, free: 10.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.192/0.6147, allocations: 102.8 MB / 0.5011 GB, free: 3.859 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002853/0.6151, allocations: 75.95 kB / 0.5012 GB, free: 3.785 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6198/1.235, allocations: 53.75 MB / 0.5537 GB, free: 88.97 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.304e-06/1.235, allocations: 0 / 0.5537 GB, free: 88.97 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001312/1.235, allocations: 56 kB / 0.5537 GB, free: 88.92 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: 1004 * Number of variables: 1004 Notification: Performance of Generate backend data structure: time 0.008891/1.244, allocations: 2.512 MB / 0.5562 GB, free: 86.37 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.481e-05/1.244, allocations: 12.03 kB / 0.5562 GB, free: 86.36 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00228/1.246, allocations: 0.5203 MB / 0.5567 GB, free: 85.84 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01336/1.26, allocations: 1.797 MB / 0.5584 GB, free: 84.04 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005567/1.265, allocations: 1.667 MB / 0.5601 GB, free: 82.34 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002272/1.266, allocations: 216 kB / 0.5603 GB, free: 82.14 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001539/1.267, allocations: 270.1 kB / 0.5605 GB, free: 81.89 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01678/1.284, allocations: 6.235 MB / 0.5666 GB, free: 75.32 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001038/1.284, allocations: 19.81 kB / 0.5666 GB, free: 75.3 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006295/1.285, allocations: 119.9 kB / 0.5668 GB, free: 75.18 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001174/1.286, allocations: 0.6411 MB / 0.5674 GB, free: 74.54 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01499/1.301, allocations: 5.337 MB / 0.5726 GB, free: 69.19 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03896/1.34, allocations: 22.31 MB / 0.5944 GB, free: 46.22 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006527/1.347, allocations: 1.991 MB / 0.5963 GB, free: 44.1 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001461/1.348, allocations: 0.6838 MB / 0.597 GB, free: 43.41 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01036/1.359, allocations: 3.688 MB / 0.6006 GB, free: 39.58 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/1.359, allocations: 47 kB / 0.6006 GB, free: 39.52 MB / 442.7 MB Notification: Performance of pre-optimization done (n=78): time 5.11e-06/1.359, allocations: 0 / 0.6006 GB, free: 39.52 MB / 442.7 MB Notification: Performance of matching and sorting (n=78): time 0.008026/1.367, allocations: 1.577 MB / 0.6022 GB, free: 37.93 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.032e-05/1.367, allocations: 63.84 kB / 0.6022 GB, free: 37.86 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003549/1.37, allocations: 1.722 MB / 0.6039 GB, free: 36.14 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001459/1.371, allocations: 33.7 kB / 0.604 GB, free: 36.1 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001325/1.372, allocations: 1.887 MB / 0.6058 GB, free: 34.18 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004652/1.372, allocations: 320 kB / 0.6061 GB, free: 33.86 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002095/1.373, allocations: 60 kB / 0.6062 GB, free: 33.8 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003271/1.373, allocations: 493 kB / 0.6066 GB, free: 33.31 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001902/1.375, allocations: 0.8335 MB / 0.6074 GB, free: 32.48 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002923/1.378, allocations: 2.672 MB / 0.6101 GB, free: 28.87 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003274/1.381, allocations: 1.525 MB / 0.6115 GB, free: 27.34 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.616e-05/1.381, allocations: 16 kB / 0.6116 GB, free: 27.33 MB / 442.7 MB Notification: Performance of matching and sorting (n=386) (initialization): time 0.008206/1.39, allocations: 3.227 MB / 0.6147 GB, free: 24.1 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.511e-05/1.39, allocations: 45.77 kB / 0.6148 GB, free: 24.06 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.39e-05/1.39, allocations: 64 kB / 0.6148 GB, free: 24 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001188/1.39, allocations: 96 kB / 0.6149 GB, free: 23.9 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003856/1.394, allocations: 0.655 MB / 0.6155 GB, free: 23.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001185/1.394, allocations: 131.4 kB / 0.6157 GB, free: 23.12 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003114/1.397, allocations: 419.6 kB / 0.6161 GB, free: 22.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005853/1.398, allocations: 184 kB / 0.6162 GB, free: 22.52 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 302 * Number of states: 0 () * Number of discrete variables: 26 (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.torqueArrow.arrowLine.twoHeadedArrow,cutTorque.torqueArrow.headAtOrigin,cutTorque.torqueColor[3],cutTorque.torqueColor[2],cutTorque.torqueColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[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 (362): * Single equations (assignments): 359 * 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.0004865/1.398, allocations: 338.5 kB / 0.6166 GB, free: 22.18 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003178/1.398, allocations: 157.9 kB / 0.6167 GB, free: 22.03 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004853/1.399, allocations: 205.2 kB / 0.6169 GB, free: 21.82 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.954e-05/1.399, allocations: 8 kB / 0.6169 GB, free: 21.81 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.103e-05/1.399, allocations: 0 / 0.6169 GB, free: 21.81 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/1.399, allocations: 0 / 0.6169 GB, free: 21.81 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009836/1.409, allocations: 4.085 MB / 0.6209 GB, free: 17.57 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.06e-05/1.409, allocations: 4 kB / 0.6209 GB, free: 17.57 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007473/1.41, allocations: 104.7 kB / 0.621 GB, free: 17.47 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-05/1.41, allocations: 8 kB / 0.621 GB, free: 17.46 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.986e-05/1.41, allocations: 24 kB / 0.621 GB, free: 17.44 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.284e-05/1.41, allocations: 15.92 kB / 0.6211 GB, free: 17.42 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.075e-06/1.41, allocations: 11.94 kB / 0.6211 GB, free: 17.41 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002009/1.412, allocations: 1.72 MB / 0.6228 GB, free: 15.36 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005247/1.412, allocations: 262.7 kB / 0.623 GB, free: 15.09 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002652/1.413, allocations: 19.98 kB / 0.623 GB, free: 15.07 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008378/1.414, allocations: 27.89 kB / 0.6231 GB, free: 15.04 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001208/1.414, allocations: 59.78 kB / 0.6231 GB, free: 14.98 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.719e-05/1.414, allocations: 31.98 kB / 0.6231 GB, free: 14.95 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002703/1.416, allocations: 1.252 MB / 0.6244 GB, free: 13.71 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.72e-07/1.416, allocations: 0 / 0.6244 GB, free: 13.71 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003574/1.42, allocations: 0.7077 MB / 0.6251 GB, free: 13 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 54 * 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.002783/1.423, allocations: 4.049 MB / 0.629 GB, free: 8.73 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004028/1.427, allocations: 1.867 MB / 0.6308 GB, free: 6.879 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.087e-06/1.427, allocations: 0 / 0.6308 GB, free: 6.879 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008122/1.428, allocations: 450.4 kB / 0.6313 GB, free: 6.441 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001615/1.43, allocations: 232.9 kB / 0.6315 GB, free: 6.215 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01506/1.445, allocations: 5.022 MB / 0.6364 GB, free: 1.055 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004729/1.449, allocations: 2.379 MB / 0.6387 GB, free: 14.65 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004632/1.454, allocations: 0.9717 MB / 0.6397 GB, free: 13.67 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002755/1.457, allocations: 1.069 MB / 0.6407 GB, free: 12.6 MB / 458.7 MB Notification: Performance of SimCode: time 1.864e-06/1.457, allocations: 0 / 0.6407 GB, free: 12.6 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1166/1.574, allocations: 36.85 MB / 0.6767 GB, free: 7.949 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002207/1.574, allocations: 156.9 kB / 0.6768 GB, free: 7.723 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.57/5.144, allocations: 0 / 0.6768 GB, free: 7.723 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat does not exist to compare? outputFormat=mat