Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FreeBodies,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Parts_FreeBodies",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.433/2.433, allocations: 235 MB / 247.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.196e-05/4.218e-05, allocations: 8 kB / 305 MB, free: 5.082 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4463/0.4464, allocations: 54.85 MB / 359.9 MB, free: 2.785 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1884/0.6349, allocations: 99.26 MB / 459.1 MB, free: 13.54 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003062/0.6352, allocations: 75.95 kB / 459.2 MB, free: 13.46 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.9427/1.578, allocations: 142.5 MB / 0.5876 GB, free: 95.26 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.405e-06/1.578, allocations: 0 / 0.5876 GB, free: 95.26 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000602/1.579, allocations: 156.2 kB / 0.5878 GB, free: 95.25 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.06315/1.642, allocations: 8.674 MB / 0.5962 GB, free: 90.17 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.56e-05/1.642, allocations: 6.781 kB / 0.5962 GB, free: 90.17 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006865/1.649, allocations: 1.3 MB / 0.5975 GB, free: 89.32 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05939/1.708, allocations: 7.753 MB / 0.6051 GB, free: 83.33 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04149/1.75, allocations: 10.95 MB / 0.6158 GB, free: 72.44 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000767/1.751, allocations: 0.5636 MB / 0.6163 GB, free: 71.89 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004551/1.755, allocations: 0.7574 MB / 0.6171 GB, free: 71.13 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05677/1.812, allocations: 17.45 MB / 0.6341 GB, free: 52.14 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006568/1.813, allocations: 107 kB / 0.6342 GB, free: 52.04 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003882/1.817, allocations: 363.8 kB / 0.6346 GB, free: 51.68 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004059/1.821, allocations: 1.593 MB / 0.6361 GB, free: 50.09 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04684/1.868, allocations: 14.03 MB / 0.6498 GB, free: 36.04 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5419/2.41, allocations: 79.02 MB / 0.727 GB, free: 48.91 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03728/2.447, allocations: 6.893 MB / 0.7337 GB, free: 48.23 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007737/2.455, allocations: 3.207 MB / 0.7369 GB, free: 48.2 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03812/2.493, allocations: 14.71 MB / 0.7512 GB, free: 44.99 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.53e-05/2.493, allocations: 68.47 kB / 0.7513 GB, free: 44.95 MB / 474.7 MB Notification: Performance of pre-optimization done (n=259): time 7.103e-06/2.493, allocations: 0 / 0.7513 GB, free: 44.95 MB / 474.7 MB Notification: Performance of matching and sorting (n=287): time 0.1128/2.606, allocations: 22.98 MB / 0.7737 GB, free: 39.02 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005326/2.611, allocations: 6.251 MB / 0.7798 GB, free: 32.93 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01679/2.628, allocations: 5.76 MB / 0.7855 GB, free: 30.81 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001/2.629, allocations: 66.61 kB / 0.7855 GB, free: 30.75 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005442/2.635, allocations: 5.28 MB / 0.7907 GB, free: 26.69 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00232/2.637, allocations: 1.184 MB / 0.7918 GB, free: 25.84 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001735/2.639, allocations: 190.5 kB / 0.792 GB, free: 25.69 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.001011/2.64, allocations: 0.718 MB / 0.7927 GB, free: 25.21 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01019/2.65, allocations: 3.82 MB / 0.7964 GB, free: 23.91 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0145/2.665, allocations: 9.61 MB / 0.8058 GB, free: 14.84 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01442/2.679, allocations: 5.928 MB / 0.8116 GB, free: 12.89 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002695/2.679, allocations: 56.41 kB / 0.8117 GB, free: 12.89 MB / 474.7 MB Notification: Performance of matching and sorting (n=1271) (initialization): time 0.06014/2.74, allocations: 16.14 MB / 0.8274 GB, free: 428 kB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001556/2.74, allocations: 95.94 kB / 0.8275 GB, free: 332 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0478/2.788, allocations: 8.295 MB / 0.8356 GB, free: 11.94 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03168/2.819, allocations: 3.903 MB / 0.8394 GB, free: 9.324 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01592/2.835, allocations: 2.307 MB / 0.8417 GB, free: 7.039 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02806/2.863, allocations: 13.56 MB / 0.8549 GB, free: 8.707 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01545/2.879, allocations: 0.8636 MB / 0.8558 GB, free: 7.844 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002991/2.882, allocations: 0.5952 MB / 0.8564 GB, free: 7.25 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.004804/2.887, allocations: 0.8537 MB / 0.8572 GB, free: 6.395 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002604/2.889, allocations: 0.5823 MB / 0.8578 GB, free: 5.805 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03285/2.922, allocations: 7.546 MB / 0.8651 GB, free: 14.2 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02801/2.95, allocations: 6.692 MB / 0.8717 GB, free: 7.461 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.678e-05/2.951, allocations: 8 kB / 0.8717 GB, free: 7.453 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.58e-05/2.951, allocations: 12.98 kB / 0.8717 GB, free: 7.441 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02612/2.977, allocations: 7.423 MB / 0.8789 GB, free: 28 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.857e-05/2.977, allocations: 7.312 kB / 0.8789 GB, free: 24 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006959/2.984, allocations: 0.6008 MB / 0.8795 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01905/3.003, allocations: 3.131 MB / 0.8826 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001118/3.004, allocations: 91.91 kB / 0.8827 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02817/3.032, allocations: 14 MB / 0.8963 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.007063/3.039, allocations: 6.015 MB / 0.9022 GB, free: 6.809 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4476/3.487, allocations: 11.65 MB / 0.9136 GB, free: 161.3 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003323/3.491, allocations: 0.6398 MB / 0.9142 GB, free: 161.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003358/3.494, allocations: 77.19 kB / 0.9143 GB, free: 161.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02258/3.517, allocations: 377 kB / 0.9147 GB, free: 161.2 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002/3.519, allocations: 213.5 kB / 0.9149 GB, free: 161.2 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001155/3.52, allocations: 91.2 kB / 0.9149 GB, free: 161.2 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0138/3.534, allocations: 4 MB / 0.9189 GB, free: 161 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.523e-06/3.534, allocations: 0 / 0.9189 GB, free: 161 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0149/3.549, allocations: 2.031 MB / 0.9208 GB, free: 161 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.03816/3.587, allocations: 12.51 MB / 0.9331 GB, free: 159.6 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.02943/3.616, allocations: 11.12 MB / 0.9439 GB, free: 158.1 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 9.277e-06/3.616, allocations: 4.562 kB / 0.9439 GB, free: 158.1 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01708/3.633, allocations: 5.287 MB / 0.9491 GB, free: 156 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007991/3.641, allocations: 0.8295 MB / 0.9499 GB, free: 155.7 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05923/3.701, allocations: 19.01 MB / 0.9685 GB, free: 148.3 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01327/3.714, allocations: 5.406 MB / 0.9737 GB, free: 146.6 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01419/3.728, allocations: 2.923 MB / 0.9766 GB, free: 146.4 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008841/3.737, allocations: 3.613 MB / 0.9801 GB, free: 143.4 MB / 0.5417 GB Notification: Performance of SimCode: time 2.184e-06/3.737, allocations: 0 / 0.9801 GB, free: 143.4 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7108/4.448, allocations: 147.9 MB / 1.125 GB, free: 146.1 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001854/4.448, allocations: 177.5 kB / 1.125 GB, free: 145.9 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.986/13.43, allocations: 0 / 1.125 GB, free: 145.9 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FreeBodies_res.mat does not exist to compare? outputFormat=mat