Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FreeBodies,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Parts_FreeBodies",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.919/1.919, allocations: 209.3 MB / 221.9 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.491e-05/3.52e-05, allocations: 0 / 273.1 MB, free: 0.6367 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1037, allocations: 48.71 MB / 321.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4397/0.5435, allocations: 92.56 MB / 414.4 MB, free: 13.32 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002898/0.5438, allocations: 82.88 kB / 414.5 MB, free: 13.24 MB / 346.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/MultiBody.mo:7433:35-7433:45:writable] Warning: Non-array modification 'true' for array component, possibly due to missing 'each'. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/MultiBody.mo:7434:13-7434:23:writable] Warning: Non-array modification 'true' for array component, possibly due to missing 'each'. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/MultiBody.mo:7456:35-7456:45:writable] Warning: Non-array modification 'true' for array component, possibly due to missing 'each'. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/MultiBody.mo:7457:13-7457:23:writable] Warning: Non-array modification 'true' for array component, possibly due to missing 'each'. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/MultiBody.mo:7478:35-7478:45:writable] Warning: Non-array modification 'true' for array component, possibly due to missing 'each'. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/MultiBody.mo:7479:13-7479:23:writable] Warning: Non-array modification 'true' for array component, possibly due to missing 'each'. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/MultiBody.mo:7506:35-7506:45:writable] Warning: Non-array modification 'true' for array component, possibly due to missing 'each'. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/MultiBody.mo:7507:13-7507:23:writable] Warning: Non-array modification 'true' for array component, possibly due to missing 'each'. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/MultiBody.mo:7518:35-7518:45:writable] Warning: Non-array modification 'true' for array component, possibly due to missing 'each'. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/MultiBody.mo:7519:13-7519:23:writable] Warning: Non-array modification 'true' for array component, possibly due to missing 'each'. Notification: Performance of FrontEnd - DAE generated: time 0.8958/1.44, allocations: 142.3 MB / 0.5438 GB, free: 87.38 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.144e-06/1.44, allocations: 4 kB / 0.5438 GB, free: 87.38 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0006084/1.44, allocations: 158.8 kB / 0.5439 GB, free: 87.37 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: 2525 * Number of variables: 2525 Notification: Performance of Generate backend data structure: time 0.06326/1.504, allocations: 8.667 MB / 0.5524 GB, free: 84.55 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.465e-05/1.504, allocations: 8.969 kB / 0.5524 GB, free: 84.55 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006669/1.51, allocations: 1.301 MB / 0.5537 GB, free: 84.45 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05816/1.569, allocations: 7.698 MB / 0.5612 GB, free: 83.93 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04081/1.609, allocations: 10.92 MB / 0.5719 GB, free: 80.25 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007832/1.61, allocations: 0.5579 MB / 0.5724 GB, free: 80.03 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004158/1.614, allocations: 0.7679 MB / 0.5732 GB, free: 79.79 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07535/1.69, allocations: 17.35 MB / 0.5901 GB, free: 63.32 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008626/1.691, allocations: 111 kB / 0.5902 GB, free: 63.21 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004961/1.696, allocations: 365 kB / 0.5906 GB, free: 62.9 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005804/1.702, allocations: 1.595 MB / 0.5921 GB, free: 61.3 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05984/1.762, allocations: 13.75 MB / 0.6056 GB, free: 47.54 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5172/2.279, allocations: 79 MB / 0.6827 GB, free: 44.32 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0367/2.316, allocations: 6.874 MB / 0.6894 GB, free: 43.65 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00762/2.323, allocations: 3.213 MB / 0.6925 GB, free: 43.61 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04543/2.369, allocations: 14.67 MB / 0.7069 GB, free: 40.59 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.058e-05/2.369, allocations: 64.66 kB / 0.7069 GB, free: 40.55 MB / 442.7 MB Notification: Performance of pre-optimization done (n=259): time 9.337e-06/2.369, allocations: 2.312 kB / 0.7069 GB, free: 40.55 MB / 442.7 MB Notification: Performance of matching and sorting (n=287): time 0.1231/2.492, allocations: 23 MB / 0.7294 GB, free: 35.07 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004774/2.497, allocations: 6.234 MB / 0.7355 GB, free: 28.98 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01516/2.512, allocations: 5.757 MB / 0.7411 GB, free: 26.93 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009075/2.513, allocations: 68.14 kB / 0.7412 GB, free: 26.86 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004543/2.518, allocations: 5.064 MB / 0.7461 GB, free: 22.84 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00213/2.52, allocations: 1.191 MB / 0.7473 GB, free: 21.99 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001595/2.522, allocations: 192.8 kB / 0.7475 GB, free: 21.84 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.00106/2.523, allocations: 0.7211 MB / 0.7482 GB, free: 21.35 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009695/2.532, allocations: 3.788 MB / 0.7519 GB, free: 20.06 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01344/2.546, allocations: 9.533 MB / 0.7612 GB, free: 11.04 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01323/2.559, allocations: 5.893 MB / 0.7669 GB, free: 9.254 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002285/2.559, allocations: 59.88 kB / 0.767 GB, free: 9.254 MB / 442.7 MB Notification: Performance of matching and sorting (n=1271) (initialization): time 0.05118/2.611, allocations: 14.35 MB / 0.781 GB, free: 2.652 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001472/2.611, allocations: 92 kB / 0.7811 GB, free: 2.562 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0326/2.643, allocations: 7.309 MB / 0.7882 GB, free: 14.6 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01577/2.659, allocations: 2.839 MB / 0.791 GB, free: 12.55 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01596/2.675, allocations: 2.353 MB / 0.7933 GB, free: 10.53 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01654/2.692, allocations: 11.27 MB / 0.8043 GB, free: 15.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01551/2.707, allocations: 0.8654 MB / 0.8052 GB, free: 14.75 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00376/2.711, allocations: 0.5884 MB / 0.8057 GB, free: 14.19 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 933 * Number of states: 0 () * Number of discrete variables: 75 (spring6.color[3],spring6.color[2],spring6.color[1],spring6.massColor[3],spring6.massColor[2],spring6.massColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],spring5.color[3],spring5.color[2],spring5.color[1],spring5.massColor[3],spring5.massColor[2],spring5.massColor[1],spring4.color[3],spring4.color[2],spring4.color[1],spring4.massColor[3],spring4.massColor[2],spring4.massColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],spring3.color[3],spring3.color[2],spring3.color[1],spring3.massColor[3],spring3.massColor[2],spring3.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],bodyShape.color[3],bodyShape.color[2],bodyShape.color[1],bodyShape.body.sphereColor[3],bodyShape.body.sphereColor[2],bodyShape.body.sphereColor[1],bodyShape.frameTranslation.color[3],bodyShape.frameTranslation.color[2],bodyShape.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[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 (1204): * Single equations (assignments): 1179 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 11 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 8 {(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 3 {1,1,1} * 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: 1 {3 1} Notification: Performance of prepare postOptimizeDAE: time 0.00516/2.716, allocations: 0.8613 MB / 0.8066 GB, free: 13.34 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002108/2.719, allocations: 0.5823 MB / 0.8071 GB, free: 12.75 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02918/2.748, allocations: 7.536 MB / 0.8145 GB, free: 6.789 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02672/2.775, allocations: 6.693 MB / 0.821 GB, free: 44 kB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.858e-05/2.775, allocations: 8 kB / 0.821 GB, free: 36 kB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-05/2.775, allocations: 15.91 kB / 0.8211 GB, free: 20 kB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02421/2.799, allocations: 7.432 MB / 0.8283 GB, free: 8.602 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.093e-05/2.799, allocations: 4 kB / 0.8283 GB, free: 8.598 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006764/2.806, allocations: 0.5967 MB / 0.8289 GB, free: 8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01841/2.824, allocations: 3.132 MB / 0.832 GB, free: 4.824 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001067/2.825, allocations: 99.91 kB / 0.8321 GB, free: 4.727 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02578/2.851, allocations: 13.98 MB / 0.8457 GB, free: 5.973 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.4213/3.273, allocations: 6.001 MB / 0.8516 GB, free: 141.4 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03864/3.311, allocations: 11.66 MB / 0.863 GB, free: 140.6 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004757/3.316, allocations: 1.126 MB / 0.8641 GB, free: 140.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002543/3.319, allocations: 76.77 kB / 0.8641 GB, free: 140.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007806/3.327, allocations: 378.3 kB / 0.8645 GB, free: 140.5 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0014/3.328, allocations: 210 kB / 0.8647 GB, free: 140.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000685/3.329, allocations: 92.53 kB / 0.8648 GB, free: 140.5 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.01239/3.341, allocations: 4.001 MB / 0.8687 GB, free: 140.3 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.01e-07/3.341, allocations: 2.344 kB / 0.8687 GB, free: 140.3 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01399/3.355, allocations: 2.011 MB / 0.8707 GB, free: 140.3 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 54 ($STATESET4.x[3],$STATESET4.x[2],$STATESET4.x[1],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],bodyShape.r_0[1],bodyShape.r_0[2],bodyShape.r_0[3],bodyShape.v_0[1],bodyShape.v_0[2],bodyShape.v_0[3],bodyShape.body.w_a[1],bodyShape.body.w_a[2],bodyShape.body.w_a[3],body.r_0[1],body.r_0[2],body.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],bodyBox.r_0[1],bodyBox.r_0[2],bodyBox.r_0[3],bodyBox.v_0[1],bodyBox.v_0[2],bodyBox.v_0[3],bodyBox.body.w_a[1],bodyBox.body.w_a[2],bodyBox.body.w_a[3],bodyCylinder.r_0[1],bodyCylinder.r_0[2],bodyCylinder.r_0[3],bodyCylinder.v_0[1],bodyCylinder.v_0[2],bodyCylinder.v_0[3],bodyCylinder.body.w_a[1],bodyCylinder.body.w_a[2],bodyCylinder.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]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (233): * Single equations (assignments): 216 * 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.03562/3.391, allocations: 12.49 MB / 0.8828 GB, free: 138.9 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02906/3.42, allocations: 10.43 MB / 0.893 GB, free: 136 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.368e-06/3.42, allocations: 3.969 kB / 0.893 GB, free: 136 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01699/3.437, allocations: 5.254 MB / 0.8982 GB, free: 133.5 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008095/3.445, allocations: 0.831 MB / 0.899 GB, free: 133.2 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06171/3.507, allocations: 19.8 MB / 0.9183 GB, free: 125.5 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01154/3.519, allocations: 5.406 MB / 0.9236 GB, free: 123.8 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008042/3.527, allocations: 3.678 MB / 0.9272 GB, free: 120.8 MB / 0.4948 GB Notification: Performance of SimCode: time 1.283e-06/3.527, allocations: 0 / 0.9272 GB, free: 120.8 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 8.14/11.67, allocations: 0.5428 GB / 1.47 GB, free: 92 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Parts.FreeBodies_res.mat does not exist to compare? outputFormat=mat