Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUPS2,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Joints_JointUPS2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.376/2.376, allocations: 270 MB / 282.6 MB, free: 1.824 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.728e-05/3.732e-05, allocations: 7.938 kB / 347.1 MB, free: 3.098 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3992/0.3993, allocations: 61.87 MB / 408.9 MB, free: 10.64 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1968/0.5962, allocations: 110.1 MB / 0.5069 GB, free: 12.39 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002448/0.5965, allocations: 67.97 kB / 0.5069 GB, free: 12.32 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7212/1.318, allocations: 100.4 MB / 0.605 GB, free: 35.22 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.264e-06/1.318, allocations: 0 / 0.605 GB, free: 35.22 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002534/1.318, allocations: 84 kB / 0.6051 GB, free: 35.14 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: 1695 * Number of variables: 1695 Notification: Performance of Generate backend data structure: time 0.02097/1.339, allocations: 5.11 MB / 0.6101 GB, free: 29.96 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.228e-05/1.339, allocations: 19.97 kB / 0.6101 GB, free: 29.94 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003195/1.342, allocations: 0.8452 MB / 0.6109 GB, free: 29.08 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03374/1.376, allocations: 4.615 MB / 0.6154 GB, free: 24.45 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02083/1.397, allocations: 5.764 MB / 0.621 GB, free: 18.62 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004161/1.397, allocations: 349.1 kB / 0.6214 GB, free: 18.28 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002612/1.4, allocations: 459.8 kB / 0.6218 GB, free: 17.83 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03564/1.436, allocations: 12.56 MB / 0.6341 GB, free: 4.18 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002575/1.436, allocations: 67.31 kB / 0.6341 GB, free: 4.113 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001418/1.437, allocations: 223.9 kB / 0.6343 GB, free: 3.895 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002578/1.44, allocations: 1.269 MB / 0.6356 GB, free: 2.625 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03539/1.475, allocations: 10.55 MB / 0.6459 GB, free: 8.059 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09933/1.575, allocations: 55.8 MB / 0.7004 GB, free: 14.52 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02784/1.603, allocations: 5.905 MB / 0.7062 GB, free: 8.453 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006684/1.609, allocations: 3.022 MB / 0.7091 GB, free: 5.426 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3944/2.004, allocations: 13.03 MB / 0.7218 GB, free: 125.2 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.047e-05/2.004, allocations: 60.38 kB / 0.7219 GB, free: 125.1 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=193): time 6.111e-06/2.004, allocations: 0 / 0.7219 GB, free: 125.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=254): time 0.1511/2.155, allocations: 30.46 MB / 0.7516 GB, free: 122.2 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001/2.155, allocations: 204.5 kB / 0.7518 GB, free: 121.9 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01038/2.166, allocations: 3.813 MB / 0.7556 GB, free: 121.1 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0008669/2.167, allocations: 61.77 kB / 0.7556 GB, free: 121.1 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003206/2.17, allocations: 3.343 MB / 0.7589 GB, free: 118.8 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0017/2.172, allocations: 0.9505 MB / 0.7598 GB, free: 118.1 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001061/2.173, allocations: 130.7 kB / 0.7599 GB, free: 118 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005225/2.173, allocations: 0.6015 MB / 0.7605 GB, free: 117.6 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00788/2.181, allocations: 2.995 MB / 0.7634 GB, free: 116.5 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009962/2.191, allocations: 6.862 MB / 0.7701 GB, free: 110.2 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01035/2.202, allocations: 4.482 MB / 0.7745 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001952/2.202, allocations: 37.34 kB / 0.7746 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=887) (initialization): time 0.03878/2.241, allocations: 11.88 MB / 0.7862 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001053/2.241, allocations: 64 kB / 0.7862 GB, free: 101.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001733/2.241, allocations: 143.5 kB / 0.7864 GB, free: 101.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01608/2.257, allocations: 3.206 MB / 0.7895 GB, free: 99.44 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009937/2.267, allocations: 1.554 MB / 0.791 GB, free: 98.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03439/2.301, allocations: 14.94 MB / 0.8056 GB, free: 85.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008962/2.31, allocations: 477.9 kB / 0.806 GB, free: 84.95 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001602/2.312, allocations: 406.7 kB / 0.8064 GB, free: 84.56 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 627 * Number of states: 0 () * Number of discrete variables: 36 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],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],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (809): * Single equations (assignments): 805 * 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 {(8,54.7%) 47} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001516/2.314, allocations: 0.6195 MB / 0.807 GB, free: 83.94 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001105/2.315, allocations: 398.8 kB / 0.8074 GB, free: 83.55 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0244/2.339, allocations: 7.374 MB / 0.8146 GB, free: 77.85 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.899e-05/2.339, allocations: 28 kB / 0.8146 GB, free: 77.82 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.062e-05/2.339, allocations: 15.44 kB / 0.8147 GB, free: 77.81 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.726e-05/2.339, allocations: 14.59 kB / 0.8147 GB, free: 77.8 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04362/2.383, allocations: 14.98 MB / 0.8293 GB, free: 65.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.943e-05/2.383, allocations: 0 / 0.8293 GB, free: 65.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003879/2.387, allocations: 383.4 kB / 0.8297 GB, free: 65.23 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01549/2.403, allocations: 2.868 MB / 0.8325 GB, free: 62.35 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006812/2.403, allocations: 44.53 kB / 0.8325 GB, free: 62.31 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03119/2.434, allocations: 13.24 MB / 0.8454 GB, free: 48.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.917e-06/2.435, allocations: 11.67 kB / 0.8455 GB, free: 48.93 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0338/2.468, allocations: 11.31 MB / 0.8565 GB, free: 37.52 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001455/2.47, allocations: 451.7 kB / 0.8569 GB, free: 37.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001853/2.472, allocations: 36 kB / 0.857 GB, free: 37.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005077/2.477, allocations: 208.2 kB / 0.8572 GB, free: 36.81 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001173/2.478, allocations: 150.5 kB / 0.8573 GB, free: 36.67 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004197/2.479, allocations: 63.98 kB / 0.8574 GB, free: 36.61 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.007093/2.486, allocations: 2.655 MB / 0.86 GB, free: 33.94 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.332e-06/2.486, allocations: 0 / 0.86 GB, free: 33.94 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008784/2.495, allocations: 1.32 MB / 0.8613 GB, free: 32.63 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 (189): * Single equations (assignments): 185 * 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 {(6,61.1%) 40} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03405/2.529, allocations: 12.15 MB / 0.8731 GB, free: 20.39 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01849/2.547, allocations: 7.441 MB / 0.8804 GB, free: 12.96 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/2.547, allocations: 0 / 0.8804 GB, free: 12.96 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.007837/2.555, allocations: 3.002 MB / 0.8833 GB, free: 9.961 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004069/2.559, allocations: 459.7 kB / 0.8838 GB, free: 9.523 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03803/2.597, allocations: 11.89 MB / 0.8954 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008936/2.606, allocations: 3.765 MB / 0.899 GB, free: 9.828 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006067/2.612, allocations: 2.268 MB / 0.9013 GB, free: 7.559 MB / 0.5261 GB Notification: Performance of SimCode: time 1.883e-06/2.612, allocations: 0 / 0.9013 GB, free: 7.559 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.113/7.725, allocations: 116.1 MB / 1.015 GB, free: 87.77 MB / 0.5417 GB