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.497/2.497, allocations: 235.1 MB / 242.2 MB, free: 15.86 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.883e-05/2.889e-05, allocations: 4 kB / 299.5 MB, free: 6.527 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.427/0.4271, allocations: 54.85 MB / 354.3 MB, free: 14.16 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1819/0.6091, allocations: 98.77 MB / 453.1 MB, free: 15.5 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002964/0.6094, allocations: 79.94 kB / 453.2 MB, free: 15.43 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.653/1.262, allocations: 78.84 MB / 0.5196 GB, free: 101.9 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.835e-06/1.262, allocations: 0 / 0.5196 GB, free: 101.9 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002486/1.263, allocations: 71.97 kB / 0.5196 GB, free: 101.9 MB / 426.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.01601/1.279, allocations: 3.786 MB / 0.5233 GB, free: 99.8 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.322e-05/1.279, allocations: 6.938 kB / 0.5233 GB, free: 99.8 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03057/1.309, allocations: 4.284 MB / 0.5275 GB, free: 97.66 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01663/1.326, allocations: 4.503 MB / 0.5319 GB, free: 95.17 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002147/1.326, allocations: 122 kB / 0.532 GB, free: 95.17 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00191/1.328, allocations: 220.5 kB / 0.5322 GB, free: 95.16 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01322/1.342, allocations: 5.627 MB / 0.5377 GB, free: 89.71 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01979/1.361, allocations: 8.689 MB / 0.5462 GB, free: 80.11 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002077/1.362, allocations: 59.47 kB / 0.5463 GB, free: 80.05 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009366/1.363, allocations: 31.98 kB / 0.5463 GB, free: 80.02 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001718/1.364, allocations: 0.9344 MB / 0.5472 GB, free: 79.08 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05744/1.422, allocations: 41.88 MB / 0.5881 GB, free: 36.25 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005402/1.427, allocations: 3.229 MB / 0.5913 GB, free: 32.87 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003185/1.431, allocations: 1.904 MB / 0.5931 GB, free: 30.96 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005283/1.431, allocations: 327.2 kB / 0.5934 GB, free: 30.59 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.745e-05/1.431, allocations: 58.83 kB / 0.5935 GB, free: 30.52 MB / 426.7 MB Notification: Performance of pre-optimization done (n=156): time 6.843e-06/1.431, allocations: 4 kB / 0.5935 GB, free: 30.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=177): time 0.04021/1.471, allocations: 13.09 MB / 0.6063 GB, free: 17.34 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.957e-05/1.472, allocations: 175.5 kB / 0.6065 GB, free: 17.13 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005171/1.477, allocations: 2.753 MB / 0.6091 GB, free: 14.37 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004828/1.477, allocations: 25.89 kB / 0.6092 GB, free: 14.34 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002154/1.479, allocations: 2.889 MB / 0.612 GB, free: 11.41 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001043/1.48, allocations: 0.6632 MB / 0.6126 GB, free: 10.73 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005302/1.481, allocations: 0 / 0.6126 GB, free: 10.73 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003495/1.481, allocations: 0.5458 MB / 0.6132 GB, free: 10.18 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004204/1.486, allocations: 2.018 MB / 0.6151 GB, free: 8.156 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006605/1.492, allocations: 5.482 MB / 0.6205 GB, free: 0.9219 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007931/1.5, allocations: 3.323 MB / 0.6237 GB, free: 13.59 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001313/1.5, allocations: 36 kB / 0.6238 GB, free: 13.56 MB / 442.7 MB Notification: Performance of matching and sorting (n=748) (initialization): time 0.02332/1.524, allocations: 7.472 MB / 0.6311 GB, free: 6.082 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001099/1.524, allocations: 60.06 kB / 0.6311 GB, free: 6.023 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000198/1.524, allocations: 124 kB / 0.6312 GB, free: 5.902 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004057/1.528, allocations: 0.9374 MB / 0.6322 GB, free: 4.957 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00894/1.537, allocations: 1.337 MB / 0.6335 GB, free: 3.617 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01314/1.55, allocations: 5.733 MB / 0.6391 GB, free: 13.76 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006348/1.557, allocations: 215.5 kB / 0.6393 GB, free: 13.55 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001381/1.558, allocations: 356 kB / 0.6396 GB, free: 13.2 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 565 * 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 (700): * Single equations (assignments): 696 * 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%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001186/1.559, allocations: 412 kB / 0.64 GB, free: 12.79 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01052/1.57, allocations: 3.592 MB / 0.6435 GB, free: 9.188 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001126/1.571, allocations: 296.1 kB / 0.6438 GB, free: 8.895 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01027/1.581, allocations: 3.29 MB / 0.647 GB, free: 5.59 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.581e-05/1.582, allocations: 20 kB / 0.647 GB, free: 5.57 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.57e-05/1.582, allocations: 11.94 kB / 0.647 GB, free: 5.559 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.061e-05/1.582, allocations: 15.92 kB / 0.647 GB, free: 5.543 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02464/1.606, allocations: 7.657 MB / 0.6545 GB, free: 13.88 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-05/1.606, allocations: 0 / 0.6545 GB, free: 13.88 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003042/1.609, allocations: 291.5 kB / 0.6548 GB, free: 13.59 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003501/1.613, allocations: 0.7386 MB / 0.6555 GB, free: 12.85 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003808/1.613, allocations: 8 kB / 0.6555 GB, free: 12.84 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01203/1.625, allocations: 5.26 MB / 0.6607 GB, free: 7.465 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.783e-06/1.626, allocations: 4 kB / 0.6607 GB, free: 7.461 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01565/1.641, allocations: 6.068 MB / 0.6666 GB, free: 1.344 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002389/1.644, allocations: 0.6298 MB / 0.6672 GB, free: 0.6953 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007832/1.644, allocations: 7.984 kB / 0.6672 GB, free: 0.6875 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002442/1.647, allocations: 75.86 kB / 0.6673 GB, free: 0.6133 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004628/1.647, allocations: 97.45 kB / 0.6674 GB, free: 0.5156 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002158/1.648, allocations: 44 kB / 0.6674 GB, free: 484 kB / 474.7 MB Notification: Performance of sorting global known variables: time 0.3398/1.987, allocations: 1.834 MB / 0.6692 GB, free: 131.4 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.32e-07/1.987, allocations: 0.9375 kB / 0.6692 GB, free: 131.4 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007529/1.995, allocations: 0.8011 MB / 0.67 GB, free: 131.4 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.01683/2.012, allocations: 6.886 MB / 0.6767 GB, free: 130.3 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01189/2.024, allocations: 5.005 MB / 0.6816 GB, free: 130.1 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.086e-06/2.024, allocations: 0 / 0.6816 GB, free: 130.1 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004704/2.029, allocations: 1.834 MB / 0.6834 GB, free: 130 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002928/2.032, allocations: 282.6 kB / 0.6837 GB, free: 130 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02875/2.06, allocations: 8.336 MB / 0.6918 GB, free: 127.3 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006982/2.067, allocations: 3.139 MB / 0.6949 GB, free: 126 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.008572/2.076, allocations: 1.867 MB / 0.6967 GB, free: 126 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004406/2.081, allocations: 1.697 MB / 0.6984 GB, free: 124.6 MB / 474.7 MB Notification: Performance of SimCode: time 1.934e-06/2.081, allocations: 0 / 0.6984 GB, free: 124.6 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1689/2.249, allocations: 67.51 MB / 0.7643 GB, free: 73.85 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002397/2.25, allocations: 159.3 kB / 0.7644 GB, free: 73.66 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.529/6.779, allocations: 0 / 0.7644 GB, free: 73.66 MB / 474.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