Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Sensors_CutTorque2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.459/2.459, allocations: 270 MB / 283.6 MB, free: 3.109 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.407e-05/3.415e-05, allocations: 5.828 kB / 348.5 MB, free: 10.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.13, allocations: 61.89 MB / 410.4 MB, free: 12.88 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5437/0.6737, allocations: 102.7 MB / 0.5011 GB, free: 1.242 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002887/0.6741, allocations: 71.97 kB / 0.5012 GB, free: 1.172 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2232/0.8974, allocations: 53.75 MB / 0.5536 GB, free: 11.1 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.8974, allocations: 0 / 0.5536 GB, free: 11.1 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001578/0.8976, allocations: 52 kB / 0.5537 GB, free: 11.05 MB / 474.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.009805/0.9074, allocations: 2.523 MB / 0.5562 GB, free: 8.469 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.848e-05/0.9075, allocations: 8.031 kB / 0.5562 GB, free: 8.461 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002583/0.9101, allocations: 0.5191 MB / 0.5567 GB, free: 7.934 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01408/0.9242, allocations: 1.794 MB / 0.5584 GB, free: 6.133 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006148/0.9304, allocations: 1.668 MB / 0.56 GB, free: 4.418 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003405/0.9308, allocations: 209.5 kB / 0.5602 GB, free: 4.211 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001702/0.9325, allocations: 271.9 kB / 0.5605 GB, free: 3.945 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02186/0.9544, allocations: 6.227 MB / 0.5666 GB, free: 13.38 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001436/0.9546, allocations: 15.88 kB / 0.5666 GB, free: 13.36 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00158/0.9562, allocations: 127.9 kB / 0.5667 GB, free: 13.24 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001598/0.9579, allocations: 0.6294 MB / 0.5673 GB, free: 12.61 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01762/0.9755, allocations: 5.348 MB / 0.5726 GB, free: 7.25 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04825/1.024, allocations: 22.32 MB / 0.5944 GB, free: 276 kB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007274/1.031, allocations: 1.983 MB / 0.5963 GB, free: 14.16 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001743/1.033, allocations: 0.6876 MB / 0.597 GB, free: 13.46 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01183/1.045, allocations: 3.694 MB / 0.6006 GB, free: 9.617 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.467e-05/1.045, allocations: 39 kB / 0.6006 GB, free: 9.57 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=78): time 5.07e-06/1.045, allocations: 0 / 0.6006 GB, free: 9.57 MB / 0.5105 GB Notification: Performance of matching and sorting (n=78): time 0.00893/1.054, allocations: 1.581 MB / 0.6022 GB, free: 7.98 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.428e-05/1.054, allocations: 55.84 kB / 0.6022 GB, free: 7.914 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00463/1.059, allocations: 1.722 MB / 0.6039 GB, free: 6.191 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001662/1.059, allocations: 37.69 kB / 0.6039 GB, free: 6.148 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002202/1.061, allocations: 1.887 MB / 0.6058 GB, free: 4.23 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006571/1.062, allocations: 312.1 kB / 0.6061 GB, free: 3.922 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003969/1.062, allocations: 59.98 kB / 0.6061 GB, free: 3.863 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005928/1.063, allocations: 0.4892 MB / 0.6066 GB, free: 3.363 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002604/1.065, allocations: 0.8296 MB / 0.6074 GB, free: 2.531 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3612/1.427, allocations: 2.664 MB / 0.61 GB, free: 141.3 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004413/1.431, allocations: 1.529 MB / 0.6115 GB, free: 141.3 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001091/1.431, allocations: 19.81 kB / 0.6115 GB, free: 141.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=386) (initialization): time 0.0102/1.442, allocations: 3.224 MB / 0.6147 GB, free: 141.3 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.037e-05/1.442, allocations: 35.53 kB / 0.6147 GB, free: 141.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001654/1.442, allocations: 68.91 kB / 0.6148 GB, free: 141.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001876/1.442, allocations: 96.44 kB / 0.6149 GB, free: 141.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004282/1.446, allocations: 0.6601 MB / 0.6155 GB, free: 141.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001907/1.447, allocations: 128.1 kB / 0.6156 GB, free: 141.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003346/1.45, allocations: 409.6 kB / 0.616 GB, free: 141.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000745/1.451, allocations: 182.5 kB / 0.6162 GB, free: 141.2 MB / 0.5105 GB 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.0007725/1.452, allocations: 342.6 kB / 0.6165 GB, free: 141 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004431/1.452, allocations: 157.9 kB / 0.6167 GB, free: 140.9 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006741/1.453, allocations: 206.4 kB / 0.6169 GB, free: 140.9 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.963e-05/1.453, allocations: 8.812 kB / 0.6169 GB, free: 140.9 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.228e-05/1.453, allocations: 2.75 kB / 0.6169 GB, free: 140.9 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.097e-05/1.453, allocations: 2.391 kB / 0.6169 GB, free: 140.9 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01193/1.465, allocations: 4.085 MB / 0.6209 GB, free: 140.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-05/1.465, allocations: 7.688 kB / 0.6209 GB, free: 140.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008423/1.466, allocations: 104.2 kB / 0.621 GB, free: 140.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.276e-05/1.466, allocations: 9.938 kB / 0.621 GB, free: 140.3 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.594e-05/1.466, allocations: 19.47 kB / 0.621 GB, free: 140.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.89e-05/1.466, allocations: 13.27 kB / 0.621 GB, free: 140.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-05/1.466, allocations: 12.31 kB / 0.621 GB, free: 140.3 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002777/1.469, allocations: 1.724 MB / 0.6227 GB, free: 139.1 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007041/1.469, allocations: 265.5 kB / 0.623 GB, free: 138.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004728/1.47, allocations: 22.67 kB / 0.623 GB, free: 138.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001176/1.471, allocations: 28.08 kB / 0.623 GB, free: 138.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002222/1.471, allocations: 56.38 kB / 0.6231 GB, free: 138.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.8e-05/1.471, allocations: 35.02 kB / 0.6231 GB, free: 138.9 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0038/1.475, allocations: 1.252 MB / 0.6243 GB, free: 138.8 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.51e-07/1.475, allocations: 1.031 kB / 0.6243 GB, free: 138.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004518/1.48, allocations: 0.7099 MB / 0.625 GB, free: 138.7 MB / 0.5105 GB 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.003745/1.484, allocations: 4.038 MB / 0.629 GB, free: 135.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005038/1.489, allocations: 1.868 MB / 0.6308 GB, free: 135.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.505e-05/1.489, allocations: 1.156 kB / 0.6308 GB, free: 135.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001248/1.49, allocations: 446.8 kB / 0.6312 GB, free: 135.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002208/1.492, allocations: 230.8 kB / 0.6314 GB, free: 135.3 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01894/1.511, allocations: 5.02 MB / 0.6363 GB, free: 134.1 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005075/1.516, allocations: 2.384 MB / 0.6387 GB, free: 133.4 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.004394/1.521, allocations: 0.9662 MB / 0.6396 GB, free: 133.4 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002511/1.523, allocations: 1.069 MB / 0.6407 GB, free: 132.7 MB / 0.5105 GB Notification: Performance of SimCode: time 1.653e-06/1.524, allocations: 2.734 kB / 0.6407 GB, free: 132.7 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1032/1.627, allocations: 36.86 MB / 0.6767 GB, free: 124.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002182/1.627, allocations: 150.3 kB / 0.6768 GB, free: 124.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.551/5.179, allocations: 0 / 0.6768 GB, free: 124.2 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat does not exist to compare? outputFormat=mat