Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.661/2.661, allocations: 270 MB / 282.6 MB, free: 1.84 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.044e-05/4.043e-05, allocations: 7.984 kB / 347.1 MB, free: 3.102 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4172/0.4173, allocations: 61.87 MB / 408.9 MB, free: 10.66 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1933/0.6107, allocations: 105.5 MB / 0.5023 GB, free: 1.031 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002985/0.611, allocations: 75.95 kB / 0.5024 GB, free: 0.957 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7021/1.313, allocations: 94.39 MB / 0.5946 GB, free: 45.01 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.863e-06/1.313, allocations: 0 / 0.5946 GB, free: 45.01 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002014/1.313, allocations: 87.98 kB / 0.5947 GB, free: 44.93 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: 1739 * Number of variables: 1739 Notification: Performance of Generate backend data structure: time 0.02243/1.336, allocations: 4.412 MB / 0.599 GB, free: 40.45 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.357e-05/1.336, allocations: 8.031 kB / 0.599 GB, free: 40.44 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004177/1.34, allocations: 0.8853 MB / 0.5999 GB, free: 39.55 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02684/1.367, allocations: 3.574 MB / 0.6033 GB, free: 35.96 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01819/1.385, allocations: 4.628 MB / 0.6079 GB, free: 31.28 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004417/1.386, allocations: 345.1 kB / 0.6082 GB, free: 30.94 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002951/1.389, allocations: 455.8 kB / 0.6086 GB, free: 30.5 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03259/1.421, allocations: 11.05 MB / 0.6194 GB, free: 18.98 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002756/1.422, allocations: 31.72 kB / 0.6194 GB, free: 18.95 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002846/1.424, allocations: 203.9 kB / 0.6196 GB, free: 18.75 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002682/1.427, allocations: 1.204 MB / 0.6208 GB, free: 17.54 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02964/1.457, allocations: 10.41 MB / 0.631 GB, free: 7.121 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08761/1.545, allocations: 37.6 MB / 0.6677 GB, free: 0.6406 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01371/1.558, allocations: 4.229 MB / 0.6718 GB, free: 12.18 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00515/1.564, allocations: 2.1 MB / 0.6739 GB, free: 10.08 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001885/1.565, allocations: 1.323 MB / 0.6752 GB, free: 8.539 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.535e-05/1.566, allocations: 56.52 kB / 0.6752 GB, free: 8.473 MB / 490.7 MB Notification: Performance of pre-optimization done (n=235): time 6.302e-06/1.566, allocations: 0 / 0.6752 GB, free: 8.473 MB / 490.7 MB Notification: Performance of matching and sorting (n=256): time 0.05555/1.621, allocations: 10.56 MB / 0.6855 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.899e-05/1.621, allocations: 77.41 kB / 0.6856 GB, free: 13.8 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006395/1.628, allocations: 2.558 MB / 0.6881 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005749/1.628, allocations: 57.7 kB / 0.6882 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003106/1.631, allocations: 3.025 MB / 0.6911 GB, free: 8.094 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001658/1.633, allocations: 0.9443 MB / 0.692 GB, free: 7.137 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007486/1.634, allocations: 120 kB / 0.6922 GB, free: 7.02 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000628/1.635, allocations: 0.5588 MB / 0.6927 GB, free: 6.449 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006316/1.641, allocations: 2.272 MB / 0.6949 GB, free: 4.172 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00958/1.65, allocations: 5.436 MB / 0.7002 GB, free: 13.15 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009032/1.66, allocations: 3.558 MB / 0.7037 GB, free: 9.59 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001174/1.66, allocations: 36 kB / 0.7037 GB, free: 9.555 MB / 0.5105 GB Notification: Performance of matching and sorting (n=774) (initialization): time 0.02703/1.687, allocations: 8.07 MB / 0.7116 GB, free: 1.461 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001193/1.687, allocations: 56 kB / 0.7117 GB, free: 1.406 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001804/1.687, allocations: 112 kB / 0.7118 GB, free: 1.297 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007004/1.694, allocations: 1.052 MB / 0.7128 GB, free: 240 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.383/2.077, allocations: 1.331 MB / 0.7141 GB, free: 128.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004656/2.082, allocations: 2.468 MB / 0.7165 GB, free: 126.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006178/2.088, allocations: 312.4 kB / 0.7168 GB, free: 126.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001362/2.089, allocations: 340.7 kB / 0.7171 GB, free: 126.9 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 511 * Number of states: 0 () * Number of discrete variables: 29 (freeMotionScalarInit2.arrowColor[3],freeMotionScalarInit2.arrowColor[2],freeMotionScalarInit2.arrowColor[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],freeMotionScalarInit1.arrow.arrow.arrowLine.twoHeadedArrow,freeMotionScalarInit1.arrow.headAtOrigin,freeMotionScalarInit1.arrowColor[3],freeMotionScalarInit1.arrowColor[2],freeMotionScalarInit1.arrowColor[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 (721): * Single equations (assignments): 712 * 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): 2 {(2,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001739/2.091, allocations: 0.5302 MB / 0.7177 GB, free: 126.8 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006851/2.092, allocations: 291.9 kB / 0.7179 GB, free: 126.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01575/2.108, allocations: 4.923 MB / 0.7228 GB, free: 126.6 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001081/2.108, allocations: 44.73 kB / 0.7228 GB, free: 126.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.556e-05/2.108, allocations: 6.656 kB / 0.7228 GB, free: 126.6 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.417e-05/2.108, allocations: 10.22 kB / 0.7228 GB, free: 126.6 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03367/2.142, allocations: 11.51 MB / 0.7341 GB, free: 125.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.955e-05/2.142, allocations: 7.062 kB / 0.7341 GB, free: 125.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003707/2.145, allocations: 409.3 kB / 0.7345 GB, free: 125.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006239/2.152, allocations: 0.903 MB / 0.7353 GB, free: 125.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006103/2.152, allocations: 64.78 kB / 0.7354 GB, free: 125.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003564/2.156, allocations: 2.262 MB / 0.7376 GB, free: 124.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.357e-05/2.156, allocations: 10.59 kB / 0.7376 GB, free: 124.6 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01942/2.175, allocations: 7.98 MB / 0.7454 GB, free: 123.1 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009298/2.176, allocations: 340.4 kB / 0.7457 GB, free: 123 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00106/2.178, allocations: 46.47 kB / 0.7458 GB, free: 123 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002934/2.18, allocations: 139.4 kB / 0.7459 GB, free: 123 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006439/2.181, allocations: 158.8 kB / 0.7461 GB, free: 123 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002582/2.181, allocations: 72.94 kB / 0.7461 GB, free: 123 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004183/2.186, allocations: 1.743 MB / 0.7478 GB, free: 122.4 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.002e-06/2.186, allocations: 0 / 0.7478 GB, free: 122.4 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006983/2.193, allocations: 1.02 MB / 0.7488 GB, free: 122.3 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 12 (freeMotionScalarInit1.r_rel_a_1,freeMotionScalarInit1.r_rel_a_2,freeMotionScalarInit1.r_rel_a_3,freeMotionScalarInit1.v_rel_a_1,freeMotionScalarInit1.v_rel_a_2,freeMotionScalarInit1.v_rel_a_3,freeMotionScalarInit2.angle_1,freeMotionScalarInit2.angle_2,freeMotionScalarInit2.angle_3,freeMotionScalarInit2.angle_d_1,freeMotionScalarInit2.angle_d_2,freeMotionScalarInit2.angle_d_3) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (206): * Single equations (assignments): 197 * 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): 2 {(2,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02044/2.213, allocations: 10.55 MB / 0.7591 GB, free: 116.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01528/2.228, allocations: 5.854 MB / 0.7648 GB, free: 114.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.52e-05/2.229, allocations: 0 / 0.7648 GB, free: 114.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00748/2.236, allocations: 2.503 MB / 0.7673 GB, free: 113.6 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004202/2.24, allocations: 452.9 kB / 0.7677 GB, free: 113.4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0355/2.276, allocations: 11.43 MB / 0.7789 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008147/2.284, allocations: 3.687 MB / 0.7825 GB, free: 102.6 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005049/2.289, allocations: 2.05 MB / 0.7845 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of SimCode: time 1.413e-06/2.289, allocations: 0 / 0.7845 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.904/7.193, allocations: 142.7 MB / 0.9239 GB, free: 150.1 MB / 0.5417 GB