Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FreeBodies,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Parts_FreeBodies",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.96/1.96, allocations: 209.3 MB / 221.4 MB, free: 1.945 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.539e-05/3.551e-05, allocations: 4 kB / 273.2 MB, free: 164 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1384, allocations: 48.71 MB / 321.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4386/0.577, allocations: 92.56 MB / 414.4 MB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002738/0.5774, allocations: 75.95 kB / 414.5 MB, free: 12.86 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.898/1.475, allocations: 142.3 MB / 0.5438 GB, free: 87.05 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.124e-06/1.475, allocations: 3.625 kB / 0.5438 GB, free: 87.05 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000616/1.476, allocations: 154.1 kB / 0.5439 GB, free: 87.05 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.06292/1.539, allocations: 8.675 MB / 0.5524 GB, free: 84.22 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.529e-05/1.539, allocations: 10.31 kB / 0.5524 GB, free: 84.22 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006771/1.546, allocations: 1.303 MB / 0.5537 GB, free: 84.12 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0579/1.604, allocations: 7.692 MB / 0.5612 GB, free: 83.6 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03998/1.644, allocations: 10.93 MB / 0.5719 GB, free: 79.96 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007752/1.645, allocations: 0.5638 MB / 0.5724 GB, free: 79.73 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00423/1.649, allocations: 0.7566 MB / 0.5732 GB, free: 79.5 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05658/1.706, allocations: 17.44 MB / 0.5902 GB, free: 62.75 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006213/1.706, allocations: 111 kB / 0.5903 GB, free: 62.64 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003728/1.71, allocations: 362.3 kB / 0.5906 GB, free: 62.32 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003943/1.714, allocations: 1.606 MB / 0.5922 GB, free: 60.72 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05591/1.77, allocations: 14.03 MB / 0.6059 GB, free: 46.68 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.565/2.335, allocations: 78.99 MB / 0.6831 GB, free: 43.14 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03684/2.372, allocations: 6.897 MB / 0.6898 GB, free: 42.47 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007701/2.38, allocations: 3.21 MB / 0.6929 GB, free: 42.43 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03783/2.417, allocations: 14.68 MB / 0.7073 GB, free: 39.4 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.977e-05/2.418, allocations: 69.88 kB / 0.7073 GB, free: 39.36 MB / 442.7 MB Notification: Performance of pre-optimization done (n=259): time 6.663e-06/2.418, allocations: 3.25 kB / 0.7073 GB, free: 39.36 MB / 442.7 MB Notification: Performance of matching and sorting (n=287): time 0.1074/2.525, allocations: 22.98 MB / 0.7298 GB, free: 34.58 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004659/2.53, allocations: 6.25 MB / 0.7359 GB, free: 28.5 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01346/2.543, allocations: 5.75 MB / 0.7415 GB, free: 26.45 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008923/2.544, allocations: 70.59 kB / 0.7416 GB, free: 26.38 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004727/2.549, allocations: 5.292 MB / 0.7467 GB, free: 22.31 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002112/2.551, allocations: 1.178 MB / 0.7479 GB, free: 21.46 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001345/2.552, allocations: 194.2 kB / 0.7481 GB, free: 21.31 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0006602/2.553, allocations: 0.7157 MB / 0.7488 GB, free: 20.83 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009862/2.563, allocations: 3.796 MB / 0.7525 GB, free: 19.54 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01345/2.577, allocations: 9.582 MB / 0.7618 GB, free: 10.49 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01375/2.59, allocations: 5.896 MB / 0.7676 GB, free: 8.703 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000225/2.591, allocations: 66.06 kB / 0.7676 GB, free: 8.699 MB / 442.7 MB Notification: Performance of matching and sorting (n=1271) (initialization): time 0.04566/2.636, allocations: 15.15 MB / 0.7824 GB, free: 1.148 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001575/2.636, allocations: 106.9 kB / 0.7825 GB, free: 1.047 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02988/2.666, allocations: 7.047 MB / 0.7894 GB, free: 12.45 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01627/2.683, allocations: 2.834 MB / 0.7922 GB, free: 10.39 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0162/2.699, allocations: 2.362 MB / 0.7945 GB, free: 8.367 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01743/2.716, allocations: 11.27 MB / 0.8055 GB, free: 13.23 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01467/2.731, allocations: 0.8599 MB / 0.8063 GB, free: 12.59 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00274/2.734, allocations: 0.5908 MB / 0.8069 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.004282/2.738, allocations: 0.8643 MB / 0.8078 GB, free: 11.17 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002045/2.74, allocations: 0.5784 MB / 0.8083 GB, free: 10.58 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03031/2.771, allocations: 7.545 MB / 0.8157 GB, free: 4.656 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03313/2.804, allocations: 6.689 MB / 0.8222 GB, free: 14.42 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-05/2.804, allocations: 8 kB / 0.8222 GB, free: 14.41 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.616e-05/2.804, allocations: 15.95 kB / 0.8223 GB, free: 14.4 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02506/2.829, allocations: 7.433 MB / 0.8295 GB, free: 6.977 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.864e-05/2.829, allocations: 0 / 0.8295 GB, free: 6.977 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006774/2.836, allocations: 0.6006 MB / 0.8301 GB, free: 6.375 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0187/2.855, allocations: 3.124 MB / 0.8331 GB, free: 3.207 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001094/2.856, allocations: 99.91 kB / 0.8332 GB, free: 3.109 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02775/2.884, allocations: 14.01 MB / 0.8469 GB, free: 4.336 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.3553/3.239, allocations: 6.004 MB / 0.8528 GB, free: 139.8 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03866/3.278, allocations: 11.65 MB / 0.8642 GB, free: 139 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005129/3.283, allocations: 1.129 MB / 0.8653 GB, free: 138.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003477/3.286, allocations: 84.39 kB / 0.8653 GB, free: 138.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01188/3.298, allocations: 372.4 kB / 0.8657 GB, free: 138.9 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001516/3.3, allocations: 219.4 kB / 0.8659 GB, free: 138.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004762/3.301, allocations: 92.17 kB / 0.866 GB, free: 138.9 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.01582/3.316, allocations: 3.999 MB / 0.8699 GB, free: 138.7 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.492e-06/3.316, allocations: 0 / 0.8699 GB, free: 138.7 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01478/3.331, allocations: 2.007 MB / 0.8719 GB, free: 138.7 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.03575/3.367, allocations: 12.51 MB / 0.8841 GB, free: 137.3 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.03428/3.401, allocations: 10.67 MB / 0.8945 GB, free: 134.4 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.048e-05/3.401, allocations: 0 / 0.8945 GB, free: 134.4 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.02554/3.427, allocations: 5.286 MB / 0.8997 GB, free: 131.8 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01167/3.439, allocations: 0.8339 MB / 0.9005 GB, free: 131.5 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09327/3.532, allocations: 19.01 MB / 0.919 GB, free: 124.2 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01932/3.551, allocations: 5.402 MB / 0.9243 GB, free: 122.5 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.02176/3.573, allocations: 2.927 MB / 0.9272 GB, free: 122.2 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01277/3.586, allocations: 3.611 MB / 0.9307 GB, free: 119.2 MB / 0.4948 GB Notification: Performance of SimCode: time 2.174e-06/3.586, allocations: 3.938 kB / 0.9307 GB, free: 119.2 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6624/4.249, allocations: 144.1 MB / 1.071 GB, free: 117.5 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002908/4.249, allocations: 178.8 kB / 1.072 GB, free: 117.3 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.476/12.73, allocations: 0 / 1.072 GB, free: 117.3 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FreeBodies_res.mat does not exist to compare? outputFormat=mat