Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.InitializationConversion.Bodies,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_InitializationConversion_Bodies",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.994/1.994, allocations: 209.3 MB / 221.5 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.774e-05/3.788e-05, allocations: 3.984 kB / 273.2 MB, free: 124 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1076, allocations: 48.7 MB / 321.9 MB, free: 15.32 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5211/0.6287, allocations: 88.58 MB / 410.5 MB, free: 0.875 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003669/0.6291, allocations: 67.97 kB / 410.5 MB, free: 0.8086 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.023/1.652, allocations: 102.2 MB / 0.5007 GB, free: 92.16 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.605e-06/1.652, allocations: 0 / 0.5007 GB, free: 92.16 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004251/1.652, allocations: 84.89 kB / 0.5008 GB, free: 92.16 MB / 426.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.05887/1.711, allocations: 6.378 MB / 0.507 GB, free: 90.3 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.429e-05/1.711, allocations: 9.125 kB / 0.507 GB, free: 90.3 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005019/1.716, allocations: 0.7854 MB / 0.5078 GB, free: 90.23 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06673/1.783, allocations: 7.31 MB / 0.5149 GB, free: 89.91 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08313/1.866, allocations: 18.18 MB / 0.5327 GB, free: 89.01 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005397/1.867, allocations: 315.7 kB / 0.533 GB, free: 89 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002939/1.87, allocations: 438.2 kB / 0.5334 GB, free: 88.98 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03296/1.903, allocations: 10.45 MB / 0.5436 GB, free: 86.09 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005041/1.904, allocations: 79.81 kB / 0.5437 GB, free: 86.08 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00253/1.906, allocations: 205.8 kB / 0.5439 GB, free: 86.08 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002951/1.909, allocations: 1.051 MB / 0.5449 GB, free: 86.06 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03084/1.94, allocations: 8.878 MB / 0.5536 GB, free: 84.5 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.08441/2.025, allocations: 51.17 MB / 0.6035 GB, free: 44.34 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01381/2.038, allocations: 3.805 MB / 0.6072 GB, free: 40.88 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004178/2.043, allocations: 1.955 MB / 0.6092 GB, free: 39.06 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002223/2.043, allocations: 24.98 kB / 0.6092 GB, free: 39.04 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.978e-05/2.043, allocations: 62.72 kB / 0.6092 GB, free: 38.97 MB / 426.7 MB Notification: Performance of pre-optimization done (n=188): time 7.123e-06/2.043, allocations: 0 / 0.6092 GB, free: 38.97 MB / 426.7 MB Notification: Performance of matching and sorting (n=216): time 0.08211/2.125, allocations: 19.21 MB / 0.628 GB, free: 21.32 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004595/2.13, allocations: 6.177 MB / 0.634 GB, free: 14.51 MB / 426.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:1606:5-1607:60:writable] Warning: Parameter body3.r[3] has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:1606:5-1607:60:writable] Warning: Parameter body3.r[2] has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:1606:5-1607:60:writable] Warning: Parameter body3.r[1] has no value, and is fixed during initialization (fixed=true), using available start value (start=0.1) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:1371:5-1372:59:writable] Warning: Parameter body2.r[3] has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:1371:5-1372:59:writable] Warning: Parameter body2.r[2] has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:1371:5-1372:59:writable] Warning: Parameter body2.r[1] has no value, and is fixed during initialization (fixed=true), using available start value (start=0.1) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:1045:5-1046:59:writable] Warning: Parameter body1.r[3] has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:1045:5-1046:59:writable] Warning: Parameter body1.r[2] has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Parts.mo:1045:5-1046:59:writable] Warning: Parameter body1.r[1] has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01204/2.142, allocations: 4.478 MB / 0.6384 GB, free: 10.04 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008781/2.143, allocations: 57.61 kB / 0.6385 GB, free: 9.98 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003813/2.147, allocations: 3.499 MB / 0.6419 GB, free: 6.484 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001837/2.149, allocations: 0.9057 MB / 0.6428 GB, free: 5.586 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001328/2.15, allocations: 152 kB / 0.6429 GB, free: 5.441 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0006142/2.151, allocations: 0.6118 MB / 0.6435 GB, free: 4.824 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007645/2.158, allocations: 2.95 MB / 0.6464 GB, free: 1.871 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01259/2.171, allocations: 7.216 MB / 0.6534 GB, free: 8.516 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0118/2.183, allocations: 4.539 MB / 0.6579 GB, free: 3.98 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001766/2.183, allocations: 44 kB / 0.6579 GB, free: 3.938 MB / 442.7 MB Notification: Performance of matching and sorting (n=946) (initialization): time 0.3769/2.56, allocations: 12.41 MB / 0.67 GB, free: 90.34 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001614/2.56, allocations: 73.02 kB / 0.6701 GB, free: 90.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02855/2.589, allocations: 6.161 MB / 0.6761 GB, free: 90.18 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02446/2.613, allocations: 3.479 MB / 0.6795 GB, free: 90.07 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01097/2.624, allocations: 1.696 MB / 0.6812 GB, free: 90.07 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02222/2.647, allocations: 11.77 MB / 0.6927 GB, free: 82.58 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01785/2.664, allocations: 0.7764 MB / 0.6934 GB, free: 82.58 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002305/2.667, allocations: 453 kB / 0.6939 GB, free: 82.58 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 694 * 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 (870): * Single equations (assignments): 845 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 6 * 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: 0 * 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: 4 {3 1,3 1,3 1,3 1} Notification: Performance of prepare postOptimizeDAE: time 0.003743/2.671, allocations: 0.6552 MB / 0.6945 GB, free: 82.46 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001987/2.673, allocations: 453.3 kB / 0.6949 GB, free: 82.46 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00281/2.675, allocations: 0.6146 MB / 0.6955 GB, free: 82.42 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03724/2.713, allocations: 5.979 MB / 0.7014 GB, free: 82.23 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.819e-05/2.713, allocations: 7.812 kB / 0.7014 GB, free: 82.23 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.731e-05/2.713, allocations: 13.92 kB / 0.7014 GB, free: 82.22 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03376/2.747, allocations: 10.42 MB / 0.7116 GB, free: 81.36 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.604e-05/2.747, allocations: 3.5 kB / 0.7116 GB, free: 81.36 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004578/2.751, allocations: 448.4 kB / 0.712 GB, free: 81.34 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02416/2.776, allocations: 3.604 MB / 0.7155 GB, free: 80.75 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008595/2.777, allocations: 86.22 kB / 0.7156 GB, free: 80.72 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.022/2.799, allocations: 13.58 MB / 0.7289 GB, free: 71.45 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004808/2.803, allocations: 5.868 MB / 0.7346 GB, free: 65.73 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03649/2.84, allocations: 10.63 MB / 0.745 GB, free: 61.75 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00398/2.844, allocations: 0.9085 MB / 0.7459 GB, free: 61.25 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002194/2.846, allocations: 71.86 kB / 0.7459 GB, free: 61.21 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00711/2.854, allocations: 342.4 kB / 0.7463 GB, free: 61.19 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001196/2.855, allocations: 193.2 kB / 0.7464 GB, free: 61.17 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006774/2.855, allocations: 70.81 kB / 0.7465 GB, free: 61.16 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.009165/2.865, allocations: 3.147 MB / 0.7496 GB, free: 60.07 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.673e-06/2.865, allocations: 1.969 kB / 0.7496 GB, free: 60.07 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01184/2.877, allocations: 1.583 MB / 0.7511 GB, free: 59.93 MB / 442.7 MB 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.03781/2.914, allocations: 11.98 MB / 0.7628 GB, free: 52.45 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.03038/2.945, allocations: 8.761 MB / 0.7714 GB, free: 44.58 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.57e-05/2.945, allocations: 0 / 0.7714 GB, free: 44.58 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01729/2.962, allocations: 4.572 MB / 0.7758 GB, free: 40.52 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006586/2.969, allocations: 0.6233 MB / 0.7765 GB, free: 40 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0418/3.011, allocations: 14.02 MB / 0.7901 GB, free: 26.94 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008394/3.019, allocations: 3.792 MB / 0.7938 GB, free: 23.14 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.01121/3.031, allocations: 2.269 MB / 0.7961 GB, free: 20.89 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00593/3.037, allocations: 2.272 MB / 0.7983 GB, free: 18.61 MB / 442.7 MB Notification: Performance of SimCode: time 2.795e-06/3.037, allocations: 0 / 0.7983 GB, free: 18.61 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6047/3.641, allocations: 109.5 MB / 0.9052 GB, free: 76.29 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002574/3.642, allocations: 189.6 kB / 0.9054 GB, free: 76.06 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.048/10.69, allocations: 0 / 0.9054 GB, free: 76.06 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.InitializationConversion.Bodies_res.mat does not exist to compare? outputFormat=mat