Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Spherical,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Joints_Spherical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.474/2.474, allocations: 270 MB / 282.6 MB, free: 1.84 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.217e-05/4.227e-05, allocations: 4 kB / 347.1 MB, free: 3.113 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4109/0.411, allocations: 61.87 MB / 408.9 MB, free: 10.63 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1949/0.6059, allocations: 103.2 MB / 0.5001 GB, free: 3.309 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002979/0.6063, allocations: 71.97 kB / 0.5002 GB, free: 3.238 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6877/1.294, allocations: 84.68 MB / 0.5829 GB, free: 57.26 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.983e-06/1.294, allocations: 4 kB / 0.5829 GB, free: 57.25 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001864/1.294, allocations: 64 kB / 0.5829 GB, free: 57.19 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: 1482 * Number of variables: 1482 Notification: Performance of Generate backend data structure: time 0.02066/1.315, allocations: 3.852 MB / 0.5867 GB, free: 53.28 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/1.315, allocations: 16.03 kB / 0.5867 GB, free: 53.26 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003255/1.318, allocations: 0.7538 MB / 0.5874 GB, free: 52.5 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04042/1.359, allocations: 5.879 MB / 0.5932 GB, free: 46.6 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01947/1.378, allocations: 5.162 MB / 0.5982 GB, free: 41.39 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003203/1.379, allocations: 279.3 kB / 0.5985 GB, free: 41.11 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002592/1.381, allocations: 375.8 kB / 0.5988 GB, free: 40.75 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03023/1.411, allocations: 10.31 MB / 0.6089 GB, free: 29.93 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001745/1.412, allocations: 27.75 kB / 0.6089 GB, free: 29.9 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00193/1.414, allocations: 171.9 kB / 0.6091 GB, free: 29.73 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002365/1.416, allocations: 1.152 MB / 0.6102 GB, free: 28.58 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03203/1.448, allocations: 9.855 MB / 0.6199 GB, free: 18.71 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07803/1.526, allocations: 37.4 MB / 0.6564 GB, free: 12.38 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01997/1.546, allocations: 5.552 MB / 0.6618 GB, free: 6.59 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005412/1.552, allocations: 2.309 MB / 0.6641 GB, free: 4.281 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0026/1.554, allocations: 1.876 MB / 0.6659 GB, free: 2.07 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.027e-05/1.554, allocations: 60.45 kB / 0.6659 GB, free: 2.004 MB / 474.7 MB Notification: Performance of pre-optimization done (n=224): time 6.062e-06/1.554, allocations: 0 / 0.6659 GB, free: 2.004 MB / 474.7 MB Notification: Performance of matching and sorting (n=231): time 0.05263/1.607, allocations: 12.36 MB / 0.678 GB, free: 5.562 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001599/1.609, allocations: 1.531 MB / 0.6795 GB, free: 3.879 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005634/1.614, allocations: 2.469 MB / 0.6819 GB, free: 1.395 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006424/1.615, allocations: 53.7 kB / 0.682 GB, free: 1.336 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002735/1.618, allocations: 2.676 MB / 0.6846 GB, free: 14.62 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001519/1.619, allocations: 0.8519 MB / 0.6854 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000615/1.62, allocations: 104 kB / 0.6855 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004726/1.621, allocations: 0.554 MB / 0.6861 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007078/1.628, allocations: 2.553 MB / 0.6885 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01/1.638, allocations: 5.513 MB / 0.6939 GB, free: 3.555 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009422/1.647, allocations: 3.785 MB / 0.6976 GB, free: 15.77 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.337e-05/1.647, allocations: 32 kB / 0.6977 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of matching and sorting (n=724) (initialization): time 0.4951/2.142, allocations: 18.52 MB / 0.7157 GB, free: 135.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001107/2.143, allocations: 49.28 kB / 0.7158 GB, free: 135.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.08427/2.227, allocations: 11.96 MB / 0.7275 GB, free: 135 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09271/2.32, allocations: 10.31 MB / 0.7375 GB, free: 135 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008066/2.328, allocations: 1.246 MB / 0.7388 GB, free: 135 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04411/2.372, allocations: 15.87 MB / 0.7543 GB, free: 132.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006726/2.379, allocations: 440 kB / 0.7547 GB, free: 132.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001234/2.38, allocations: 319 kB / 0.755 GB, free: 132.5 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 477 * Number of states: 0 () * Number of discrete variables: 24 (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],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[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 (652): * Single equations (assignments): 641 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 3} * Non-linear torn systems: 1 {4 9} Notification: Performance of prepare postOptimizeDAE: time 0.001271/2.381, allocations: 0.4997 MB / 0.7555 GB, free: 132.4 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006642/2.382, allocations: 270.3 kB / 0.7557 GB, free: 132.4 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01413/2.396, allocations: 5.064 MB / 0.7607 GB, free: 131.2 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01224/2.408, allocations: 4.357 MB / 0.7649 GB, free: 130 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.492e-05/2.408, allocations: 3.531 kB / 0.7649 GB, free: 130 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.245e-05/2.408, allocations: 7.453 kB / 0.7649 GB, free: 130 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03385/2.442, allocations: 12.93 MB / 0.7776 GB, free: 118.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.713e-05/2.442, allocations: 8 kB / 0.7776 GB, free: 118.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00353/2.446, allocations: 412.2 kB / 0.778 GB, free: 117.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005161/2.451, allocations: 0.9316 MB / 0.7789 GB, free: 116.9 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005333/2.452, allocations: 52.52 kB / 0.7789 GB, free: 116.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009122/2.461, allocations: 5.423 MB / 0.7842 GB, free: 111.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001105/2.462, allocations: 1.465 MB / 0.7856 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01802/2.48, allocations: 8.291 MB / 0.7937 GB, free: 101.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008953/2.481, allocations: 330.5 kB / 0.7941 GB, free: 101 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008044/2.482, allocations: 44 kB / 0.7941 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002956/2.485, allocations: 196.5 kB / 0.7943 GB, free: 100.7 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005283/2.485, allocations: 152.1 kB / 0.7944 GB, free: 100.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002428/2.486, allocations: 60.69 kB / 0.7945 GB, free: 100.5 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003602/2.489, allocations: 1.688 MB / 0.7961 GB, free: 98.82 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.022e-06/2.489, allocations: 0 / 0.7961 GB, free: 98.82 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006883/2.496, allocations: 1.111 MB / 0.7972 GB, free: 97.72 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 6 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.w_a[1],body.w_a[2],body.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (170): * Single equations (assignments): 161 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01916/2.515, allocations: 10.89 MB / 0.8079 GB, free: 86.68 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01636/2.532, allocations: 6.313 MB / 0.814 GB, free: 80.53 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.3e-05/2.532, allocations: 3.469 kB / 0.814 GB, free: 80.53 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006066/2.538, allocations: 2.474 MB / 0.8164 GB, free: 78.02 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002703/2.541, allocations: 336.9 kB / 0.8168 GB, free: 77.71 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02972/2.57, allocations: 10.3 MB / 0.8268 GB, free: 67.4 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005971/2.576, allocations: 3.256 MB / 0.83 GB, free: 64.13 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004385/2.581, allocations: 1.716 MB / 0.8317 GB, free: 62.42 MB / 0.5105 GB Notification: Performance of SimCode: time 1.643e-06/2.581, allocations: 0 / 0.8317 GB, free: 62.42 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.74/7.321, allocations: 129.4 MB / 0.958 GB, free: 138.6 MB / 0.5261 GB