Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.InitializationConversion.Bodies,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_InitializationConversion_Bodies",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.869/1.869, allocations: 209.3 MB / 221.9 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.712e-05/3.717e-05, allocations: 4 kB / 273.1 MB, free: 0.6484 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1018, allocations: 48.7 MB / 321.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4486/0.5505, allocations: 88.59 MB / 410.4 MB, free: 1.227 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003491/0.5509, allocations: 75.95 kB / 410.5 MB, free: 1.152 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7697/1.321, allocations: 102.2 MB / 0.5007 GB, free: 92.1 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.204e-06/1.321, allocations: 3 kB / 0.5007 GB, free: 92.1 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004077/1.321, allocations: 84.44 kB / 0.5008 GB, free: 92.1 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.05615/1.377, allocations: 6.37 MB / 0.507 GB, free: 90.24 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.418e-05/1.377, allocations: 9.219 kB / 0.507 GB, free: 90.24 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004674/1.382, allocations: 0.7886 MB / 0.5078 GB, free: 90.17 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05689/1.439, allocations: 7.309 MB / 0.5149 GB, free: 89.85 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06747/1.506, allocations: 18.18 MB / 0.5326 GB, free: 88.95 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004834/1.507, allocations: 310.5 kB / 0.5329 GB, free: 88.94 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002595/1.51, allocations: 441 kB / 0.5334 GB, free: 88.93 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02898/1.539, allocations: 10.45 MB / 0.5436 GB, free: 86.02 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003374/1.539, allocations: 79.16 kB / 0.5436 GB, free: 86.01 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001467/1.541, allocations: 205.1 kB / 0.5438 GB, free: 86.01 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002367/1.543, allocations: 1.055 MB / 0.5449 GB, free: 85.99 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02499/1.568, allocations: 8.879 MB / 0.5535 GB, free: 84.53 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.07397/1.642, allocations: 51.16 MB / 0.6035 GB, free: 44.59 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01336/1.655, allocations: 3.799 MB / 0.6072 GB, free: 41.13 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00408/1.66, allocations: 1.955 MB / 0.6091 GB, free: 39.32 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002161/1.66, allocations: 33.14 kB / 0.6092 GB, free: 39.3 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.602e-05/1.66, allocations: 58.72 kB / 0.6092 GB, free: 39.23 MB / 426.7 MB Notification: Performance of pre-optimization done (n=188): time 6.202e-06/1.66, allocations: 0 / 0.6092 GB, free: 39.23 MB / 426.7 MB Notification: Performance of matching and sorting (n=216): time 0.07144/1.731, allocations: 19.21 MB / 0.628 GB, free: 21.55 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0045/1.736, allocations: 6.173 MB / 0.634 GB, free: 14.75 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.01076/1.747, allocations: 4.482 MB / 0.6384 GB, free: 10.27 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007246/1.747, allocations: 57.7 kB / 0.6384 GB, free: 10.21 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003104/1.751, allocations: 3.34 MB / 0.6417 GB, free: 6.879 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00165/1.752, allocations: 0.9094 MB / 0.6426 GB, free: 5.977 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001001/1.753, allocations: 143.9 kB / 0.6427 GB, free: 5.84 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004551/1.754, allocations: 0.6166 MB / 0.6433 GB, free: 5.215 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00718/1.761, allocations: 2.95 MB / 0.6462 GB, free: 2.262 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01205/1.773, allocations: 7.224 MB / 0.6533 GB, free: 8.898 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01163/1.785, allocations: 4.536 MB / 0.6577 GB, free: 4.363 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001647/1.785, allocations: 44 kB / 0.6577 GB, free: 4.32 MB / 442.7 MB Notification: Performance of matching and sorting (n=946) (initialization): time 0.3448/2.13, allocations: 12.23 MB / 0.6697 GB, free: 89.1 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001559/2.13, allocations: 72.03 kB / 0.6697 GB, free: 89.1 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02755/2.158, allocations: 6.166 MB / 0.6758 GB, free: 88.94 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02349/2.181, allocations: 3.484 MB / 0.6792 GB, free: 88.83 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01017/2.191, allocations: 1.686 MB / 0.6808 GB, free: 88.83 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01608/2.207, allocations: 11.78 MB / 0.6923 GB, free: 81.34 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01244/2.22, allocations: 0.7707 MB / 0.6931 GB, free: 81.34 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001823/2.222, allocations: 458.7 kB / 0.6935 GB, free: 81.34 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.002624/2.224, allocations: 0.6601 MB / 0.6941 GB, free: 81.23 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001426/2.226, allocations: 448.8 kB / 0.6946 GB, free: 81.23 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002298/2.228, allocations: 0.6136 MB / 0.6952 GB, free: 81.18 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02665/2.255, allocations: 5.98 MB / 0.701 GB, free: 80.99 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-05/2.255, allocations: 6.875 kB / 0.701 GB, free: 80.99 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.335e-05/2.255, allocations: 13.72 kB / 0.701 GB, free: 80.98 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03182/2.287, allocations: 10.42 MB / 0.7112 GB, free: 80.16 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.575e-05/2.287, allocations: 6 kB / 0.7112 GB, free: 80.16 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004408/2.291, allocations: 441.1 kB / 0.7116 GB, free: 80.16 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0232/2.315, allocations: 3.598 MB / 0.7151 GB, free: 80.04 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007557/2.316, allocations: 92.39 kB / 0.7152 GB, free: 80.04 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02019/2.336, allocations: 13.6 MB / 0.7285 GB, free: 71.23 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004272/2.34, allocations: 5.853 MB / 0.7342 GB, free: 65.53 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03449/2.375, allocations: 10.63 MB / 0.7446 GB, free: 61.64 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003764/2.378, allocations: 0.9122 MB / 0.7455 GB, free: 61.17 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002004/2.38, allocations: 76.59 kB / 0.7456 GB, free: 61.14 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006848/2.387, allocations: 337.8 kB / 0.7459 GB, free: 61.11 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001095/2.389, allocations: 196.2 kB / 0.7461 GB, free: 61.09 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002971/2.389, allocations: 69.27 kB / 0.7462 GB, free: 61.08 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.008061/2.397, allocations: 3.148 MB / 0.7492 GB, free: 60 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.362e-06/2.397, allocations: 0 / 0.7492 GB, free: 60 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01069/2.408, allocations: 1.586 MB / 0.7508 GB, free: 59.86 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.03533/2.443, allocations: 11.97 MB / 0.7625 GB, free: 52.52 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.02302/2.466, allocations: 8.773 MB / 0.771 GB, free: 44.71 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.327e-05/2.466, allocations: 4 kB / 0.771 GB, free: 44.71 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01423/2.48, allocations: 4.596 MB / 0.7755 GB, free: 40.63 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006129/2.487, allocations: 0.6275 MB / 0.7761 GB, free: 40.11 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04213/2.529, allocations: 14.57 MB / 0.7904 GB, free: 26.4 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008422/2.537, allocations: 3.795 MB / 0.7941 GB, free: 22.59 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00569/2.543, allocations: 2.323 MB / 0.7963 GB, free: 20.27 MB / 442.7 MB Notification: Performance of SimCode: time 2.204e-06/2.543, allocations: 0 / 0.7963 GB, free: 20.27 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.731/9.274, allocations: 364.3 MB / 1.152 GB, free: 28.62 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.InitializationConversion.Bodies_res.mat does not exist to compare? outputFormat=mat