Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.521/2.521, allocations: 270 MB / 283.6 MB, free: 1.914 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.278e-05/4.286e-05, allocations: 4 kB / 348.5 MB, free: 2.738 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4035/0.4036, allocations: 61.88 MB / 410.4 MB, free: 10.76 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1944/0.598, allocations: 106.6 MB / 0.5049 GB, free: 15.96 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002871/0.5984, allocations: 75.95 kB / 0.505 GB, free: 15.88 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.69/1.288, allocations: 77.83 MB / 0.581 GB, free: 61.48 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.564e-06/1.288, allocations: 0 / 0.581 GB, free: 61.48 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002758/1.289, allocations: 71.98 kB / 0.581 GB, free: 61.41 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: 1305 * Number of variables: 1305 Notification: Performance of Generate backend data structure: time 0.01795/1.307, allocations: 3.631 MB / 0.5846 GB, free: 57.72 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.839e-05/1.307, allocations: 8.031 kB / 0.5846 GB, free: 57.71 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002764/1.31, allocations: 0.6635 MB / 0.5852 GB, free: 57.04 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04015/1.35, allocations: 4.247 MB / 0.5894 GB, free: 52.78 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01607/1.366, allocations: 4.272 MB / 0.5935 GB, free: 48.45 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003069/1.366, allocations: 279 kB / 0.5938 GB, free: 48.17 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002004/1.368, allocations: 355.8 kB / 0.5942 GB, free: 47.82 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02411/1.392, allocations: 9.056 MB / 0.603 GB, free: 37.86 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002304/1.393, allocations: 55.47 kB / 0.603 GB, free: 37.81 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001283/1.394, allocations: 175.9 kB / 0.6032 GB, free: 37.64 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001753/1.396, allocations: 0.8884 MB / 0.6041 GB, free: 36.75 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02115/1.417, allocations: 7.429 MB / 0.6113 GB, free: 29.3 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06029/1.477, allocations: 42.12 MB / 0.6525 GB, free: 1.82 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01349/1.491, allocations: 3.431 MB / 0.6558 GB, free: 14.24 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004052/1.495, allocations: 1.8 MB / 0.6576 GB, free: 12.43 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006215/1.496, allocations: 336 kB / 0.6579 GB, free: 12.05 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.445e-05/1.496, allocations: 47.28 kB / 0.6579 GB, free: 11.99 MB / 474.7 MB Notification: Performance of pre-optimization done (n=135): time 5.49e-06/1.496, allocations: 0 / 0.6579 GB, free: 11.99 MB / 474.7 MB Notification: Performance of matching and sorting (n=156): time 0.05655/1.552, allocations: 12.11 MB / 0.6698 GB, free: 15.78 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001243/1.552, allocations: 175 kB / 0.6699 GB, free: 15.57 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008519/1.561, allocations: 3.119 MB / 0.673 GB, free: 12.45 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004528/1.561, allocations: 45.7 kB / 0.673 GB, free: 12.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003229/1.565, allocations: 2.722 MB / 0.6757 GB, free: 9.641 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001137/1.566, allocations: 0.6095 MB / 0.6763 GB, free: 9.023 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007399/1.567, allocations: 107.9 kB / 0.6764 GB, free: 8.918 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0005428/1.567, allocations: 0.5329 MB / 0.6769 GB, free: 8.379 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005498/1.573, allocations: 1.931 MB / 0.6788 GB, free: 6.441 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008917/1.582, allocations: 5.138 MB / 0.6838 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007828/1.59, allocations: 3.158 MB / 0.6869 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001096/1.59, allocations: 32 kB / 0.6869 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of matching and sorting (n=686) (initialization): time 0.02438/1.614, allocations: 7.331 MB / 0.6941 GB, free: 5.148 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001207/1.614, allocations: 52 kB / 0.6941 GB, free: 5.098 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002011/1.615, allocations: 116 kB / 0.6942 GB, free: 4.984 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004133/1.619, allocations: 0.9255 MB / 0.6951 GB, free: 4.059 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008135/1.627, allocations: 1.209 MB / 0.6963 GB, free: 2.848 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0137/1.641, allocations: 6.089 MB / 0.7023 GB, free: 12.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006176/1.647, allocations: 299.4 kB / 0.7026 GB, free: 12.33 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001381/1.648, allocations: 331.9 kB / 0.7029 GB, free: 12 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 524 * Number of states: 0 () * Number of discrete variables: 26 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],torque.arrow.arrowLine.twoHeadedArrow,torque.arrow.headAtOrigin,torque.color[3],torque.color[2],torque.color[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[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 (638): * Single equations (assignments): 634 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001588/1.65, allocations: 0.4962 MB / 0.7034 GB, free: 11.5 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009099/1.651, allocations: 316 kB / 0.7037 GB, free: 11.19 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009717/1.661, allocations: 3.077 MB / 0.7067 GB, free: 8.094 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.666e-05/1.661, allocations: 16.28 kB / 0.7067 GB, free: 8.078 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.672e-05/1.661, allocations: 7.953 kB / 0.7067 GB, free: 8.07 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.612e-05/1.661, allocations: 11.97 kB / 0.7067 GB, free: 8.059 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02436/1.685, allocations: 7.764 MB / 0.7143 GB, free: 232 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.07e-05/1.685, allocations: 7.984 kB / 0.7143 GB, free: 224 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.3692/2.054, allocations: 235.9 kB / 0.7145 GB, free: 135.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004075/2.059, allocations: 0.7481 MB / 0.7152 GB, free: 135.9 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004065/2.059, allocations: 26.38 kB / 0.7153 GB, free: 135.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01254/2.072, allocations: 5.624 MB / 0.7208 GB, free: 134.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/2.072, allocations: 3.5 kB / 0.7208 GB, free: 134.5 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01321/2.085, allocations: 5.668 MB / 0.7263 GB, free: 134 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001223/2.086, allocations: 363.4 kB / 0.7267 GB, free: 133.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001005/2.087, allocations: 23.81 kB / 0.7267 GB, free: 133.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002382/2.09, allocations: 93.34 kB / 0.7268 GB, free: 133.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003657/2.09, allocations: 84.83 kB / 0.7268 GB, free: 133.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001881/2.09, allocations: 43.59 kB / 0.7269 GB, free: 133.9 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004553/2.095, allocations: 2.172 MB / 0.729 GB, free: 133.8 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.142e-06/2.095, allocations: 0 / 0.729 GB, free: 133.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005872/2.101, allocations: 0.8822 MB / 0.7299 GB, free: 133.8 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (115): * Single equations (assignments): 111 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01256/2.113, allocations: 6.5 MB / 0.7362 GB, free: 132.6 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01009/2.123, allocations: 4.559 MB / 0.7407 GB, free: 131.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.595e-06/2.123, allocations: 6.906 kB / 0.7407 GB, free: 131.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004221/2.128, allocations: 1.679 MB / 0.7423 GB, free: 131 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003244/2.131, allocations: 354.3 kB / 0.7427 GB, free: 130.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02541/2.156, allocations: 8.014 MB / 0.7505 GB, free: 128 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005858/2.162, allocations: 3.013 MB / 0.7534 GB, free: 126.8 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.008129/2.171, allocations: 1.722 MB / 0.7551 GB, free: 126.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004255/2.175, allocations: 1.624 MB / 0.7567 GB, free: 125.4 MB / 0.5105 GB Notification: Performance of SimCode: time 1.884e-06/2.175, allocations: 0 / 0.7567 GB, free: 125.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1561/2.331, allocations: 69.13 MB / 0.8242 GB, free: 72.57 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002027/2.331, allocations: 193.5 kB / 0.8244 GB, free: 72.35 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.83/7.161, allocations: 3.938 kB / 0.8244 GB, free: 72.34 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat does not exist to compare? outputFormat=mat