Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.InitializationConversion.Bodies,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_InitializationConversion_Bodies",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.564/2.564, allocations: 270 MB / 282.6 MB, free: 1.879 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.236e-05/4.244e-05, allocations: 3.984 kB / 347.1 MB, free: 3.145 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3923/0.3924, allocations: 61.86 MB / 408.9 MB, free: 10.68 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1868/0.5792, allocations: 103.4 MB / 0.5003 GB, free: 3.094 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002805/0.5795, allocations: 83.95 kB / 0.5004 GB, free: 3.012 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7263/1.306, allocations: 103.9 MB / 0.6018 GB, free: 38.14 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.164e-06/1.306, allocations: 4 kB / 0.6018 GB, free: 38.14 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003613/1.306, allocations: 87.98 kB / 0.6019 GB, free: 38.05 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: 1498 * Number of variables: 1498 Notification: Performance of Generate backend data structure: time 0.0532/1.359, allocations: 6.368 MB / 0.6081 GB, free: 31.61 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.361e-05/1.36, allocations: 8.031 kB / 0.6082 GB, free: 31.61 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004125/1.364, allocations: 0.7894 MB / 0.6089 GB, free: 30.8 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.056/1.42, allocations: 7.362 MB / 0.6161 GB, free: 23.43 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06634/1.486, allocations: 17.75 MB / 0.6335 GB, free: 5.57 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004018/1.487, allocations: 308.1 kB / 0.6337 GB, free: 5.266 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002425/1.489, allocations: 435.6 kB / 0.6342 GB, free: 4.84 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02878/1.518, allocations: 10.47 MB / 0.6444 GB, free: 9.266 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003318/1.518, allocations: 79.22 kB / 0.6445 GB, free: 9.188 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001364/1.52, allocations: 203.9 kB / 0.6447 GB, free: 8.988 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002688/1.522, allocations: 1.057 MB / 0.6457 GB, free: 7.93 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02694/1.549, allocations: 8.89 MB / 0.6544 GB, free: 15.03 MB / 474.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08733/1.637, allocations: 51.21 MB / 0.7044 GB, free: 10.17 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01495/1.652, allocations: 3.792 MB / 0.7081 GB, free: 6.195 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004736/1.656, allocations: 1.963 MB / 0.71 GB, free: 4.211 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000231/1.657, allocations: 28.2 kB / 0.71 GB, free: 4.184 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.93e-05/1.657, allocations: 62.67 kB / 0.7101 GB, free: 4.113 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=188): time 6.592e-06/1.657, allocations: 0 / 0.7101 GB, free: 4.113 MB / 0.5105 GB Notification: Performance of matching and sorting (n=216): time 0.4283/2.085, allocations: 18.95 MB / 0.7286 GB, free: 121.2 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004418/2.09, allocations: 6.179 MB / 0.7346 GB, free: 115.3 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009391/2.099, allocations: 4.376 MB / 0.7389 GB, free: 114.9 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006889/2.1, allocations: 57.06 kB / 0.739 GB, free: 114.9 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002964/2.103, allocations: 3.343 MB / 0.7422 GB, free: 113.3 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001614/2.104, allocations: 0.9122 MB / 0.7431 GB, free: 112.8 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008597/2.105, allocations: 139.8 kB / 0.7432 GB, free: 112.8 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004138/2.106, allocations: 0.6237 MB / 0.7439 GB, free: 112.4 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006894/2.113, allocations: 3.011 MB / 0.7468 GB, free: 112.4 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009722/2.122, allocations: 7.298 MB / 0.7539 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009764/2.132, allocations: 4.594 MB / 0.7584 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001577/2.132, allocations: 47.19 kB / 0.7585 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=949) (initialization): time 0.07997/2.212, allocations: 14.99 MB / 0.7731 GB, free: 104 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001279/2.213, allocations: 68.53 kB / 0.7732 GB, free: 104 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.06249/2.275, allocations: 8.903 MB / 0.7819 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06806/2.343, allocations: 6.726 MB / 0.7884 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01007/2.353, allocations: 1.691 MB / 0.7901 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03334/2.387, allocations: 15.7 MB / 0.8054 GB, free: 85.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01242/2.399, allocations: 0.7857 MB / 0.8062 GB, free: 85.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001829/2.401, allocations: 456.6 kB / 0.8066 GB, free: 84.88 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 697 * Number of states: 0 () * Number of discrete variables: 39 (body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],body1.frameTranslation.color[3],body1.frameTranslation.color[2],body1.frameTranslation.color[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (873): * Single equations (assignments): 848 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 8 {(3,100.0%),(4,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 4 {4,4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001807/2.403, allocations: 0.6589 MB / 0.8073 GB, free: 84.23 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001303/2.404, allocations: 458.1 kB / 0.8077 GB, free: 83.78 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002156/2.406, allocations: 0.6121 MB / 0.8083 GB, free: 83.23 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02627/2.433, allocations: 5.973 MB / 0.8141 GB, free: 78.83 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.165e-05/2.433, allocations: 8 kB / 0.8141 GB, free: 78.82 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.526e-05/2.433, allocations: 15.09 kB / 0.8141 GB, free: 78.82 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03164/2.464, allocations: 10.38 MB / 0.8243 GB, free: 69.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.084e-05/2.465, allocations: 4 kB / 0.8243 GB, free: 69.85 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00433/2.469, allocations: 443.3 kB / 0.8247 GB, free: 69.42 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02298/2.492, allocations: 3.591 MB / 0.8282 GB, free: 65.79 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005885/2.492, allocations: 88.92 kB / 0.8283 GB, free: 65.71 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.019/2.511, allocations: 13.61 MB / 0.8416 GB, free: 51.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00392/2.515, allocations: 5.837 MB / 0.8473 GB, free: 44.92 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03297/2.548, allocations: 10.65 MB / 0.8577 GB, free: 34.1 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00178/2.55, allocations: 0.5225 MB / 0.8582 GB, free: 33.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001607/2.552, allocations: 67.97 kB / 0.8583 GB, free: 33.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006237/2.558, allocations: 344.4 kB / 0.8586 GB, free: 33.15 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009843/2.559, allocations: 187.6 kB / 0.8588 GB, free: 32.96 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002881/2.56, allocations: 72.72 kB / 0.8588 GB, free: 32.89 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006783/2.566, allocations: 3.082 MB / 0.8619 GB, free: 29.82 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.172e-06/2.566, allocations: 4 kB / 0.8619 GB, free: 29.82 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00986/2.576, allocations: 1.631 MB / 0.8634 GB, free: 28.2 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 54 ($STATESET4.x[3],$STATESET4.x[2],$STATESET4.x[1],body3.v_0[1],body3.v_0[2],body3.v_0[3],body3.body.frame_a.r_0[1],body3.body.frame_a.r_0[2],body3.body.frame_a.r_0[3],body3.body.w_a[1],body3.body.w_a[2],body3.body.w_a[3],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],body2.v_0[1],body2.v_0[2],body2.v_0[3],body2.body.frame_a.r_0[1],body2.body.frame_a.r_0[2],body2.body.frame_a.r_0[3],body2.body.w_a[1],body2.body.w_a[2],body2.body.w_a[3],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.body.frame_a.r_0[1],body1.body.frame_a.r_0[2],body1.body.frame_a.r_0[3],body1.body.w_a[1],body1.body.w_a[2],body1.body.w_a[3],pointMass.r_0[1],pointMass.r_0[2],pointMass.r_0[3],pointMass.v_0[1],pointMass.v_0[2],pointMass.v_0[3],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.frame_a.r_0[1],body.frame_a.r_0[2],body.frame_a.r_0[3],body.v_0[1],body.v_0[2],body.v_0[3],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 (156): * Single equations (assignments): 139 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 8 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 4 {4,4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0344/2.611, allocations: 11.97 MB / 0.8751 GB, free: 16.08 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02376/2.634, allocations: 8.914 MB / 0.8838 GB, free: 6.965 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.006e-06/2.635, allocations: 384 / 0.8838 GB, free: 6.965 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01398/2.649, allocations: 4.596 MB / 0.8883 GB, free: 2.125 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005834/2.654, allocations: 0.6294 MB / 0.889 GB, free: 1.516 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04285/2.697, allocations: 14.54 MB / 0.9032 GB, free: 3.102 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009038/2.706, allocations: 3.783 MB / 0.9068 GB, free: 15.31 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006347/2.713, allocations: 2.323 MB / 0.9091 GB, free: 12.99 MB / 0.5417 GB Notification: Performance of SimCode: time 1.623e-06/2.713, allocations: 0 / 0.9091 GB, free: 12.99 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.676/9.389, allocations: 366.1 MB / 1.267 GB, free: 61.89 MB / 0.5573 GB