Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.402/2.402, allocations: 270 MB / 283.6 MB, free: 3.109 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.223e-05/3.236e-05, allocations: 7.922 kB / 348.5 MB, free: 10.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.1462, allocations: 61.88 MB / 410.4 MB, free: 12.88 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5214/0.6677, allocations: 105.9 MB / 0.5041 GB, free: 14.03 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003047/0.668, allocations: 75.95 kB / 0.5042 GB, free: 13.95 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.082/1.75, allocations: 151.4 MB / 0.6521 GB, free: 107 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.345e-06/1.75, allocations: 0 / 0.6521 GB, free: 107 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0004605/1.75, allocations: 142.1 kB / 0.6522 GB, free: 107 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2587 * Number of variables: 2587 Notification: Performance of Generate backend data structure: time 0.03017/1.78, allocations: 7.363 MB / 0.6594 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.62e-05/1.781, allocations: 9.688 kB / 0.6594 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006265/1.787, allocations: 1.295 MB / 0.6607 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03029/1.817, allocations: 3.519 MB / 0.6641 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03105/1.848, allocations: 8.784 MB / 0.6727 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008214/1.849, allocations: 0.5634 MB / 0.6732 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004491/1.854, allocations: 0.7362 MB / 0.674 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05371/1.907, allocations: 17.42 MB / 0.691 GB, free: 95.31 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004858/1.908, allocations: 89.75 kB / 0.6911 GB, free: 95.28 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003901/1.912, allocations: 360.4 kB / 0.6914 GB, free: 95.07 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004269/1.916, allocations: 1.621 MB / 0.693 GB, free: 94.8 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04385/1.96, allocations: 13.12 MB / 0.7058 GB, free: 88.99 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1203/2.08, allocations: 74.59 MB / 0.7786 GB, free: 16.25 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02522/2.106, allocations: 5.227 MB / 0.7837 GB, free: 10.89 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005028/2.111, allocations: 2.067 MB / 0.7858 GB, free: 8.812 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02747/2.138, allocations: 9.972 MB / 0.7955 GB, free: 14.42 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.178e-05/2.138, allocations: 63.69 kB / 0.7956 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=182): time 6.261e-06/2.138, allocations: 0 / 0.7956 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of matching and sorting (n=206): time 0.06949/2.208, allocations: 13.09 MB / 0.8083 GB, free: 1.238 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001124/2.208, allocations: 153.8 kB / 0.8085 GB, free: 1.059 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4068/2.615, allocations: 5.506 MB / 0.8139 GB, free: 112.8 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.000437/2.615, allocations: 54.27 kB / 0.8139 GB, free: 112.8 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.005801/2.621, allocations: 5.299 MB / 0.8191 GB, free: 111.4 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.00128/2.623, allocations: 0.824 MB / 0.8199 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009566/2.624, allocations: 160.6 kB / 0.8201 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0006683/2.624, allocations: 0.6498 MB / 0.8207 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006419/2.631, allocations: 2.087 MB / 0.8227 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01084/2.642, allocations: 7.362 MB / 0.8299 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01075/2.652, allocations: 3.876 MB / 0.8337 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004071/2.653, allocations: 54.09 kB / 0.8337 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1055) (initialization): time 0.02684/2.68, allocations: 8.616 MB / 0.8422 GB, free: 103 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002146/2.68, allocations: 85.94 kB / 0.8422 GB, free: 103 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003016/2.68, allocations: 189.5 kB / 0.8424 GB, free: 103 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003351/2.681, allocations: 281.9 kB / 0.8427 GB, free: 103 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01216/2.693, allocations: 1.986 MB / 0.8446 GB, free: 102.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003775/2.693, allocations: 375.6 kB / 0.845 GB, free: 102.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01138/2.705, allocations: 0.5711 MB / 0.8455 GB, free: 102.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002003/2.707, allocations: 0.5026 MB / 0.846 GB, free: 102.7 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 871 * Number of states: 0 () * Number of discrete variables: 68 (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.torqueArrow.arrowLine.twoHeadedArrow,cutTorque2b.torqueArrow.headAtOrigin,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.torqueArrow.arrowLine.twoHeadedArrow,cutTorque1b.torqueArrow.headAtOrigin,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.torqueArrow.arrowLine.twoHeadedArrow,cutTorque2a.torqueArrow.headAtOrigin,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.torqueArrow.arrowLine.twoHeadedArrow,cutTorque1a.torqueArrow.headAtOrigin,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.groundColor[3],world.groundColor[2],world.groundColor[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 (1031): * Single equations (assignments): 1028 * 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.002365/2.709, allocations: 0.7587 MB / 0.8468 GB, free: 102.3 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001392/2.711, allocations: 0.5426 MB / 0.8473 GB, free: 102 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002317/2.713, allocations: 0.6489 MB / 0.8479 GB, free: 101.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-05/2.713, allocations: 25.75 kB / 0.848 GB, free: 101.9 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.76e-05/2.713, allocations: 2.25 kB / 0.848 GB, free: 101.9 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.203e-05/2.713, allocations: 11.17 kB / 0.848 GB, free: 101.9 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0356/2.749, allocations: 14.97 MB / 0.8626 GB, free: 97.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.578e-05/2.749, allocations: 45.78 kB / 0.8626 GB, free: 97.48 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002476/2.751, allocations: 433.8 kB / 0.8631 GB, free: 97.43 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.189e-05/2.751, allocations: 62.94 kB / 0.8631 GB, free: 97.43 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002008/2.752, allocations: 92.84 kB / 0.8632 GB, free: 97.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.334e-05/2.752, allocations: 91.61 kB / 0.8633 GB, free: 97.38 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.724e-05/2.752, allocations: 70.47 kB / 0.8634 GB, free: 97.36 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00819/2.76, allocations: 11.88 MB / 0.875 GB, free: 85.11 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002268/2.762, allocations: 0.6436 MB / 0.8756 GB, free: 84.67 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001872/2.764, allocations: 102.9 kB / 0.8757 GB, free: 84.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004855/2.769, allocations: 174.5 kB / 0.8759 GB, free: 84.61 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006418/2.77, allocations: 301.7 kB / 0.8761 GB, free: 84.47 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002331/2.77, allocations: 116.2 kB / 0.8763 GB, free: 84.46 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0102/2.78, allocations: 3.854 MB / 0.88 GB, free: 83.16 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.82e-07/2.78, allocations: 0 / 0.88 GB, free: 83.16 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01128/2.791, allocations: 1.362 MB / 0.8814 GB, free: 83 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 203 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (230): * Single equations (assignments): 227 * 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.01066/2.802, allocations: 21.14 MB / 0.902 GB, free: 62.2 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01151/2.814, allocations: 4.727 MB / 0.9066 GB, free: 60.68 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.393e-05/2.814, allocations: 10.16 kB / 0.9066 GB, free: 60.68 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002509/2.816, allocations: 1.098 MB / 0.9077 GB, free: 60.32 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007161/2.824, allocations: 0.8497 MB / 0.9085 GB, free: 60.02 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0491/2.873, allocations: 14.99 MB / 0.9232 GB, free: 53.5 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01334/2.886, allocations: 5.405 MB / 0.9284 GB, free: 51.77 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01259/2.899, allocations: 2.575 MB / 0.931 GB, free: 50.55 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00768/2.906, allocations: 3.433 MB / 0.9343 GB, free: 47.36 MB / 0.5261 GB Notification: Performance of SimCode: time 1.393e-06/2.906, allocations: 0 / 0.9343 GB, free: 47.36 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6879/3.594, allocations: 109 MB / 1.041 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002874/3.595, allocations: 141 kB / 1.041 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.086/10.68, allocations: 4.938 kB / 1.041 GB, free: 106.9 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque_res.mat does not exist to compare? outputFormat=mat