Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.555/2.555, allocations: 235 MB / 247.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.097e-05/4.114e-05, allocations: 7.938 kB / 305 MB, free: 5.074 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4123/0.4124, allocations: 54.85 MB / 359.9 MB, free: 2.793 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2309/0.6433, allocations: 99.45 MB / 459.3 MB, free: 13.33 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002799/0.6437, allocations: 76.73 kB / 459.4 MB, free: 13.25 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6636/1.307, allocations: 80.5 MB / 0.5272 GB, free: 102.7 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.164e-06/1.307, allocations: 0 / 0.5272 GB, free: 102.7 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002641/1.308, allocations: 71.67 kB / 0.5273 GB, free: 102.7 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: 1388 * Number of variables: 1388 Notification: Performance of Generate backend data structure: time 0.01745/1.325, allocations: 3.786 MB / 0.531 GB, free: 101.2 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.895e-05/1.325, allocations: 9.344 kB / 0.531 GB, free: 101.2 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003352/1.328, allocations: 0.7007 MB / 0.5317 GB, free: 101.1 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03382/1.362, allocations: 4.284 MB / 0.5359 GB, free: 100.9 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02026/1.383, allocations: 4.501 MB / 0.5403 GB, free: 100.3 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007065/1.383, allocations: 285.3 kB / 0.5405 GB, free: 100.3 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00274/1.386, allocations: 383.5 kB / 0.5409 GB, free: 100.3 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03233/1.419, allocations: 9.551 MB / 0.5502 GB, free: 97.86 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003515/1.419, allocations: 65.41 kB / 0.5503 GB, free: 97.85 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001867/1.421, allocations: 183.9 kB / 0.5505 GB, free: 97.85 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002081/1.423, allocations: 0.9472 MB / 0.5514 GB, free: 97.83 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02339/1.446, allocations: 8.01 MB / 0.5592 GB, free: 97.77 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06544/1.512, allocations: 43.68 MB / 0.6019 GB, free: 65.01 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01275/1.525, allocations: 3.662 MB / 0.6054 GB, free: 63.41 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003611/1.528, allocations: 1.95 MB / 0.6074 GB, free: 62.57 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005494/1.529, allocations: 329.8 kB / 0.6077 GB, free: 62.28 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.474e-05/1.529, allocations: 51.06 kB / 0.6077 GB, free: 62.22 MB / 458.7 MB Notification: Performance of pre-optimization done (n=156): time 6.141e-06/1.529, allocations: 5.281 kB / 0.6077 GB, free: 62.22 MB / 458.7 MB Notification: Performance of matching and sorting (n=177): time 0.05637/1.585, allocations: 12.88 MB / 0.6203 GB, free: 56.8 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.518e-05/1.586, allocations: 179.1 kB / 0.6205 GB, free: 56.59 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007875/1.594, allocations: 3.187 MB / 0.6236 GB, free: 53.76 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005287/1.594, allocations: 54.64 kB / 0.6236 GB, free: 53.7 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00256/1.597, allocations: 2.816 MB / 0.6264 GB, free: 51.17 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001235/1.598, allocations: 0.6841 MB / 0.6271 GB, free: 50.57 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008025/1.599, allocations: 104 kB / 0.6272 GB, free: 50.47 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004668/1.599, allocations: 0.5419 MB / 0.6277 GB, free: 49.99 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005531/1.605, allocations: 2.075 MB / 0.6297 GB, free: 48.11 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007633/1.613, allocations: 5.395 MB / 0.635 GB, free: 41.34 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007315/1.62, allocations: 3.34 MB / 0.6382 GB, free: 38.46 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.464e-05/1.62, allocations: 33.31 kB / 0.6383 GB, free: 38.43 MB / 458.7 MB Notification: Performance of matching and sorting (n=718) (initialization): time 0.022/1.642, allocations: 8.027 MB / 0.6461 GB, free: 31.42 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001089/1.642, allocations: 62.44 kB / 0.6462 GB, free: 31.37 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001757/1.642, allocations: 116 kB / 0.6463 GB, free: 31.25 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003897/1.646, allocations: 0.9311 MB / 0.6472 GB, free: 30.53 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008536/1.655, allocations: 1.282 MB / 0.6484 GB, free: 29.43 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01213/1.667, allocations: 6.091 MB / 0.6544 GB, free: 23.93 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006799/1.674, allocations: 319.2 kB / 0.6547 GB, free: 23.65 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001445/1.675, allocations: 339.3 kB / 0.655 GB, free: 23.33 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 535 * Number of states: 0 () * Number of discrete variables: 21 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (670): * Single equations (assignments): 666 * 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.002259/1.678, allocations: 0.5156 MB / 0.6555 GB, free: 22.81 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001068/1.679, allocations: 315.9 kB / 0.6558 GB, free: 22.5 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0112/1.69, allocations: 3.433 MB / 0.6592 GB, free: 19.68 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.734e-05/1.69, allocations: 20 kB / 0.6592 GB, free: 19.66 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.692e-05/1.69, allocations: 4 kB / 0.6592 GB, free: 19.65 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-05/1.69, allocations: 12.06 kB / 0.6592 GB, free: 19.65 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02603/1.716, allocations: 8.456 MB / 0.6675 GB, free: 11.53 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.335e-05/1.716, allocations: 0 / 0.6675 GB, free: 11.53 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003002/1.719, allocations: 287.5 kB / 0.6677 GB, free: 11.25 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003401/1.723, allocations: 0.756 MB / 0.6685 GB, free: 10.49 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005091/1.723, allocations: 28 kB / 0.6685 GB, free: 10.46 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01125/1.735, allocations: 5.617 MB / 0.674 GB, free: 4.723 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/1.735, allocations: 0 / 0.674 GB, free: 4.723 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01465/1.749, allocations: 6.233 MB / 0.6801 GB, free: 14.45 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002686/1.752, allocations: 0.6569 MB / 0.6807 GB, free: 13.77 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009642/1.753, allocations: 32 kB / 0.6808 GB, free: 13.74 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002995/1.756, allocations: 99.86 kB / 0.6808 GB, free: 13.64 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007197/1.757, allocations: 100.8 kB / 0.6809 GB, free: 13.55 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002276/1.757, allocations: 49.69 kB / 0.681 GB, free: 13.5 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.006264/1.764, allocations: 2.218 MB / 0.6832 GB, free: 11.29 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.253e-06/1.764, allocations: 0 / 0.6832 GB, free: 11.29 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006852/1.77, allocations: 0.9374 MB / 0.6841 GB, free: 10.36 MB / 474.7 MB 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 (137): * Single equations (assignments): 133 * 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.0175/1.788, allocations: 7.049 MB / 0.691 GB, free: 3.258 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01339/1.801, allocations: 5.085 MB / 0.6959 GB, free: 14.18 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.834e-06/1.802, allocations: 4.125 kB / 0.6959 GB, free: 14.18 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005525/1.807, allocations: 1.877 MB / 0.6978 GB, free: 12.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003417/1.811, allocations: 363 kB / 0.6981 GB, free: 11.96 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02983/1.84, allocations: 8.552 MB / 0.7065 GB, free: 3.371 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007629/1.848, allocations: 3.14 MB / 0.7095 GB, free: 232 kB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.3326/2.181, allocations: 1.792 MB / 0.7113 GB, free: 118.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00504/2.186, allocations: 1.706 MB / 0.7129 GB, free: 118.9 MB / 490.7 MB Notification: Performance of SimCode: time 1.814e-06/2.186, allocations: 1.406 kB / 0.7129 GB, free: 118.9 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2045/2.39, allocations: 73.13 MB / 0.7844 GB, free: 99.1 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002718/2.391, allocations: 190.7 kB / 0.7845 GB, free: 98.88 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.08/7.471, allocations: 4 kB / 0.7845 GB, free: 98.87 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat does not exist to compare? outputFormat=mat