Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.604/2.604, allocations: 270 MB / 283.6 MB, free: 3.125 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.86e-05/3.883e-05, allocations: 4 kB / 348.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1346, allocations: 61.88 MB / 410.3 MB, free: 12.92 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6061/0.7408, allocations: 106.6 MB / 0.5049 GB, free: 13.38 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003191/0.7412, allocations: 75.95 kB / 0.505 GB, free: 13.31 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4142/1.155, allocations: 77.83 MB / 0.581 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.325e-06/1.155, allocations: 0 / 0.581 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002482/1.156, allocations: 79.92 kB / 0.581 GB, free: 14.95 MB / 0.4948 GB 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.01493/1.171, allocations: 3.623 MB / 0.5846 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.722e-05/1.171, allocations: 16.02 kB / 0.5846 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003039/1.174, allocations: 0.6557 MB / 0.5852 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04296/1.217, allocations: 4.25 MB / 0.5894 GB, free: 6.32 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02487/1.242, allocations: 4.271 MB / 0.5936 GB, free: 1.984 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005853/1.242, allocations: 271.1 kB / 0.5938 GB, free: 1.719 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002452/1.245, allocations: 355.8 kB / 0.5941 GB, free: 1.371 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02867/1.274, allocations: 9.06 MB / 0.603 GB, free: 7.402 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002512/1.274, allocations: 51.47 kB / 0.603 GB, free: 7.352 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001429/1.275, allocations: 175.9 kB / 0.6032 GB, free: 7.18 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002104/1.277, allocations: 0.8845 MB / 0.6041 GB, free: 6.289 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3964/1.674, allocations: 7.432 MB / 0.6113 GB, free: 123.8 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07929/1.753, allocations: 42.13 MB / 0.6525 GB, free: 98.39 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01284/1.766, allocations: 3.429 MB / 0.6558 GB, free: 97.73 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003831/1.77, allocations: 1.786 MB / 0.6576 GB, free: 97.35 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000554/1.771, allocations: 335.1 kB / 0.6579 GB, free: 97.05 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.015e-05/1.771, allocations: 49.42 kB / 0.6579 GB, free: 97.01 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=135): time 5.38e-06/1.771, allocations: 0 / 0.6579 GB, free: 97.01 MB / 0.5105 GB Notification: Performance of matching and sorting (n=156): time 0.05349/1.824, allocations: 12.11 MB / 0.6698 GB, free: 92.5 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.697e-05/1.824, allocations: 172.5 kB / 0.6699 GB, free: 92.31 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007173/1.831, allocations: 3.128 MB / 0.673 GB, free: 91.2 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004599/1.832, allocations: 46.52 kB / 0.673 GB, free: 91.15 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002505/1.834, allocations: 2.723 MB / 0.6757 GB, free: 89.18 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001072/1.836, allocations: 0.6081 MB / 0.6763 GB, free: 88.75 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007315/1.836, allocations: 103.4 kB / 0.6764 GB, free: 88.66 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004047/1.837, allocations: 0.5302 MB / 0.6769 GB, free: 88.27 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004698/1.841, allocations: 1.93 MB / 0.6788 GB, free: 87.59 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00684/1.848, allocations: 5.14 MB / 0.6838 GB, free: 82.56 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006713/1.855, allocations: 3.154 MB / 0.6869 GB, free: 81.59 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001331/1.855, allocations: 39.28 kB / 0.6869 GB, free: 81.59 MB / 0.5105 GB Notification: Performance of matching and sorting (n=686) (initialization): time 0.02031/1.876, allocations: 7.319 MB / 0.6941 GB, free: 79.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.274e-05/1.876, allocations: 58.2 kB / 0.6941 GB, free: 79.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001627/1.876, allocations: 114.1 kB / 0.6942 GB, free: 79.09 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003808/1.88, allocations: 0.9268 MB / 0.6951 GB, free: 78.91 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007729/1.888, allocations: 1.212 MB / 0.6963 GB, free: 78.76 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01161/1.899, allocations: 6.085 MB / 0.7023 GB, free: 75.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006128/1.905, allocations: 298.4 kB / 0.7025 GB, free: 75.34 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001274/1.907, allocations: 325.3 kB / 0.7029 GB, free: 75.29 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.001447/1.908, allocations: 0.5107 MB / 0.7034 GB, free: 74.87 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008339/1.909, allocations: 300.6 kB / 0.7036 GB, free: 74.7 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008587/1.918, allocations: 3.077 MB / 0.7066 GB, free: 73.54 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.79e-05/1.918, allocations: 19.59 kB / 0.7067 GB, free: 73.54 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.47e-05/1.918, allocations: 7.438 kB / 0.7067 GB, free: 73.54 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.154e-05/1.918, allocations: 10.59 kB / 0.7067 GB, free: 73.54 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02167/1.939, allocations: 7.777 MB / 0.7143 GB, free: 70.52 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.351e-05/1.94, allocations: 3.75 kB / 0.7143 GB, free: 70.52 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002494/1.942, allocations: 237.3 kB / 0.7145 GB, free: 70.51 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003314/1.945, allocations: 0.7469 MB / 0.7152 GB, free: 70.33 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003878/1.946, allocations: 43 kB / 0.7153 GB, free: 70.31 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01111/1.957, allocations: 5.614 MB / 0.7208 GB, free: 66.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/1.957, allocations: 0 / 0.7208 GB, free: 66.8 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01328/1.97, allocations: 5.676 MB / 0.7263 GB, free: 61.77 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001211/1.972, allocations: 363.6 kB / 0.7266 GB, free: 61.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001234/1.973, allocations: 23.95 kB / 0.7267 GB, free: 61.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00308/1.976, allocations: 100 kB / 0.7268 GB, free: 61.32 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000567/1.977, allocations: 80.36 kB / 0.7268 GB, free: 61.27 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001745/1.977, allocations: 36.94 kB / 0.7269 GB, free: 61.24 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00521/1.982, allocations: 2.176 MB / 0.729 GB, free: 59.32 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.042e-06/1.982, allocations: 4 kB / 0.729 GB, free: 59.32 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006587/1.989, allocations: 0.88 MB / 0.7299 GB, free: 58.44 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.01375/2.002, allocations: 6.486 MB / 0.7362 GB, free: 52.62 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01058/2.013, allocations: 4.57 MB / 0.7407 GB, free: 48.46 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/2.013, allocations: 4 kB / 0.7407 GB, free: 48.45 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004222/2.017, allocations: 1.671 MB / 0.7423 GB, free: 46.95 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003024/2.02, allocations: 366.9 kB / 0.7426 GB, free: 46.64 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0236/2.044, allocations: 8.012 MB / 0.7505 GB, free: 39.65 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004919/2.049, allocations: 3.009 MB / 0.7534 GB, free: 37.33 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.007435/2.057, allocations: 1.718 MB / 0.7551 GB, free: 36.25 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003712/2.06, allocations: 1.623 MB / 0.7567 GB, free: 34.75 MB / 0.5105 GB Notification: Performance of SimCode: time 1.493e-06/2.06, allocations: 0 / 0.7567 GB, free: 34.75 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5475/2.608, allocations: 69.13 MB / 0.8242 GB, free: 127.5 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001692/2.608, allocations: 189.5 kB / 0.8244 GB, free: 127.3 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.874/7.482, allocations: 0 / 0.8244 GB, free: 127.3 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat does not exist to compare? outputFormat=mat