Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FreeBodies,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Parts_FreeBodies",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.446/2.446, allocations: 235 MB / 247.6 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.44e-05/3.437e-05, allocations: 4 kB / 305 MB, free: 5.57 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4772/0.4773, allocations: 54.85 MB / 359.9 MB, free: 2.324 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2501/0.7274, allocations: 99.27 MB / 459.1 MB, free: 13.59 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002953/0.7278, allocations: 76.75 kB / 459.2 MB, free: 13.51 MB / 394.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/MultiBody.mo:6721:35-6721: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.2/MultiBody.mo:6722:13-6722: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.2/MultiBody.mo:6743:35-6743: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.2/MultiBody.mo:6744:13-6744: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.2/MultiBody.mo:6765:35-6765: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.2/MultiBody.mo:6766:13-6766: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.2/MultiBody.mo:6793:35-6793: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.2/MultiBody.mo:6794:13-6794: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.2/MultiBody.mo:6805:35-6805: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.2/MultiBody.mo:6806:13-6806:23:writable] Warning: Non-array modification 'true' for array component, possibly due to missing 'each'. Notification: Performance of FrontEnd - DAE generated: time 0.905/1.633, allocations: 142.5 MB / 0.5876 GB, free: 95.11 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.404e-06/1.633, allocations: 0 / 0.5876 GB, free: 95.11 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0005938/1.633, allocations: 150.8 kB / 0.5878 GB, free: 95.11 MB / 458.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.06358/1.697, allocations: 8.676 MB / 0.5962 GB, free: 90.02 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.696e-05/1.697, allocations: 14.33 kB / 0.5962 GB, free: 90.01 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006977/1.704, allocations: 1.301 MB / 0.5975 GB, free: 89.16 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0598/1.764, allocations: 7.749 MB / 0.6051 GB, free: 83.4 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03991/1.804, allocations: 10.95 MB / 0.6158 GB, free: 72.51 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007388/1.805, allocations: 0.5629 MB / 0.6163 GB, free: 71.98 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004152/1.809, allocations: 0.7574 MB / 0.6171 GB, free: 71.23 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05767/1.867, allocations: 17.36 MB / 0.634 GB, free: 52.33 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006443/1.867, allocations: 107 kB / 0.6341 GB, free: 52.22 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003727/1.871, allocations: 359.8 kB / 0.6345 GB, free: 51.87 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003839/1.875, allocations: 1.593 MB / 0.636 GB, free: 50.27 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05874/1.934, allocations: 13.75 MB / 0.6495 GB, free: 36.51 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5907/2.525, allocations: 79.02 MB / 0.7266 GB, free: 49.61 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03725/2.562, allocations: 6.877 MB / 0.7333 GB, free: 48.94 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007598/2.57, allocations: 3.206 MB / 0.7365 GB, free: 48.91 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03728/2.607, allocations: 14.71 MB / 0.7508 GB, free: 45.71 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.68e-05/2.607, allocations: 60.38 kB / 0.7509 GB, free: 45.68 MB / 474.7 MB Notification: Performance of pre-optimization done (n=259): time 7.073e-06/2.607, allocations: 5.188 kB / 0.7509 GB, free: 45.68 MB / 474.7 MB Notification: Performance of matching and sorting (n=287): time 0.1203/2.727, allocations: 22.98 MB / 0.7733 GB, free: 39.26 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.006283/2.734, allocations: 6.244 MB / 0.7794 GB, free: 33.16 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02127/2.755, allocations: 5.751 MB / 0.7851 GB, free: 31.05 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00112/2.756, allocations: 72.44 kB / 0.7851 GB, free: 30.99 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005488/2.762, allocations: 5.059 MB / 0.7901 GB, free: 26.97 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00228/2.764, allocations: 1.184 MB / 0.7912 GB, free: 26.12 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001908/2.766, allocations: 197.1 kB / 0.7914 GB, free: 25.97 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0009947/2.767, allocations: 0.7236 MB / 0.7921 GB, free: 25.48 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009878/2.777, allocations: 3.82 MB / 0.7958 GB, free: 24.18 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01434/2.791, allocations: 9.549 MB / 0.8052 GB, free: 15.14 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01356/2.805, allocations: 5.928 MB / 0.811 GB, free: 13.2 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002545/2.805, allocations: 58.88 kB / 0.811 GB, free: 13.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=1271) (initialization): time 0.05633/2.862, allocations: 15.35 MB / 0.826 GB, free: 1.754 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001803/2.862, allocations: 96.25 kB / 0.8261 GB, free: 1.66 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03696/2.899, allocations: 7.755 MB / 0.8337 GB, free: 11.95 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0302/2.929, allocations: 3.904 MB / 0.8375 GB, free: 9.328 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01566/2.945, allocations: 2.299 MB / 0.8397 GB, free: 7.352 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02739/2.972, allocations: 13.6 MB / 0.853 GB, free: 9.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01517/2.987, allocations: 0.8655 MB / 0.8538 GB, free: 9.117 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002779/2.99, allocations: 0.5946 MB / 0.8544 GB, free: 8.523 MB / 0.4948 GB 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 (1195): * Single equations (assignments): 1170 * Array equations: 11 * 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 {(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: 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 prepare postOptimizeDAE: time 0.004053/2.994, allocations: 0.85 MB / 0.8553 GB, free: 7.668 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001954/2.996, allocations: 0.5823 MB / 0.8558 GB, free: 7.078 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0299/3.026, allocations: 7.533 MB / 0.8632 GB, free: 15.5 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0269/3.053, allocations: 6.7 MB / 0.8697 GB, free: 8.742 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.301e-05/3.053, allocations: 11.98 kB / 0.8697 GB, free: 8.73 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001076/3.053, allocations: 14.91 kB / 0.8698 GB, free: 8.719 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02275/3.076, allocations: 7.421 MB / 0.877 GB, free: 1.312 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.72e-05/3.076, allocations: 0 / 0.877 GB, free: 1.312 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006866/3.083, allocations: 0.6 MB / 0.8776 GB, free: 0.7148 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0185/3.102, allocations: 3.133 MB / 0.8806 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001043/3.103, allocations: 95.91 kB / 0.8807 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02682/3.13, allocations: 13.98 MB / 0.8944 GB, free: 14.69 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.006733/3.136, allocations: 6.027 MB / 0.9003 GB, free: 8.105 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.431/3.567, allocations: 11.64 MB / 0.9116 GB, free: 161.2 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002551/3.57, allocations: 0.6375 MB / 0.9123 GB, free: 161.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002739/3.573, allocations: 76.38 kB / 0.9123 GB, free: 161.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008017/3.581, allocations: 374.4 kB / 0.9127 GB, free: 161.1 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001598/3.582, allocations: 221.1 kB / 0.9129 GB, free: 161.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005132/3.583, allocations: 89.11 kB / 0.913 GB, free: 161.1 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.01341/3.596, allocations: 4.004 MB / 0.9169 GB, free: 160.9 MB / 0.5417 GB Notification: Performance of sort global known variables: time 8.81e-07/3.596, allocations: 1.438 kB / 0.9169 GB, free: 160.9 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01495/3.611, allocations: 2.034 MB / 0.9189 GB, free: 160.9 MB / 0.5417 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.05006/3.661, allocations: 12.51 MB / 0.9311 GB, free: 159.5 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.03849/3.7, allocations: 10.81 MB / 0.9417 GB, free: 158 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 9.518e-06/3.7, allocations: 3.625 kB / 0.9417 GB, free: 158 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01683/3.717, allocations: 5.257 MB / 0.9468 GB, free: 156.3 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00836/3.725, allocations: 0.8261 MB / 0.9476 GB, free: 155.9 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06182/3.787, allocations: 19.81 MB / 0.9669 GB, free: 148.2 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01549/3.803, allocations: 5.404 MB / 0.9722 GB, free: 146.5 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01159/3.814, allocations: 3.677 MB / 0.9758 GB, free: 143.5 MB / 0.5417 GB Notification: Performance of SimCode: time 1.924e-06/3.814, allocations: 0 / 0.9758 GB, free: 143.5 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 8.364/12.18, allocations: 0.544 GB / 1.52 GB, free: 160.6 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Parts.FreeBodies_res.mat does not exist to compare? outputFormat=mat