Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Universal,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Joints_Universal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.549/2.549, allocations: 270 MB / 282.6 MB, free: 1.977 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.677e-05/3.687e-05, allocations: 4 kB / 347.1 MB, free: 3.215 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4169/0.417, allocations: 61.86 MB / 408.9 MB, free: 10.73 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1982/0.6152, allocations: 104.7 MB / 0.5016 GB, free: 1.855 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002978/0.6156, allocations: 79.95 kB / 0.5017 GB, free: 1.777 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.73/1.346, allocations: 96.64 MB / 0.5961 GB, free: 43.63 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.054e-06/1.346, allocations: 0 / 0.5961 GB, free: 43.63 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002163/1.346, allocations: 83.98 kB / 0.5961 GB, free: 43.55 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: 1760 * Number of variables: 1760 Notification: Performance of Generate backend data structure: time 0.01696/1.363, allocations: 4.243 MB / 0.6003 GB, free: 39.24 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/1.363, allocations: 8.031 kB / 0.6003 GB, free: 39.23 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004106/1.367, allocations: 0.8755 MB / 0.6011 GB, free: 38.35 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02704/1.394, allocations: 3.609 MB / 0.6047 GB, free: 34.73 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01612/1.41, allocations: 4.337 MB / 0.6089 GB, free: 30.34 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004443/1.411, allocations: 344.8 kB / 0.6092 GB, free: 30 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003064/1.414, allocations: 439.8 kB / 0.6097 GB, free: 29.57 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03482/1.449, allocations: 11.6 MB / 0.621 GB, free: 17.43 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002689/1.449, allocations: 35.75 kB / 0.621 GB, free: 17.39 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00263/1.452, allocations: 199.9 kB / 0.6212 GB, free: 17.2 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002738/1.454, allocations: 1.337 MB / 0.6225 GB, free: 15.86 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03133/1.486, allocations: 11.07 MB / 0.6333 GB, free: 4.777 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09285/1.579, allocations: 41.55 MB / 0.6739 GB, free: 10.21 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02031/1.599, allocations: 5.905 MB / 0.6797 GB, free: 4.082 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006751/1.606, allocations: 2.983 MB / 0.6826 GB, free: 1.094 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00269/1.609, allocations: 1.884 MB / 0.6844 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.927e-05/1.609, allocations: 56.56 kB / 0.6845 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=262): time 7.043e-06/1.609, allocations: 0 / 0.6845 GB, free: 14.81 MB / 0.4948 GB Notification: Performance of matching and sorting (n=283): time 0.07388/1.683, allocations: 16.58 MB / 0.7007 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.092e-05/1.683, allocations: 77.41 kB / 0.7007 GB, free: 14 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006287/1.689, allocations: 2.658 MB / 0.7033 GB, free: 11.32 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0007056/1.69, allocations: 61.7 kB / 0.7034 GB, free: 11.25 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003078/1.693, allocations: 2.964 MB / 0.7063 GB, free: 8.254 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.00187/1.695, allocations: 1.017 MB / 0.7073 GB, free: 7.223 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008069/1.696, allocations: 120 kB / 0.7074 GB, free: 7.105 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005838/1.696, allocations: 0.559 MB / 0.7079 GB, free: 6.535 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007581/1.704, allocations: 2.764 MB / 0.7106 GB, free: 3.766 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3824/2.086, allocations: 5.859 MB / 0.7164 GB, free: 129.5 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01082/2.097, allocations: 4.062 MB / 0.7203 GB, free: 129.4 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001328/2.097, allocations: 33.25 kB / 0.7204 GB, free: 129.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=784) (initialization): time 0.02811/2.125, allocations: 9.471 MB / 0.7296 GB, free: 129.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001086/2.126, allocations: 51.03 kB / 0.7297 GB, free: 129.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001471/2.126, allocations: 107 kB / 0.7298 GB, free: 129.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006247/2.132, allocations: 1.381 MB / 0.7311 GB, free: 129.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009275/2.141, allocations: 1.375 MB / 0.7324 GB, free: 129 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01475/2.156, allocations: 7.188 MB / 0.7395 GB, free: 127.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007424/2.164, allocations: 405.7 kB / 0.7399 GB, free: 127.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001647/2.165, allocations: 339.1 kB / 0.7402 GB, free: 127.6 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 499 * Number of states: 0 () * Number of discrete variables: 32 (axis1.headAtOrigin,axis1.color[3],axis1.color[2],axis1.color[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],axis2.headAtOrigin,axis2.color[3],axis2.color[2],axis2.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (714): * Single equations (assignments): 707 * Array equations: 6 * 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 {(3,100.0%) 20} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001556/2.167, allocations: 0.5396 MB / 0.7407 GB, free: 127.3 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008119/2.168, allocations: 298.5 kB / 0.741 GB, free: 127.3 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01828/2.186, allocations: 6.578 MB / 0.7474 GB, free: 126.2 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001118/2.186, allocations: 49.34 kB / 0.7475 GB, free: 126.2 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.4e-05/2.186, allocations: 3.812 kB / 0.7475 GB, free: 126.2 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.048e-05/2.186, allocations: 10.41 kB / 0.7475 GB, free: 126.2 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0378/2.224, allocations: 13.98 MB / 0.7611 GB, free: 121.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.215e-05/2.224, allocations: 3.875 kB / 0.7611 GB, free: 121.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004204/2.228, allocations: 460.6 kB / 0.7616 GB, free: 121.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006013/2.234, allocations: 1.208 MB / 0.7627 GB, free: 121.2 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006898/2.235, allocations: 47.89 kB / 0.7628 GB, free: 121.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01316/2.248, allocations: 6.53 MB / 0.7692 GB, free: 118 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.089e-05/2.248, allocations: 11.59 kB / 0.7692 GB, free: 118 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02371/2.272, allocations: 10.37 MB / 0.7793 GB, free: 110.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001119/2.273, allocations: 364.6 kB / 0.7797 GB, free: 110.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001328/2.275, allocations: 44.94 kB / 0.7797 GB, free: 110.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003648/2.278, allocations: 211.3 kB / 0.7799 GB, free: 110.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008227/2.279, allocations: 161 kB / 0.7801 GB, free: 110.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003056/2.28, allocations: 76.64 kB / 0.7801 GB, free: 110.1 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004196/2.284, allocations: 1.816 MB / 0.7819 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.42e-07/2.284, allocations: 0 / 0.7819 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00752/2.291, allocations: 1.139 MB / 0.783 GB, free: 107.4 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * 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 (218): * Single equations (assignments): 211 * Array equations: 6 * 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%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02473/2.316, allocations: 12.77 MB / 0.7955 GB, free: 95.72 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01554/2.332, allocations: 6.628 MB / 0.802 GB, free: 89.72 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.291e-05/2.332, allocations: 4 kB / 0.802 GB, free: 89.72 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006061/2.338, allocations: 2.704 MB / 0.8046 GB, free: 87.26 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003129/2.341, allocations: 366.9 kB / 0.805 GB, free: 86.96 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03513/2.376, allocations: 11.66 MB / 0.8163 GB, free: 76.77 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008004/2.384, allocations: 3.688 MB / 0.8199 GB, free: 73.94 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005481/2.39, allocations: 2.119 MB / 0.822 GB, free: 71.99 MB / 0.5105 GB Notification: Performance of SimCode: time 2.304e-06/2.39, allocations: 0 / 0.822 GB, free: 71.99 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.596/6.986, allocations: 106.6 MB / 0.9261 GB, free: 141.9 MB / 0.5261 GB