Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Joints_CheckConstaintTorqueUniversalJoint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.67/2.67, allocations: 270 MB / 282.6 MB, free: 1.93 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.404e-05/4.415e-05, allocations: 11.88 kB / 347.1 MB, free: 3.219 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3917/0.3918, allocations: 61.85 MB / 408.9 MB, free: 10.73 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.193/0.5849, allocations: 106.6 MB / 0.5035 GB, free: 15.94 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002943/0.5852, allocations: 79.95 kB / 0.5035 GB, free: 15.86 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.643/1.228, allocations: 77.83 MB / 0.5796 GB, free: 61.36 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.764e-06/1.228, allocations: 0 / 0.5796 GB, free: 61.36 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001925/1.229, allocations: 68 kB / 0.5796 GB, free: 61.3 MB / 442.7 MB 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.01342/1.242, allocations: 3.635 MB / 0.5832 GB, free: 57.6 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/1.242, allocations: 11.97 kB / 0.5832 GB, free: 57.59 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002645/1.245, allocations: 0.6596 MB / 0.5838 GB, free: 56.92 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03099/1.276, allocations: 4.254 MB / 0.588 GB, free: 52.66 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01669/1.292, allocations: 4.268 MB / 0.5921 GB, free: 48.32 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003451/1.293, allocations: 267.1 kB / 0.5924 GB, free: 48.06 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002135/1.295, allocations: 363.8 kB / 0.5927 GB, free: 47.71 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02573/1.321, allocations: 9.06 MB / 0.6016 GB, free: 37.74 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002367/1.321, allocations: 55.47 kB / 0.6016 GB, free: 37.69 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001408/1.322, allocations: 175.9 kB / 0.6018 GB, free: 37.52 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001744/1.324, allocations: 0.8884 MB / 0.6027 GB, free: 36.62 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02167/1.346, allocations: 7.433 MB / 0.6099 GB, free: 29.18 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06207/1.408, allocations: 42.12 MB / 0.6511 GB, free: 1.707 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01345/1.422, allocations: 3.431 MB / 0.6544 GB, free: 14.12 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003925/1.426, allocations: 1.792 MB / 0.6562 GB, free: 12.32 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006466/1.426, allocations: 335.9 kB / 0.6565 GB, free: 11.94 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.87e-05/1.426, allocations: 51.28 kB / 0.6565 GB, free: 11.88 MB / 474.7 MB Notification: Performance of pre-optimization done (n=135): time 5.52e-06/1.426, allocations: 0 / 0.6565 GB, free: 11.88 MB / 474.7 MB Notification: Performance of matching and sorting (n=156): time 0.05539/1.482, allocations: 12.11 MB / 0.6684 GB, free: 15.67 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001352/1.482, allocations: 167 kB / 0.6685 GB, free: 15.47 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007899/1.49, allocations: 3.123 MB / 0.6716 GB, free: 12.35 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004565/1.49, allocations: 49.7 kB / 0.6716 GB, free: 12.29 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00302/1.493, allocations: 2.667 MB / 0.6742 GB, free: 9.59 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001183/1.495, allocations: 0.6017 MB / 0.6748 GB, free: 8.98 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000705/1.495, allocations: 104 kB / 0.6749 GB, free: 8.879 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004731/1.496, allocations: 0.5416 MB / 0.6754 GB, free: 8.328 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005378/1.501, allocations: 1.928 MB / 0.6773 GB, free: 6.395 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008815/1.51, allocations: 5.142 MB / 0.6823 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007815/1.518, allocations: 3.16 MB / 0.6854 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001067/1.518, allocations: 32 kB / 0.6855 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of matching and sorting (n=686) (initialization): time 0.02225/1.54, allocations: 7.225 MB / 0.6925 GB, free: 5.199 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000107/1.541, allocations: 56 kB / 0.6926 GB, free: 5.145 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001788/1.541, allocations: 116 kB / 0.6927 GB, free: 5.031 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004073/1.545, allocations: 0.9175 MB / 0.6936 GB, free: 4.113 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00806/1.553, allocations: 1.213 MB / 0.6948 GB, free: 2.898 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01327/1.566, allocations: 6.09 MB / 0.7007 GB, free: 12.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00615/1.573, allocations: 303.8 kB / 0.701 GB, free: 12.38 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001402/1.574, allocations: 324 kB / 0.7013 GB, free: 12.06 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.001426/1.575, allocations: 0.5012 MB / 0.7018 GB, free: 11.55 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008858/1.576, allocations: 304 kB / 0.7021 GB, free: 11.25 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009718/1.586, allocations: 3.085 MB / 0.7051 GB, free: 8.145 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.088e-05/1.586, allocations: 16 kB / 0.7051 GB, free: 8.129 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.238e-05/1.586, allocations: 15.95 kB / 0.7051 GB, free: 8.113 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.002e-05/1.586, allocations: 7.969 kB / 0.7051 GB, free: 8.105 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02466/1.611, allocations: 7.761 MB / 0.7127 GB, free: 284 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.133e-05/1.611, allocations: 0 / 0.7127 GB, free: 284 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002562/1.614, allocations: 243.6 kB / 0.713 GB, free: 40 kB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3662/1.98, allocations: 0.7454 MB / 0.7137 GB, free: 135.9 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003905/1.98, allocations: 28.59 kB / 0.7137 GB, free: 135.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0126/1.993, allocations: 5.629 MB / 0.7192 GB, free: 134.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/1.993, allocations: 6.641 kB / 0.7192 GB, free: 134.6 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01298/2.006, allocations: 5.671 MB / 0.7247 GB, free: 134.1 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001056/2.007, allocations: 363.8 kB / 0.7251 GB, free: 134 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009657/2.008, allocations: 26.34 kB / 0.7251 GB, free: 134 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002667/2.011, allocations: 91.19 kB / 0.7252 GB, free: 134 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004775/2.011, allocations: 85.19 kB / 0.7253 GB, free: 134 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001715/2.011, allocations: 47.75 kB / 0.7253 GB, free: 134 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005433/2.017, allocations: 2.172 MB / 0.7275 GB, free: 133.9 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.062e-06/2.017, allocations: 0 / 0.7275 GB, free: 133.9 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006287/2.023, allocations: 0.8802 MB / 0.7283 GB, free: 133.9 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.01381/2.037, allocations: 6.489 MB / 0.7347 GB, free: 132.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01042/2.048, allocations: 4.563 MB / 0.7391 GB, free: 131.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.316e-06/2.048, allocations: 5.531 kB / 0.7391 GB, free: 131.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004276/2.052, allocations: 1.676 MB / 0.7407 GB, free: 131 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002988/2.055, allocations: 359 kB / 0.7411 GB, free: 130.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02509/2.08, allocations: 8.449 MB / 0.7493 GB, free: 127.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006302/2.086, allocations: 3.013 MB / 0.7523 GB, free: 126.5 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004147/2.091, allocations: 1.66 MB / 0.7539 GB, free: 125.2 MB / 0.5105 GB Notification: Performance of SimCode: time 1.843e-06/2.091, allocations: 0 / 0.7539 GB, free: 125.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.039/6.13, allocations: 86.91 MB / 0.8388 GB, free: 55.63 MB / 0.5105 GB