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.983/1.983, allocations: 209.4 MB / 216.9 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2e-05/2.013e-05, allocations: 0 / 267.6 MB, free: 5.328 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1029, allocations: 48.71 MB / 316.3 MB, free: 4.527 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4737/0.5767, allocations: 88.16 MB / 404.5 MB, free: 4.66 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003367/0.5771, allocations: 73.64 kB / 404.5 MB, free: 4.621 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7187/1.296, allocations: 100.6 MB / 0.4932 GB, free: 85.88 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.815e-06/1.296, allocations: 4.688 kB / 0.4933 GB, free: 85.88 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004253/1.296, allocations: 90.92 kB / 0.4933 GB, free: 85.88 MB / 410.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.05477/1.351, allocations: 6.371 MB / 0.4996 GB, free: 83.96 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.388e-05/1.351, allocations: 9.656 kB / 0.4996 GB, free: 83.96 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05657/1.408, allocations: 7.309 MB / 0.5067 GB, free: 83.63 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06508/1.473, allocations: 18.18 MB / 0.5245 GB, free: 82.71 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002832/1.473, allocations: 131.6 kB / 0.5246 GB, free: 82.71 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002438/1.476, allocations: 272.5 kB / 0.5248 GB, free: 82.7 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01548/1.491, allocations: 6.193 MB / 0.5309 GB, free: 82.67 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02245/1.514, allocations: 9.539 MB / 0.5402 GB, free: 78.01 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003256/1.514, allocations: 82 kB / 0.5403 GB, free: 77.99 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001217/1.515, allocations: 32.41 kB / 0.5403 GB, free: 77.99 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002446/1.518, allocations: 1.049 MB / 0.5413 GB, free: 77.82 MB / 410.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.06928/1.587, allocations: 49.23 MB / 0.5894 GB, free: 36.29 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006067/1.593, allocations: 3.194 MB / 0.5925 GB, free: 32.93 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003561/1.597, allocations: 1.909 MB / 0.5944 GB, free: 31 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002166/1.597, allocations: 24.22 kB / 0.5944 GB, free: 30.98 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.344e-05/1.597, allocations: 58.72 kB / 0.5945 GB, free: 30.91 MB / 410.7 MB Notification: Performance of pre-optimization done (n=188): time 6.122e-06/1.597, allocations: 0 / 0.5945 GB, free: 30.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=216): time 0.08571/1.683, allocations: 18.81 MB / 0.6129 GB, free: 11.75 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001375/1.683, allocations: 340.4 kB / 0.6132 GB, free: 11.34 MB / 410.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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/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/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/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/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/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/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/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.0129/1.696, allocations: 3.998 MB / 0.6171 GB, free: 7.348 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008356/1.697, allocations: 33.7 kB / 0.6171 GB, free: 7.309 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003963/1.701, allocations: 3.419 MB / 0.6205 GB, free: 3.844 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001957/1.703, allocations: 0.8908 MB / 0.6213 GB, free: 2.941 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001142/1.704, allocations: 4 kB / 0.6213 GB, free: 2.938 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0006308/1.705, allocations: 0.6248 MB / 0.6219 GB, free: 2.305 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008806/1.713, allocations: 2.849 MB / 0.6247 GB, free: 15.45 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01255/1.726, allocations: 7.265 MB / 0.6318 GB, free: 5.977 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0111/1.737, allocations: 4.447 MB / 0.6362 GB, free: 1.527 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001563/1.737, allocations: 47.94 kB / 0.6362 GB, free: 1.48 MB / 426.7 MB Notification: Performance of matching and sorting (n=970) (initialization): time 0.3379/2.075, allocations: 11.81 MB / 0.6477 GB, free: 85.31 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001437/2.075, allocations: 73.03 kB / 0.6478 GB, free: 85.31 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02649/2.102, allocations: 6.073 MB / 0.6537 GB, free: 85.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02292/2.125, allocations: 3.428 MB / 0.6571 GB, free: 84.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01192/2.137, allocations: 1.729 MB / 0.6588 GB, free: 84.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02525/2.162, allocations: 11.3 MB / 0.6698 GB, free: 77.63 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02074/2.183, allocations: 0.6434 MB / 0.6704 GB, free: 77.63 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001927/2.185, allocations: 465.9 kB / 0.6709 GB, free: 77.63 MB / 426.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): 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.001801/2.187, allocations: 0.4945 MB / 0.6714 GB, free: 77.37 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.028/2.215, allocations: 6.667 MB / 0.6779 GB, free: 77.14 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001596/2.216, allocations: 430.5 kB / 0.6783 GB, free: 77.14 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001983/2.218, allocations: 0.5747 MB / 0.6789 GB, free: 77.1 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02554/2.244, allocations: 5.881 MB / 0.6846 GB, free: 76.85 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.113e-05/2.244, allocations: 9.5 kB / 0.6846 GB, free: 76.85 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.703e-05/2.244, allocations: 14.22 kB / 0.6846 GB, free: 76.85 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02878/2.273, allocations: 9.856 MB / 0.6942 GB, free: 74 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.059e-05/2.273, allocations: 3.375 kB / 0.6942 GB, free: 74 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004318/2.277, allocations: 446.5 kB / 0.6947 GB, free: 73.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02363/2.301, allocations: 3.536 MB / 0.6981 GB, free: 73.4 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006752/2.302, allocations: 59.88 kB / 0.6982 GB, free: 73.39 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02003/2.322, allocations: 13.39 MB / 0.7113 GB, free: 64.43 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003882/2.326, allocations: 5.619 MB / 0.7167 GB, free: 58.97 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03298/2.359, allocations: 10.46 MB / 0.727 GB, free: 54.86 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003434/2.362, allocations: 0.8819 MB / 0.7278 GB, free: 54.38 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001484/2.364, allocations: 37.61 kB / 0.7279 GB, free: 54.37 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005911/2.37, allocations: 306.2 kB / 0.7281 GB, free: 54.37 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008782/2.371, allocations: 186.2 kB / 0.7283 GB, free: 54.35 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002956/2.371, allocations: 76.59 kB / 0.7284 GB, free: 54.33 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.006007/2.377, allocations: 2.706 MB / 0.731 GB, free: 52.07 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.92e-07/2.377, allocations: 0 / 0.731 GB, free: 52.07 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01015/2.387, allocations: 1.504 MB / 0.7325 GB, free: 50.57 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 54 ($STATESET6204592523.x[3],$STATESET6204592523.x[2],$STATESET6204592523.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],$STATESET6204592522.x[3],$STATESET6204592522.x[2],$STATESET6204592522.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],$STATESET6204592521.x[3],$STATESET6204592521.x[2],$STATESET6204592521.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],$STATESET6204592520.x[3],$STATESET6204592520.x[2],$STATESET6204592520.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.03385/2.421, allocations: 11.78 MB / 0.744 GB, free: 39.71 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02742/2.448, allocations: 8.669 MB / 0.7525 GB, free: 30.89 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.214e-05/2.448, allocations: 4 kB / 0.7525 GB, free: 30.88 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01876/2.467, allocations: 4.565 MB / 0.7569 GB, free: 26.11 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007418/2.475, allocations: 0.5473 MB / 0.7575 GB, free: 25.58 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0788/2.554, allocations: 14.3 MB / 0.7714 GB, free: 11.51 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007539/2.561, allocations: 3.789 MB / 0.7751 GB, free: 7.715 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0053/2.566, allocations: 2.319 MB / 0.7774 GB, free: 5.395 MB / 426.7 MB Notification: Performance of SimCode: time 1.443e-06/2.567, allocations: 0 / 0.7774 GB, free: 5.395 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.891/9.458, allocations: 362.9 MB / 1.132 GB, free: 105.7 MB / 474.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