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.39/2.39, allocations: 235 MB / 247.2 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.839e-05/3.865e-05, allocations: 11.98 kB / 305 MB, free: 5.059 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.394/0.3941, allocations: 54.85 MB / 359.9 MB, free: 2.777 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1814/0.5755, allocations: 99.27 MB / 459.2 MB, free: 13.5 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000285/0.5759, allocations: 71.97 kB / 459.2 MB, free: 13.43 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.9372/1.513, allocations: 142.5 MB / 0.5876 GB, free: 95.24 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.785e-06/1.513, allocations: 0 / 0.5876 GB, free: 95.24 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0006374/1.514, allocations: 158.1 kB / 0.5878 GB, free: 95.23 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.06665/1.581, allocations: 8.672 MB / 0.5963 GB, free: 90.15 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.844e-05/1.581, allocations: 10.28 kB / 0.5963 GB, free: 90.15 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007524/1.588, allocations: 1.3 MB / 0.5975 GB, free: 89.3 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06172/1.65, allocations: 7.748 MB / 0.6051 GB, free: 83.29 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04312/1.693, allocations: 10.96 MB / 0.6158 GB, free: 72.39 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008003/1.694, allocations: 0.5582 MB / 0.6164 GB, free: 71.85 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004468/1.698, allocations: 0.7613 MB / 0.6171 GB, free: 71.09 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06139/1.76, allocations: 17.36 MB / 0.6341 GB, free: 52.19 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008071/1.761, allocations: 103 kB / 0.6342 GB, free: 52.09 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004321/1.765, allocations: 359.8 kB / 0.6345 GB, free: 51.73 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004106/1.769, allocations: 1.6 MB / 0.6361 GB, free: 50.13 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04957/1.819, allocations: 13.75 MB / 0.6495 GB, free: 36.36 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5486/2.368, allocations: 79.01 MB / 0.7267 GB, free: 49.85 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03833/2.406, allocations: 6.885 MB / 0.7334 GB, free: 49.18 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007686/2.414, allocations: 3.203 MB / 0.7365 GB, free: 49.14 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03843/2.452, allocations: 14.7 MB / 0.7509 GB, free: 45.95 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.793e-05/2.452, allocations: 69.72 kB / 0.7509 GB, free: 45.91 MB / 474.7 MB Notification: Performance of pre-optimization done (n=259): time 7.144e-06/2.452, allocations: 0 / 0.7509 GB, free: 45.91 MB / 474.7 MB Notification: Performance of matching and sorting (n=287): time 0.1237/2.576, allocations: 22.98 MB / 0.7734 GB, free: 39.49 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004956/2.581, allocations: 6.246 MB / 0.7795 GB, free: 33.39 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01503/2.596, allocations: 5.751 MB / 0.7851 GB, free: 31.27 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009238/2.597, allocations: 73.5 kB / 0.7852 GB, free: 31.21 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005197/2.602, allocations: 5.273 MB / 0.7903 GB, free: 27.15 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002467/2.605, allocations: 1.182 MB / 0.7915 GB, free: 26.3 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001375/2.606, allocations: 192.7 kB / 0.7916 GB, free: 26.15 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0008065/2.607, allocations: 0.72 MB / 0.7923 GB, free: 25.67 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009914/2.617, allocations: 3.824 MB / 0.7961 GB, free: 24.36 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01392/2.631, allocations: 9.542 MB / 0.8054 GB, free: 15.33 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0139/2.645, allocations: 5.93 MB / 0.8112 GB, free: 13.39 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002476/2.645, allocations: 56.19 kB / 0.8112 GB, free: 13.39 MB / 474.7 MB Notification: Performance of matching and sorting (n=1271) (initialization): time 0.05777/2.703, allocations: 15.58 MB / 0.8265 GB, free: 1.422 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001845/2.703, allocations: 93 kB / 0.8266 GB, free: 1.332 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04591/2.749, allocations: 7.89 MB / 0.8343 GB, free: 11.94 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03088/2.78, allocations: 3.899 MB / 0.8381 GB, free: 9.328 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0162/2.796, allocations: 2.305 MB / 0.8403 GB, free: 7.348 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02784/2.824, allocations: 13.56 MB / 0.8536 GB, free: 9.527 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01559/2.84, allocations: 0.8604 MB / 0.8544 GB, free: 8.668 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002745/2.843, allocations: 0.5878 MB / 0.855 GB, free: 8.082 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.004349/2.847, allocations: 0.862 MB / 0.8558 GB, free: 7.215 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002159/2.849, allocations: 0.5862 MB / 0.8564 GB, free: 6.621 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03057/2.88, allocations: 7.538 MB / 0.8637 GB, free: 15.04 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02702/2.907, allocations: 6.693 MB / 0.8703 GB, free: 8.289 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.215e-05/2.907, allocations: 11 kB / 0.8703 GB, free: 8.281 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.228e-05/2.907, allocations: 11.95 kB / 0.8703 GB, free: 8.27 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0238/2.931, allocations: 7.429 MB / 0.8776 GB, free: 0.8594 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.784e-05/2.931, allocations: 0 / 0.8776 GB, free: 0.8594 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00681/2.938, allocations: 0.6007 MB / 0.8781 GB, free: 264 kB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01872/2.957, allocations: 3.121 MB / 0.8812 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001007/2.958, allocations: 95.91 kB / 0.8813 GB, free: 13 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02609/2.984, allocations: 13.99 MB / 0.895 GB, free: 14.23 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.006206/2.99, allocations: 6.02 MB / 0.9008 GB, free: 7.652 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4148/3.405, allocations: 11.64 MB / 0.9122 GB, free: 161.4 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002706/3.408, allocations: 0.6348 MB / 0.9128 GB, free: 161.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002969/3.411, allocations: 76.86 kB / 0.9129 GB, free: 161.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008388/3.419, allocations: 378.8 kB / 0.9132 GB, free: 161.3 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001472/3.421, allocations: 220 kB / 0.9135 GB, free: 161.3 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008508/3.422, allocations: 91.92 kB / 0.9135 GB, free: 161.3 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.01367/3.435, allocations: 4 MB / 0.9175 GB, free: 161.1 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.383e-06/3.435, allocations: 0 / 0.9175 GB, free: 161.1 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01543/3.451, allocations: 2.032 MB / 0.9194 GB, free: 161.1 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.04118/3.492, allocations: 12.51 MB / 0.9317 GB, free: 159.7 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.03085/3.523, allocations: 10.8 MB / 0.9422 GB, free: 158.2 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.366e-06/3.523, allocations: 0 / 0.9422 GB, free: 158.2 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01679/3.54, allocations: 5.243 MB / 0.9473 GB, free: 156.5 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008514/3.548, allocations: 0.827 MB / 0.9481 GB, free: 156.1 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06341/3.612, allocations: 18.97 MB / 0.9667 GB, free: 148.9 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01325/3.625, allocations: 5.404 MB / 0.9719 GB, free: 147.2 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01541/3.641, allocations: 2.925 MB / 0.9748 GB, free: 146.9 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009895/3.651, allocations: 3.611 MB / 0.9783 GB, free: 144 MB / 0.5417 GB Notification: Performance of SimCode: time 2.274e-06/3.651, allocations: 0 / 0.9783 GB, free: 144 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7559/4.407, allocations: 147 MB / 1.122 GB, free: 144.7 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001818/4.407, allocations: 178.5 kB / 1.122 GB, free: 144.4 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.479/12.89, allocations: 11.44 kB / 1.122 GB, free: 144.4 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