Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.InitializationConversion.Bodies,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_InitializationConversion_Bodies",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 3.34/3.34, allocations: 235.2 MB / 242.3 MB, free: 9.566 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.365e-05/4.382e-05, allocations: 4 kB / 299.6 MB, free: 212 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4892/0.4893, allocations: 54.87 MB / 354.4 MB, free: 15.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2087/0.698, allocations: 94.61 MB / 449 MB, free: 448 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003485/0.6984, allocations: 71.97 kB / 449.1 MB, free: 376 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9815/1.68, allocations: 101.1 MB / 0.5373 GB, free: 26.95 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.755e-06/1.68, allocations: 0 / 0.5373 GB, free: 26.95 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004804/1.68, allocations: 88 kB / 0.5374 GB, free: 26.86 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1495 * Number of variables: 1495 Notification: Performance of Generate backend data structure: time 0.06828/1.749, allocations: 6.377 MB / 0.5436 GB, free: 20.42 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.449e-05/1.749, allocations: 8.031 kB / 0.5436 GB, free: 20.41 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004564/1.753, allocations: 0.6215 MB / 0.5442 GB, free: 19.78 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07533/1.829, allocations: 7.361 MB / 0.5514 GB, free: 12.4 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1014/1.93, allocations: 18.23 MB / 0.5692 GB, free: 10.07 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007231/1.931, allocations: 176.2 kB / 0.5694 GB, free: 9.895 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004364/1.935, allocations: 271.7 kB / 0.5696 GB, free: 9.629 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03419/1.97, allocations: 6.197 MB / 0.5757 GB, free: 3.426 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04816/2.018, allocations: 9.531 MB / 0.585 GB, free: 8.809 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006919/2.019, allocations: 87.23 kB / 0.5851 GB, free: 8.723 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003028/2.022, allocations: 32 kB / 0.5851 GB, free: 8.691 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005726/2.028, allocations: 1.05 MB / 0.5861 GB, free: 7.633 MB / 426.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.632/2.66, allocations: 49.29 MB / 0.6343 GB, free: 70.2 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00841/2.668, allocations: 3.183 MB / 0.6374 GB, free: 69.45 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004827/2.673, allocations: 1.909 MB / 0.6392 GB, free: 69.39 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002659/2.673, allocations: 19.97 kB / 0.6393 GB, free: 69.39 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.593e-05/2.673, allocations: 57.2 kB / 0.6393 GB, free: 69.35 MB / 458.7 MB Notification: Performance of pre-optimization done (n=188): time 8.146e-06/2.673, allocations: 3.438 kB / 0.6393 GB, free: 69.35 MB / 458.7 MB Notification: Performance of matching and sorting (n=216): time 0.09227/2.766, allocations: 18.83 MB / 0.6577 GB, free: 63.49 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001247/2.766, allocations: 329.1 kB / 0.658 GB, free: 63.12 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0119/2.778, allocations: 3.972 MB / 0.6619 GB, free: 62.73 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007751/2.779, allocations: 28.55 kB / 0.6619 GB, free: 62.7 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004561/2.783, allocations: 3.554 MB / 0.6654 GB, free: 61.02 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002074/2.785, allocations: 0.8871 MB / 0.6663 GB, free: 60.52 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001325/2.787, allocations: 0 / 0.6663 GB, free: 60.52 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0008045/2.788, allocations: 0.618 MB / 0.6669 GB, free: 60.2 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008933/2.797, allocations: 2.91 MB / 0.6697 GB, free: 60.18 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01225/2.809, allocations: 7.319 MB / 0.6769 GB, free: 54.46 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01273/2.822, allocations: 4.512 MB / 0.6813 GB, free: 53.16 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002457/2.822, allocations: 46.56 kB / 0.6813 GB, free: 53.16 MB / 458.7 MB Notification: Performance of matching and sorting (n=970) (initialization): time 0.1045/2.926, allocations: 14.72 MB / 0.6957 GB, free: 50.02 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002706/2.927, allocations: 71.66 kB / 0.6957 GB, free: 50.02 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.07962/3.006, allocations: 8.806 MB / 0.7043 GB, free: 45.6 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.09525/3.102, allocations: 6.673 MB / 0.7109 GB, free: 41.73 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01343/3.115, allocations: 1.733 MB / 0.7126 GB, free: 40.25 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0572/3.172, allocations: 15.22 MB / 0.7274 GB, free: 26.54 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02517/3.198, allocations: 0.6481 MB / 0.7281 GB, free: 26.12 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003299/3.201, allocations: 467.5 kB / 0.7285 GB, free: 25.69 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 718 * Number of states: 0 () * Number of discrete variables: 36 (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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (894): * Single equations (assignments): 869 * 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.00486/3.206, allocations: 0.5016 MB / 0.729 GB, free: 25.19 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002923/3.209, allocations: 430.5 kB / 0.7294 GB, free: 24.76 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004193/3.213, allocations: 0.5681 MB / 0.73 GB, free: 24.25 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.05894/3.272, allocations: 5.876 MB / 0.7357 GB, free: 18.89 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.473e-05/3.272, allocations: 13.88 kB / 0.7357 GB, free: 18.88 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001089/3.273, allocations: 15.91 kB / 0.7357 GB, free: 18.86 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06149/3.334, allocations: 9.848 MB / 0.7453 GB, free: 8.949 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-05/3.334, allocations: 7.25 kB / 0.7453 GB, free: 8.945 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005805/3.34, allocations: 447.3 kB / 0.7458 GB, free: 8.508 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.04191/3.382, allocations: 3.529 MB / 0.7492 GB, free: 4.969 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001168/3.383, allocations: 67.86 kB / 0.7493 GB, free: 4.902 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03167/3.415, allocations: 13.39 MB / 0.7624 GB, free: 6.891 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.006835/3.422, allocations: 5.613 MB / 0.7678 GB, free: 0.8008 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04771/3.47, allocations: 10.45 MB / 0.778 GB, free: 6.156 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003347/3.473, allocations: 0.5033 MB / 0.7785 GB, free: 5.629 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002923/3.476, allocations: 39.97 kB / 0.7786 GB, free: 5.59 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01168/3.488, allocations: 311.4 kB / 0.7789 GB, free: 5.285 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001867/3.49, allocations: 183.6 kB / 0.779 GB, free: 5.105 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007894/3.49, allocations: 75.88 kB / 0.7791 GB, free: 5.031 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.01364/3.504, allocations: 2.706 MB / 0.7818 GB, free: 2.332 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.964e-06/3.504, allocations: 0 / 0.7818 GB, free: 2.332 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.02066/3.525, allocations: 1.548 MB / 0.7833 GB, free: 0.7891 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 54 ($STATESET140078256353675.x[3],$STATESET140078256353675.x[2],$STATESET140078256353675.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],$STATESET140078256353674.x[3],$STATESET140078256353674.x[2],$STATESET140078256353674.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],$STATESET140078256353673.x[3],$STATESET140078256353673.x[2],$STATESET140078256353673.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],$STATESET140078256353672.x[3],$STATESET140078256353672.x[2],$STATESET140078256353672.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.06267/3.588, allocations: 11.78 MB / 0.7948 GB, free: 4.867 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.03307/3.621, allocations: 8.797 MB / 0.8034 GB, free: 11.87 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.133e-05/3.621, allocations: 0 / 0.8034 GB, free: 11.87 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01915/3.64, allocations: 4.539 MB / 0.8078 GB, free: 7.086 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006996/3.647, allocations: 0.5515 MB / 0.8083 GB, free: 6.547 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5848/4.232, allocations: 13.74 MB / 0.8218 GB, free: 148.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01023/4.242, allocations: 3.78 MB / 0.8254 GB, free: 147.9 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.02017/4.262, allocations: 2.302 MB / 0.8277 GB, free: 147.9 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01/4.273, allocations: 2.276 MB / 0.8299 GB, free: 147.9 MB / 0.5105 GB Notification: Performance of SimCode: time 3.276e-06/4.273, allocations: 0 / 0.8299 GB, free: 147.9 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4287/4.701, allocations: 113.1 MB / 0.9403 GB, free: 75.97 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002936/4.702, allocations: 161.7 kB / 0.9405 GB, free: 75.77 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 8.503/13.21, allocations: 0 / 0.9405 GB, free: 75.77 MB / 0.5105 GB