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.926/1.926, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.791e-05/3.802e-05, allocations: 4 kB / 273.1 MB, free: 0.6484 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1031, allocations: 48.7 MB / 321.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4257/0.5289, allocations: 92.56 MB / 414.4 MB, free: 13.35 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002822/0.5293, allocations: 79.02 kB / 414.5 MB, free: 13.28 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.8893/1.419, allocations: 142.3 MB / 0.5438 GB, free: 87.47 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.953e-06/1.419, allocations: 0 / 0.5438 GB, free: 87.47 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005863/1.419, allocations: 155.1 kB / 0.5439 GB, free: 87.46 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.0617/1.481, allocations: 8.672 MB / 0.5524 GB, free: 84.64 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.568e-05/1.481, allocations: 10.75 kB / 0.5524 GB, free: 84.64 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006466/1.487, allocations: 1.3 MB / 0.5537 GB, free: 84.54 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05833/1.546, allocations: 7.693 MB / 0.5612 GB, free: 84.02 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07301/1.619, allocations: 10.93 MB / 0.5718 GB, free: 80.27 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008845/1.62, allocations: 0.5586 MB / 0.5724 GB, free: 80.05 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0148/1.635, allocations: 0.7583 MB / 0.5731 GB, free: 79.82 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06641/1.701, allocations: 17.45 MB / 0.5902 GB, free: 63.26 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007673/1.702, allocations: 103 kB / 0.5903 GB, free: 63.16 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00409/1.706, allocations: 368.4 kB / 0.5906 GB, free: 62.84 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005053/1.711, allocations: 1.592 MB / 0.5922 GB, free: 61.25 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05549/1.767, allocations: 14.03 MB / 0.6059 GB, free: 47.2 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5248/2.292, allocations: 79 MB / 0.683 GB, free: 43.67 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03726/2.329, allocations: 6.904 MB / 0.6898 GB, free: 43 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007824/2.337, allocations: 3.21 MB / 0.6929 GB, free: 42.96 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0396/2.376, allocations: 14.68 MB / 0.7072 GB, free: 39.94 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.87e-05/2.377, allocations: 61.91 kB / 0.7073 GB, free: 39.9 MB / 442.7 MB Notification: Performance of pre-optimization done (n=259): time 1.029e-05/2.377, allocations: 3.906 kB / 0.7073 GB, free: 39.9 MB / 442.7 MB Notification: Performance of matching and sorting (n=287): time 0.1186/2.495, allocations: 23 MB / 0.7297 GB, free: 34.88 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.007444/2.503, allocations: 6.248 MB / 0.7359 GB, free: 28.79 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01798/2.521, allocations: 5.759 MB / 0.7415 GB, free: 26.74 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001036/2.522, allocations: 66.98 kB / 0.7415 GB, free: 26.68 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004919/2.527, allocations: 5.063 MB / 0.7465 GB, free: 22.66 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00233/2.529, allocations: 1.18 MB / 0.7476 GB, free: 21.81 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00186/2.531, allocations: 199.2 kB / 0.7478 GB, free: 21.66 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.001064/2.532, allocations: 0.7215 MB / 0.7485 GB, free: 21.17 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01002/2.542, allocations: 3.794 MB / 0.7522 GB, free: 19.88 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01435/2.557, allocations: 9.583 MB / 0.7616 GB, free: 10.83 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01377/2.57, allocations: 5.903 MB / 0.7674 GB, free: 9.039 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002312/2.571, allocations: 59.78 kB / 0.7674 GB, free: 9.039 MB / 442.7 MB Notification: Performance of matching and sorting (n=1271) (initialization): time 0.04619/2.617, allocations: 14.91 MB / 0.782 GB, free: 1.793 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001525/2.617, allocations: 92 kB / 0.7821 GB, free: 1.703 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02549/2.643, allocations: 6.802 MB / 0.7887 GB, free: 12.44 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0226/2.665, allocations: 2.831 MB / 0.7915 GB, free: 10.39 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02259/2.688, allocations: 2.359 MB / 0.7938 GB, free: 8.367 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0669/2.755, allocations: 11.27 MB / 0.8048 GB, free: 13.23 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02637/2.781, allocations: 0.8641 MB / 0.8056 GB, free: 12.59 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00375/2.785, allocations: 0.5907 MB / 0.8062 GB, free: 12.02 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.005914/2.791, allocations: 0.8531 MB / 0.807 GB, free: 11.17 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00316/2.794, allocations: 0.5862 MB / 0.8076 GB, free: 10.58 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04716/2.842, allocations: 7.539 MB / 0.815 GB, free: 4.656 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03821/2.88, allocations: 6.695 MB / 0.8215 GB, free: 14.95 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.047e-05/2.88, allocations: 11.98 kB / 0.8215 GB, free: 14.94 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.286e-05/2.88, allocations: 11.95 kB / 0.8215 GB, free: 14.93 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02508/2.905, allocations: 7.434 MB / 0.8288 GB, free: 7.504 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.751e-05/2.905, allocations: 0 / 0.8288 GB, free: 7.504 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006787/2.912, allocations: 0.5968 MB / 0.8294 GB, free: 6.906 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0189/2.931, allocations: 3.136 MB / 0.8324 GB, free: 3.727 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001081/2.932, allocations: 95.91 kB / 0.8325 GB, free: 3.633 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02773/2.96, allocations: 14 MB / 0.8462 GB, free: 4.867 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.3528/3.313, allocations: 6.009 MB / 0.8521 GB, free: 140.9 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05287/3.366, allocations: 11.65 MB / 0.8635 GB, free: 140.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006454/3.372, allocations: 1.126 MB / 0.8646 GB, free: 140.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003128/3.375, allocations: 75.17 kB / 0.8646 GB, free: 140.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01045/3.386, allocations: 381.5 kB / 0.865 GB, free: 140.1 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001638/3.388, allocations: 213 kB / 0.8652 GB, free: 140.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000598/3.388, allocations: 99.28 kB / 0.8653 GB, free: 140.1 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0128/3.401, allocations: 3.999 MB / 0.8692 GB, free: 139.8 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.42e-07/3.401, allocations: 0 / 0.8692 GB, free: 139.8 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01376/3.415, allocations: 2.014 MB / 0.8712 GB, free: 139.8 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.03581/3.451, allocations: 12.49 MB / 0.8834 GB, free: 138.5 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02958/3.48, allocations: 10.72 MB / 0.8938 GB, free: 135.4 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-05/3.48, allocations: 10.03 kB / 0.8938 GB, free: 135.4 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01698/3.497, allocations: 5.305 MB / 0.899 GB, free: 132.7 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007874/3.505, allocations: 0.83 MB / 0.8998 GB, free: 132.4 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0643/3.57, allocations: 19.83 MB / 0.9192 GB, free: 124.7 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01316/3.583, allocations: 5.407 MB / 0.9245 GB, free: 122.9 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009128/3.592, allocations: 3.678 MB / 0.9281 GB, free: 120 MB / 0.4948 GB Notification: Performance of SimCode: time 1.292e-06/3.592, allocations: 0 / 0.9281 GB, free: 120 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 8.092/11.68, allocations: 0.5443 GB / 1.472 GB, free: 113.1 MB / 0.5105 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