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 2.082/2.082, allocations: 209.3 MB / 221.5 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.301e-05/3.312e-05, allocations: 0 / 273.2 MB, free: 156 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1195, allocations: 48.71 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4407/0.5603, allocations: 92.57 MB / 414.5 MB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002882/0.5606, allocations: 75.95 kB / 414.5 MB, free: 12.85 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.9057/1.466, allocations: 142.3 MB / 0.5438 GB, free: 87.07 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.435e-06/1.466, allocations: 0 / 0.5438 GB, free: 87.07 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005826/1.467, allocations: 151.7 kB / 0.544 GB, free: 87.06 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.06524/1.532, allocations: 8.668 MB / 0.5524 GB, free: 84.24 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.785e-05/1.532, allocations: 9.875 kB / 0.5524 GB, free: 84.24 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009801/1.542, allocations: 1.304 MB / 0.5537 GB, free: 84.14 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07558/1.618, allocations: 7.698 MB / 0.5612 GB, free: 83.61 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05154/1.669, allocations: 10.93 MB / 0.5719 GB, free: 79.98 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007821/1.67, allocations: 0.5582 MB / 0.5725 GB, free: 79.76 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004389/1.675, allocations: 0.7575 MB / 0.5732 GB, free: 79.53 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05569/1.73, allocations: 17.36 MB / 0.5901 GB, free: 62.86 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005479/1.731, allocations: 107 kB / 0.5902 GB, free: 62.75 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003599/1.735, allocations: 357.8 kB / 0.5906 GB, free: 62.44 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00381/1.738, allocations: 1.602 MB / 0.5922 GB, free: 60.84 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04708/1.786, allocations: 13.75 MB / 0.6056 GB, free: 47.07 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5246/2.31, allocations: 78.99 MB / 0.6827 GB, free: 43.82 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04649/2.357, allocations: 6.871 MB / 0.6894 GB, free: 43.15 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007807/2.365, allocations: 3.217 MB / 0.6926 GB, free: 43.11 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03839/2.403, allocations: 14.66 MB / 0.7069 GB, free: 40.09 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.198e-05/2.403, allocations: 70 kB / 0.707 GB, free: 40.05 MB / 442.7 MB Notification: Performance of pre-optimization done (n=259): time 1.206e-05/2.403, allocations: 0 / 0.707 GB, free: 40.05 MB / 442.7 MB Notification: Performance of matching and sorting (n=287): time 0.1171/2.52, allocations: 22.99 MB / 0.7294 GB, free: 34.86 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004925/2.525, allocations: 6.236 MB / 0.7355 GB, free: 28.77 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01518/2.541, allocations: 5.764 MB / 0.7411 GB, free: 26.71 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009691/2.542, allocations: 66.5 kB / 0.7412 GB, free: 26.65 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005308/2.547, allocations: 5.275 MB / 0.7463 GB, free: 22.59 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002258/2.549, allocations: 1.19 MB / 0.7475 GB, free: 21.73 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001679/2.551, allocations: 193.6 kB / 0.7477 GB, free: 21.58 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.00102/2.552, allocations: 0.7163 MB / 0.7484 GB, free: 21.1 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009748/2.562, allocations: 3.791 MB / 0.7521 GB, free: 19.81 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01371/2.576, allocations: 9.525 MB / 0.7614 GB, free: 10.79 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01352/2.589, allocations: 5.902 MB / 0.7672 GB, free: 9 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002565/2.59, allocations: 56.91 kB / 0.7672 GB, free: 9 MB / 442.7 MB Notification: Performance of matching and sorting (n=1271) (initialization): time 0.04574/2.635, allocations: 14.59 MB / 0.7815 GB, free: 1.875 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001667/2.636, allocations: 92.94 kB / 0.7815 GB, free: 1.785 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02569/2.661, allocations: 6.768 MB / 0.7882 GB, free: 12.44 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01634/2.678, allocations: 2.837 MB / 0.7909 GB, free: 10.39 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0162/2.694, allocations: 2.348 MB / 0.7932 GB, free: 8.375 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01778/2.712, allocations: 11.28 MB / 0.8042 GB, free: 13.24 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01538/2.727, allocations: 0.8631 MB / 0.8051 GB, free: 12.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002695/2.73, allocations: 0.5874 MB / 0.8057 GB, free: 12.04 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.004101/2.734, allocations: 0.8567 MB / 0.8065 GB, free: 11.18 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002079/2.736, allocations: 0.5862 MB / 0.8071 GB, free: 10.59 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03159/2.768, allocations: 7.535 MB / 0.8144 GB, free: 4.672 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02757/2.795, allocations: 6.699 MB / 0.821 GB, free: 14.89 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.156e-05/2.796, allocations: 8 kB / 0.821 GB, free: 14.89 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.374e-05/2.796, allocations: 11.95 kB / 0.821 GB, free: 14.88 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02516/2.821, allocations: 7.435 MB / 0.8282 GB, free: 7.457 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.883e-05/2.821, allocations: 4 kB / 0.8282 GB, free: 7.453 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007829/2.829, allocations: 0.6032 MB / 0.8288 GB, free: 6.852 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01924/2.848, allocations: 3.129 MB / 0.8319 GB, free: 3.68 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001207/2.849, allocations: 98.72 kB / 0.832 GB, free: 3.586 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0273/2.877, allocations: 13.99 MB / 0.8456 GB, free: 4.828 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.3824/3.259, allocations: 5.997 MB / 0.8515 GB, free: 139.7 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03841/3.298, allocations: 11.65 MB / 0.8629 GB, free: 139 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005062/3.303, allocations: 1.126 MB / 0.864 GB, free: 138.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002805/3.306, allocations: 85.22 kB / 0.8641 GB, free: 138.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00803/3.314, allocations: 372.4 kB / 0.8644 GB, free: 138.9 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001559/3.315, allocations: 223.3 kB / 0.8646 GB, free: 138.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008735/3.316, allocations: 89.41 kB / 0.8647 GB, free: 138.9 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.01309/3.329, allocations: 4 MB / 0.8686 GB, free: 138.6 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.22e-07/3.329, allocations: 1.469 kB / 0.8686 GB, free: 138.6 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01439/3.344, allocations: 2.007 MB / 0.8706 GB, free: 138.6 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.03535/3.379, allocations: 12.5 MB / 0.8828 GB, free: 137.2 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02844/3.408, allocations: 10.37 MB / 0.8929 GB, free: 134.6 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.386e-06/3.408, allocations: 1.969 kB / 0.8929 GB, free: 134.6 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01678/3.425, allocations: 5.236 MB / 0.898 GB, free: 132.1 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007927/3.433, allocations: 0.8233 MB / 0.8988 GB, free: 131.8 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06136/3.494, allocations: 18.97 MB / 0.9174 GB, free: 124.6 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01352/3.508, allocations: 5.412 MB / 0.9226 GB, free: 122.9 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01488/3.522, allocations: 2.924 MB / 0.9255 GB, free: 122.6 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008812/3.531, allocations: 3.612 MB / 0.929 GB, free: 119.7 MB / 0.4948 GB Notification: Performance of SimCode: time 1.423e-06/3.531, allocations: 0 / 0.929 GB, free: 119.7 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6785/4.21, allocations: 143.3 MB / 1.069 GB, free: 116.6 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001568/4.21, allocations: 184.8 kB / 1.069 GB, free: 116.4 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.481/12.69, allocations: 0 / 1.069 GB, free: 116.4 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