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.95/1.95, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.02e-05/4.037e-05, allocations: 4 kB / 273.1 MB, free: 0.6484 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1068, allocations: 48.69 MB / 321.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4264/0.5332, allocations: 88.57 MB / 410.4 MB, free: 1.246 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003521/0.5337, allocations: 82.53 kB / 410.5 MB, free: 1.168 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7956/1.329, allocations: 102.2 MB / 0.5006 GB, free: 92.08 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.184e-06/1.329, allocations: 0 / 0.5006 GB, free: 92.08 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003836/1.33, allocations: 89.41 kB / 0.5007 GB, free: 92.08 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.06552/1.395, allocations: 6.369 MB / 0.5069 GB, free: 90.23 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.565e-05/1.395, allocations: 9.562 kB / 0.507 GB, free: 90.23 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005445/1.401, allocations: 0.7858 MB / 0.5077 GB, free: 90.15 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06638/1.467, allocations: 7.312 MB / 0.5149 GB, free: 89.83 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06526/1.533, allocations: 18.19 MB / 0.5326 GB, free: 88.93 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004477/1.533, allocations: 313.2 kB / 0.5329 GB, free: 88.92 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002508/1.536, allocations: 440.1 kB / 0.5333 GB, free: 88.91 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02893/1.565, allocations: 10.5 MB / 0.5436 GB, free: 85.99 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003974/1.565, allocations: 75.78 kB / 0.5437 GB, free: 85.98 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001792/1.567, allocations: 203.4 kB / 0.5439 GB, free: 85.98 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002572/1.569, allocations: 1.053 MB / 0.5449 GB, free: 85.96 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02483/1.594, allocations: 9.067 MB / 0.5537 GB, free: 84.47 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.07661/1.671, allocations: 51.17 MB / 0.6037 GB, free: 44.35 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01343/1.684, allocations: 3.82 MB / 0.6074 GB, free: 40.88 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004087/1.688, allocations: 1.951 MB / 0.6094 GB, free: 39.07 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002661/1.689, allocations: 32.12 kB / 0.6094 GB, free: 39.04 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.636e-05/1.689, allocations: 58.73 kB / 0.6094 GB, free: 38.97 MB / 426.7 MB Notification: Performance of pre-optimization done (n=188): time 6.051e-06/1.689, allocations: 0 / 0.6094 GB, free: 38.97 MB / 426.7 MB Notification: Performance of matching and sorting (n=216): time 0.07586/1.765, allocations: 19.21 MB / 0.6282 GB, free: 21.32 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004536/1.769, allocations: 6.173 MB / 0.6342 GB, free: 14.52 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.01047/1.78, allocations: 4.486 MB / 0.6386 GB, free: 10.04 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000665/1.781, allocations: 53.7 kB / 0.6387 GB, free: 9.984 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002947/1.784, allocations: 3.34 MB / 0.6419 GB, free: 6.652 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001656/1.785, allocations: 0.9096 MB / 0.6428 GB, free: 5.75 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001034/1.786, allocations: 143.9 kB / 0.6429 GB, free: 5.613 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004887/1.787, allocations: 0.6127 MB / 0.6435 GB, free: 4.992 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007028/1.794, allocations: 2.962 MB / 0.6464 GB, free: 2.027 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01199/1.806, allocations: 7.253 MB / 0.6535 GB, free: 8.633 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01142/1.817, allocations: 4.551 MB / 0.658 GB, free: 4.082 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001443/1.818, allocations: 44 kB / 0.658 GB, free: 4.039 MB / 442.7 MB Notification: Performance of matching and sorting (n=946) (initialization): time 0.3636/2.181, allocations: 12.64 MB / 0.6703 GB, free: 90.35 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001557/2.181, allocations: 77.69 kB / 0.6704 GB, free: 90.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0281/2.209, allocations: 6.162 MB / 0.6764 GB, free: 90.19 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02486/2.234, allocations: 3.494 MB / 0.6799 GB, free: 90.08 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01033/2.245, allocations: 1.688 MB / 0.6815 GB, free: 90.08 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01935/2.264, allocations: 11.78 MB / 0.693 GB, free: 82.59 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01929/2.283, allocations: 0.78 MB / 0.6938 GB, free: 82.59 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002484/2.286, allocations: 455.2 kB / 0.6942 GB, free: 82.59 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.003762/2.29, allocations: 0.6537 MB / 0.6948 GB, free: 82.47 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002044/2.292, allocations: 458.8 kB / 0.6953 GB, free: 82.47 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003436/2.295, allocations: 0.6118 MB / 0.6959 GB, free: 82.43 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04113/2.337, allocations: 5.987 MB / 0.7017 GB, free: 82.23 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.557e-05/2.337, allocations: 7.312 kB / 0.7017 GB, free: 82.23 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.42e-05/2.337, allocations: 18.14 kB / 0.7017 GB, free: 82.23 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03283/2.37, allocations: 10.42 MB / 0.7119 GB, free: 81.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.222e-05/2.37, allocations: 7.75 kB / 0.7119 GB, free: 81.34 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004457/2.374, allocations: 443.6 kB / 0.7123 GB, free: 81.33 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02396/2.398, allocations: 3.594 MB / 0.7159 GB, free: 80.74 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000781/2.399, allocations: 97.77 kB / 0.716 GB, free: 80.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02061/2.42, allocations: 13.6 MB / 0.7292 GB, free: 71.42 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004372/2.424, allocations: 5.857 MB / 0.7349 GB, free: 65.71 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03479/2.459, allocations: 10.64 MB / 0.7453 GB, free: 61.81 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00377/2.463, allocations: 0.9107 MB / 0.7462 GB, free: 61.32 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001832/2.465, allocations: 72.5 kB / 0.7463 GB, free: 61.29 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006826/2.471, allocations: 345.4 kB / 0.7466 GB, free: 61.26 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001149/2.473, allocations: 184.5 kB / 0.7468 GB, free: 61.24 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004276/2.473, allocations: 77.36 kB / 0.7469 GB, free: 61.23 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.008076/2.481, allocations: 3.143 MB / 0.7499 GB, free: 60.14 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.112e-06/2.481, allocations: 0 / 0.7499 GB, free: 60.14 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01014/2.491, allocations: 1.587 MB / 0.7515 GB, free: 60.01 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.03663/2.528, allocations: 11.98 MB / 0.7632 GB, free: 52.43 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.02396/2.552, allocations: 9.026 MB / 0.772 GB, free: 44.3 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.082e-05/2.552, allocations: 3.125 kB / 0.772 GB, free: 44.3 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01478/2.567, allocations: 4.651 MB / 0.7766 GB, free: 40.15 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006351/2.573, allocations: 0.6193 MB / 0.7772 GB, free: 39.63 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04041/2.614, allocations: 14.6 MB / 0.7914 GB, free: 25.79 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007794/2.622, allocations: 3.787 MB / 0.7951 GB, free: 21.98 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005634/2.627, allocations: 2.327 MB / 0.7974 GB, free: 19.65 MB / 442.7 MB Notification: Performance of SimCode: time 2.054e-06/2.627, allocations: 0 / 0.7974 GB, free: 19.65 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.845/9.473, allocations: 365.5 MB / 1.154 GB, free: 26.46 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