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.552/2.552, allocations: 235 MB / 247.2 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.245e-05/4.266e-05, allocations: 4 kB / 305 MB, free: 5.074 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4114/0.4115, allocations: 54.85 MB / 359.9 MB, free: 2.812 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1884/0.6, allocations: 99.45 MB / 459.3 MB, free: 13.34 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003156/0.6004, allocations: 79.95 kB / 459.4 MB, free: 13.26 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7619/1.362, allocations: 80.5 MB / 0.5273 GB, free: 102.8 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.365e-06/1.362, allocations: 0 / 0.5273 GB, free: 102.8 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003599/1.363, allocations: 75.25 kB / 0.5273 GB, free: 102.8 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.01931/1.382, allocations: 3.785 MB / 0.531 GB, free: 101.2 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.581e-05/1.382, allocations: 9.531 kB / 0.531 GB, free: 101.2 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003388/1.386, allocations: 0.705 MB / 0.5317 GB, free: 101.2 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0342/1.42, allocations: 4.285 MB / 0.5359 GB, free: 100.9 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01873/1.439, allocations: 4.496 MB / 0.5403 GB, free: 100.4 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005225/1.439, allocations: 285.9 kB / 0.5406 GB, free: 100.4 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00247/1.442, allocations: 378.9 kB / 0.5409 GB, free: 100.4 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02949/1.471, allocations: 9.512 MB / 0.5502 GB, free: 97.94 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002704/1.471, allocations: 62.02 kB / 0.5503 GB, free: 97.93 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001769/1.473, allocations: 181.9 kB / 0.5505 GB, free: 97.93 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002073/1.475, allocations: 0.9489 MB / 0.5514 GB, free: 97.92 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0224/1.498, allocations: 7.842 MB / 0.559 GB, free: 97.9 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06008/1.558, allocations: 43.69 MB / 0.6017 GB, free: 65.21 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01235/1.57, allocations: 3.636 MB / 0.6053 GB, free: 63.62 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003522/1.574, allocations: 1.953 MB / 0.6072 GB, free: 62.77 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004831/1.574, allocations: 335.9 kB / 0.6075 GB, free: 62.48 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.522e-05/1.575, allocations: 46.03 kB / 0.6075 GB, free: 62.43 MB / 458.7 MB Notification: Performance of pre-optimization done (n=156): time 5.049e-06/1.575, allocations: 3.938 kB / 0.6075 GB, free: 62.43 MB / 458.7 MB Notification: Performance of matching and sorting (n=177): time 0.05596/1.63, allocations: 12.88 MB / 0.6201 GB, free: 57.14 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.992e-05/1.631, allocations: 179.1 kB / 0.6203 GB, free: 56.93 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00754/1.638, allocations: 3.179 MB / 0.6234 GB, free: 54.1 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000514/1.639, allocations: 45.7 kB / 0.6234 GB, free: 54.05 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002485/1.641, allocations: 2.828 MB / 0.6262 GB, free: 51.52 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001107/1.642, allocations: 0.6868 MB / 0.6269 GB, free: 50.91 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006998/1.643, allocations: 112 kB / 0.627 GB, free: 50.8 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003856/1.644, allocations: 0.5309 MB / 0.6275 GB, free: 50.33 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005286/1.649, allocations: 2.081 MB / 0.6295 GB, free: 48.45 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007228/1.656, allocations: 5.357 MB / 0.6348 GB, free: 41.72 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007216/1.663, allocations: 3.336 MB / 0.638 GB, free: 38.84 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001058/1.664, allocations: 32 kB / 0.638 GB, free: 38.81 MB / 458.7 MB Notification: Performance of matching and sorting (n=718) (initialization): time 0.0219/1.685, allocations: 7.711 MB / 0.6456 GB, free: 32.12 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001013/1.686, allocations: 59.53 kB / 0.6456 GB, free: 32.07 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001856/1.686, allocations: 116 kB / 0.6457 GB, free: 31.96 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004105/1.69, allocations: 0.9337 MB / 0.6467 GB, free: 31.23 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008414/1.698, allocations: 1.276 MB / 0.6479 GB, free: 30.13 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01202/1.711, allocations: 6.095 MB / 0.6539 GB, free: 24.63 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006627/1.717, allocations: 322.4 kB / 0.6542 GB, free: 24.36 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001422/1.719, allocations: 342.2 kB / 0.6545 GB, free: 24.04 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.001784/1.721, allocations: 0.5177 MB / 0.655 GB, free: 23.52 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008433/1.721, allocations: 315.9 kB / 0.6553 GB, free: 23.2 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009783/1.731, allocations: 3.423 MB / 0.6586 GB, free: 20.39 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.166e-05/1.731, allocations: 20 kB / 0.6587 GB, free: 20.37 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.769e-05/1.731, allocations: 7.938 kB / 0.6587 GB, free: 20.36 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.131e-05/1.731, allocations: 6.75 kB / 0.6587 GB, free: 20.36 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02424/1.756, allocations: 8.458 MB / 0.6669 GB, free: 12.14 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.99e-05/1.756, allocations: 4 kB / 0.6669 GB, free: 12.14 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003042/1.759, allocations: 279.6 kB / 0.6672 GB, free: 11.86 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003362/1.762, allocations: 0.7623 MB / 0.6679 GB, free: 11.1 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004576/1.763, allocations: 28 kB / 0.668 GB, free: 11.07 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01133/1.774, allocations: 5.616 MB / 0.6735 GB, free: 5.336 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/1.774, allocations: 0 / 0.6735 GB, free: 5.336 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01484/1.789, allocations: 6.229 MB / 0.6795 GB, free: 15.07 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002698/1.792, allocations: 0.6578 MB / 0.6802 GB, free: 14.39 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001165/1.793, allocations: 27.98 kB / 0.6802 GB, free: 14.36 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00332/1.796, allocations: 103.9 kB / 0.6803 GB, free: 14.26 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007224/1.797, allocations: 108.8 kB / 0.6804 GB, free: 14.15 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002263/1.797, allocations: 43.94 kB / 0.6805 GB, free: 14.11 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.006474/1.804, allocations: 2.218 MB / 0.6826 GB, free: 11.9 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.31e-07/1.804, allocations: 0 / 0.6826 GB, free: 11.9 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007738/1.812, allocations: 0.9373 MB / 0.6835 GB, free: 10.97 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.01887/1.831, allocations: 7.041 MB / 0.6904 GB, free: 3.871 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01367/1.844, allocations: 4.919 MB / 0.6952 GB, free: 14.98 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/1.844, allocations: 0 / 0.6952 GB, free: 14.98 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005975/1.85, allocations: 1.844 MB / 0.697 GB, free: 13.12 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003886/1.854, allocations: 373.3 kB / 0.6974 GB, free: 12.78 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03215/1.886, allocations: 8.541 MB / 0.7057 GB, free: 4.191 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007848/1.894, allocations: 3.136 MB / 0.7088 GB, free: 1.051 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.3542/2.249, allocations: 1.796 MB / 0.7105 GB, free: 118.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004771/2.253, allocations: 1.701 MB / 0.7122 GB, free: 118.3 MB / 490.7 MB Notification: Performance of SimCode: time 1.333e-06/2.254, allocations: 2 kB / 0.7122 GB, free: 118.3 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1927/2.446, allocations: 72.56 MB / 0.7831 GB, free: 100.4 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002448/2.447, allocations: 193.3 kB / 0.7832 GB, free: 100.2 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.043/7.49, allocations: 0 / 0.7832 GB, free: 100.2 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