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 2.01/2.01, allocations: 209.3 MB / 221.5 MB, free: 1.926 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.456e-05/3.49e-05, allocations: 0 / 273.1 MB, free: 156 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1131, allocations: 48.7 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4502/0.5634, allocations: 88.58 MB / 410.4 MB, free: 1.016 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003109/0.5637, allocations: 71.95 kB / 410.5 MB, free: 0.9453 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.735/1.299, allocations: 102.2 MB / 0.5007 GB, free: 92.47 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.244e-06/1.299, allocations: 1.375 kB / 0.5007 GB, free: 92.47 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004283/1.299, allocations: 87.44 kB / 0.5007 GB, free: 92.47 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.05793/1.357, allocations: 6.373 MB / 0.507 GB, free: 90.61 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.502e-05/1.357, allocations: 16.06 kB / 0.507 GB, free: 90.61 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004578/1.362, allocations: 0.787 MB / 0.5078 GB, free: 90.54 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05701/1.419, allocations: 7.309 MB / 0.5149 GB, free: 90.22 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06543/1.484, allocations: 18.17 MB / 0.5326 GB, free: 89.32 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005093/1.485, allocations: 317.5 kB / 0.5329 GB, free: 89.31 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003163/1.488, allocations: 447.6 kB / 0.5334 GB, free: 89.3 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02768/1.516, allocations: 10.49 MB / 0.5436 GB, free: 86.38 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002964/1.516, allocations: 84.67 kB / 0.5437 GB, free: 86.37 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001227/1.517, allocations: 202.1 kB / 0.5439 GB, free: 86.37 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002376/1.52, allocations: 1.053 MB / 0.5449 GB, free: 86.35 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03543/1.555, allocations: 9.066 MB / 0.5538 GB, free: 84.48 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.08692/1.642, allocations: 51.17 MB / 0.6037 GB, free: 44.44 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01349/1.656, allocations: 3.818 MB / 0.6075 GB, free: 40.96 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00422/1.66, allocations: 1.947 MB / 0.6094 GB, free: 39.15 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002808/1.66, allocations: 35.55 kB / 0.6094 GB, free: 39.12 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.56e-05/1.661, allocations: 58.73 kB / 0.6095 GB, free: 39.06 MB / 426.7 MB Notification: Performance of pre-optimization done (n=188): time 5.861e-06/1.661, allocations: 3.938 kB / 0.6095 GB, free: 39.05 MB / 426.7 MB Notification: Performance of matching and sorting (n=216): time 0.07679/1.737, allocations: 19.21 MB / 0.6282 GB, free: 21.26 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004889/1.742, allocations: 6.185 MB / 0.6343 GB, free: 14.45 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.01184/1.754, allocations: 4.482 MB / 0.6386 GB, free: 9.969 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007372/1.755, allocations: 53.7 kB / 0.6387 GB, free: 9.91 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003721/1.759, allocations: 3.501 MB / 0.6421 GB, free: 6.414 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001849/1.761, allocations: 0.9017 MB / 0.643 GB, free: 5.52 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00137/1.762, allocations: 143.9 kB / 0.6431 GB, free: 5.383 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0006537/1.763, allocations: 0.6159 MB / 0.6437 GB, free: 4.762 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007486/1.77, allocations: 2.958 MB / 0.6466 GB, free: 1.805 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01248/1.783, allocations: 7.253 MB / 0.6537 GB, free: 8.41 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01203/1.795, allocations: 4.546 MB / 0.6581 GB, free: 3.863 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001564/1.795, allocations: 47.94 kB / 0.6582 GB, free: 3.816 MB / 442.7 MB Notification: Performance of matching and sorting (n=946) (initialization): time 0.4023/2.197, allocations: 12.83 MB / 0.6707 GB, free: 90.91 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001501/2.198, allocations: 76.89 kB / 0.6708 GB, free: 90.9 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02674/2.224, allocations: 6.163 MB / 0.6768 GB, free: 90.75 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02869/2.253, allocations: 3.486 MB / 0.6802 GB, free: 90.64 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009795/2.263, allocations: 1.692 MB / 0.6819 GB, free: 90.64 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01553/2.278, allocations: 11.79 MB / 0.6934 GB, free: 83.15 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01183/2.29, allocations: 0.7716 MB / 0.6941 GB, free: 83.15 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001587/2.292, allocations: 454.5 kB / 0.6946 GB, free: 83.15 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.001788/2.294, allocations: 0.6557 MB / 0.6952 GB, free: 83.04 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001242/2.295, allocations: 453.2 kB / 0.6956 GB, free: 83.04 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00209/2.297, allocations: 0.6097 MB / 0.6962 GB, free: 82.99 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02634/2.323, allocations: 5.988 MB / 0.7021 GB, free: 82.8 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.871e-05/2.324, allocations: 7.094 kB / 0.7021 GB, free: 82.8 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.887e-05/2.324, allocations: 15.17 kB / 0.7021 GB, free: 82.79 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03135/2.355, allocations: 10.43 MB / 0.7123 GB, free: 81.44 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.951e-05/2.355, allocations: 3.375 kB / 0.7123 GB, free: 81.44 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004356/2.359, allocations: 443.4 kB / 0.7127 GB, free: 81.43 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02295/2.382, allocations: 3.607 MB / 0.7162 GB, free: 80.84 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000707/2.383, allocations: 82.2 kB / 0.7163 GB, free: 80.8 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01973/2.403, allocations: 13.6 MB / 0.7296 GB, free: 71.49 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004172/2.407, allocations: 5.869 MB / 0.7353 GB, free: 65.75 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03446/2.442, allocations: 10.64 MB / 0.7457 GB, free: 61.73 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00367/2.445, allocations: 0.9047 MB / 0.7466 GB, free: 61.23 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001624/2.447, allocations: 81.92 kB / 0.7467 GB, free: 61.19 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006794/2.454, allocations: 341.5 kB / 0.747 GB, free: 61.17 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001148/2.455, allocations: 184.3 kB / 0.7472 GB, free: 61.14 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005046/2.456, allocations: 73.52 kB / 0.7472 GB, free: 61.13 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00815/2.464, allocations: 3.147 MB / 0.7503 GB, free: 60.05 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.92e-07/2.464, allocations: 0 / 0.7503 GB, free: 60.05 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01/2.474, allocations: 1.583 MB / 0.7519 GB, free: 59.91 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.03564/2.51, allocations: 11.98 MB / 0.7636 GB, free: 52.14 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.02315/2.533, allocations: 9.007 MB / 0.7724 GB, free: 44.03 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.237e-06/2.533, allocations: 0 / 0.7724 GB, free: 44.03 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01398/2.547, allocations: 4.633 MB / 0.7769 GB, free: 39.89 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005881/2.553, allocations: 0.6203 MB / 0.7775 GB, free: 39.37 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03869/2.592, allocations: 14.04 MB / 0.7912 GB, free: 25.98 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007853/2.599, allocations: 3.795 MB / 0.7949 GB, free: 22.18 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.01031/2.61, allocations: 2.267 MB / 0.7971 GB, free: 19.93 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005157/2.615, allocations: 2.276 MB / 0.7993 GB, free: 17.65 MB / 442.7 MB Notification: Performance of SimCode: time 1.333e-06/2.615, allocations: 0 / 0.7993 GB, free: 17.65 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5988/3.214, allocations: 110.2 MB / 0.907 GB, free: 75.02 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002049/3.214, allocations: 194.8 kB / 0.9071 GB, free: 74.79 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.513/9.728, allocations: 0 / 0.9071 GB, free: 74.79 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