Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.649/2.649, allocations: 249.5 MB / 261.6 MB, free: 2.168 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.259e-05/4.264e-05, allocations: 4 kB / 323.5 MB, free: 4.219 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4/0.4001, allocations: 58.83 MB / 382.3 MB, free: 10.23 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.218/0.6182, allocations: 105.6 MB / 487.9 MB, free: 2.77 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003674/0.6186, allocations: 75.95 kB / 488 MB, free: 2.695 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.6881/1.307, allocations: 80.82 MB / 0.5555 GB, free: 112.1 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.434e-06/1.307, allocations: 3.531 kB / 0.5555 GB, free: 112.1 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.000218/1.307, allocations: 70 kB / 0.5555 GB, free: 112.1 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1391 * Number of variables: 1391 Notification: Performance of Generate backend data structure: time 0.01466/1.322, allocations: 3.789 MB / 0.5592 GB, free: 110.4 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/1.322, allocations: 10.53 kB / 0.5593 GB, free: 110.4 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002743/1.325, allocations: 0.7034 MB / 0.5599 GB, free: 110 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03148/1.356, allocations: 4.294 MB / 0.5641 GB, free: 109.2 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01711/1.373, allocations: 4.519 MB / 0.5686 GB, free: 106.7 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004104/1.374, allocations: 284.7 kB / 0.5688 GB, free: 106.6 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002267/1.376, allocations: 380.9 kB / 0.5692 GB, free: 106.3 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02609/1.402, allocations: 9.521 MB / 0.5785 GB, free: 95.94 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002266/1.402, allocations: 67.39 kB / 0.5785 GB, free: 95.87 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00133/1.404, allocations: 181.9 kB / 0.5787 GB, free: 95.72 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001817/1.406, allocations: 0.9489 MB / 0.5796 GB, free: 94.77 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02842/1.434, allocations: 7.847 MB / 0.5873 GB, free: 86.91 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0658/1.5, allocations: 43.8 MB / 0.6301 GB, free: 42 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01284/1.513, allocations: 3.647 MB / 0.6336 GB, free: 38.21 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003594/1.516, allocations: 1.941 MB / 0.6355 GB, free: 36.26 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005138/1.517, allocations: 335.9 kB / 0.6359 GB, free: 35.88 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.654e-05/1.517, allocations: 55.28 kB / 0.6359 GB, free: 35.82 MB / 458.8 MB Notification: Performance of pre-optimization done (n=156): time 5.72e-06/1.517, allocations: 0 / 0.6359 GB, free: 35.82 MB / 458.8 MB Notification: Performance of matching and sorting (n=177): time 0.05588/1.573, allocations: 12.9 MB / 0.6485 GB, free: 22.82 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.172e-05/1.573, allocations: 171.2 kB / 0.6487 GB, free: 22.62 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007525/1.581, allocations: 3.209 MB / 0.6518 GB, free: 19.41 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005465/1.581, allocations: 49.7 kB / 0.6519 GB, free: 19.36 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002655/1.584, allocations: 2.839 MB / 0.6546 GB, free: 16.52 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001118/1.585, allocations: 0.6829 MB / 0.6553 GB, free: 15.84 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007929/1.586, allocations: 106.6 kB / 0.6554 GB, free: 15.74 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0004018/1.586, allocations: 0.5414 MB / 0.6559 GB, free: 15.2 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005308/1.592, allocations: 2.084 MB / 0.658 GB, free: 13.11 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007489/1.599, allocations: 5.383 MB / 0.6632 GB, free: 6.051 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007389/1.607, allocations: 3.353 MB / 0.6665 GB, free: 2.695 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001134/1.607, allocations: 32 kB / 0.6665 GB, free: 2.664 MB / 458.8 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.02353/1.63, allocations: 7.734 MB / 0.6741 GB, free: 10.92 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001179/1.631, allocations: 56.19 kB / 0.6741 GB, free: 10.86 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002029/1.631, allocations: 123.9 kB / 0.6743 GB, free: 10.74 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004134/1.635, allocations: 0.9296 MB / 0.6752 GB, free: 9.809 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008739/1.644, allocations: 1.283 MB / 0.6764 GB, free: 8.523 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01406/1.658, allocations: 6.087 MB / 0.6824 GB, free: 2.309 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006573/1.664, allocations: 323.8 kB / 0.6827 GB, free: 1.992 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001557/1.666, allocations: 336 kB / 0.683 GB, free: 1.664 MB / 474.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 538 * Number of states: 0 () * Number of discrete variables: 24 (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.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 (673): * Single equations (assignments): 669 * 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.001919/1.668, allocations: 0.5193 MB / 0.6835 GB, free: 1.141 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009551/1.669, allocations: 319.8 kB / 0.6838 GB, free: 0.8242 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01145/1.68, allocations: 3.434 MB / 0.6872 GB, free: 13.38 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.732e-05/1.681, allocations: 19.95 kB / 0.6872 GB, free: 13.36 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.852e-05/1.681, allocations: 8 kB / 0.6872 GB, free: 13.35 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.026e-05/1.681, allocations: 7.969 kB / 0.6872 GB, free: 13.34 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03535/1.716, allocations: 8.464 MB / 0.6955 GB, free: 4.848 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.194e-05/1.716, allocations: 0 / 0.6955 GB, free: 4.848 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00319/1.719, allocations: 283.5 kB / 0.6957 GB, free: 4.57 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005678/1.725, allocations: 0.7509 MB / 0.6965 GB, free: 3.816 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007847/1.726, allocations: 31.94 kB / 0.6965 GB, free: 3.785 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01707/1.743, allocations: 5.627 MB / 0.702 GB, free: 14.04 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-06/1.743, allocations: 4 kB / 0.702 GB, free: 14.03 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01713/1.76, allocations: 6.227 MB / 0.7081 GB, free: 7.758 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002735/1.763, allocations: 0.6568 MB / 0.7087 GB, free: 7.078 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001131/1.764, allocations: 25.72 kB / 0.7087 GB, free: 7.055 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003279/1.768, allocations: 107.8 kB / 0.7088 GB, free: 6.949 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007036/1.768, allocations: 100.8 kB / 0.7089 GB, free: 6.852 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002279/1.769, allocations: 40 kB / 0.709 GB, free: 6.812 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.00665/1.775, allocations: 2.243 MB / 0.7112 GB, free: 4.582 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.373e-06/1.775, allocations: 0 / 0.7112 GB, free: 4.582 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.007923/1.783, allocations: 0.9397 MB / 0.7121 GB, free: 3.645 MB / 0.4949 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 (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.4287/2.212, allocations: 7.044 MB / 0.719 GB, free: 142 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01188/2.224, allocations: 4.916 MB / 0.7238 GB, free: 141.9 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/2.224, allocations: 0 / 0.7238 GB, free: 141.9 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.004633/2.229, allocations: 1.857 MB / 0.7256 GB, free: 141.7 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002798/2.231, allocations: 367 kB / 0.7259 GB, free: 141.7 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02684/2.258, allocations: 8.567 MB / 0.7343 GB, free: 140 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006566/2.265, allocations: 3.15 MB / 0.7374 GB, free: 138.7 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.008091/2.273, allocations: 1.804 MB / 0.7391 GB, free: 138.7 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004269/2.277, allocations: 1.714 MB / 0.7408 GB, free: 137.3 MB / 0.4949 GB Notification: Performance of SimCode: time 1.883e-06/2.277, allocations: 0 / 0.7408 GB, free: 137.3 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1619/2.439, allocations: 72.91 MB / 0.812 GB, free: 84.54 MB / 0.4949 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002799/2.44, allocations: 197.4 kB / 0.8122 GB, free: 84.3 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.925/7.365, allocations: 0 / 0.8122 GB, free: 84.3 MB / 0.4949 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat does not exist to compare? outputFormat=mat