Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FreeBodies,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Parts_FreeBodies",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.767/2.767, allocations: 235.1 MB / 242.3 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.124e-05/2.139e-05, allocations: 0 / 299.6 MB, free: 216 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3827/0.3828, allocations: 54.86 MB / 354.4 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2013/0.5841, allocations: 98.6 MB / 453 MB, free: 12.45 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002989/0.5845, allocations: 71.97 kB / 453.1 MB, free: 12.38 MB / 394.7 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/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/hudson/slave/workspace/OpenModelica_TEST_LIBS/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/hudson/slave/workspace/OpenModelica_TEST_LIBS/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/hudson/slave/workspace/OpenModelica_TEST_LIBS/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/hudson/slave/workspace/OpenModelica_TEST_LIBS/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/hudson/slave/workspace/OpenModelica_TEST_LIBS/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/hudson/slave/workspace/OpenModelica_TEST_LIBS/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/hudson/slave/workspace/OpenModelica_TEST_LIBS/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/hudson/slave/workspace/OpenModelica_TEST_LIBS/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/hudson/slave/workspace/OpenModelica_TEST_LIBS/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.9558/1.54, allocations: 139.1 MB / 0.5783 GB, free: 1.051 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.344e-06/1.54, allocations: 0 / 0.5783 GB, free: 1.051 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.00066/1.541, allocations: 152 kB / 0.5784 GB, free: 0.9023 MB / 410.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.0732/1.614, allocations: 8.676 MB / 0.5869 GB, free: 8.152 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.293e-05/1.614, allocations: 12.03 kB / 0.5869 GB, free: 8.141 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07195/1.686, allocations: 7.744 MB / 0.5945 GB, free: 384 kB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05048/1.737, allocations: 10.94 MB / 0.6052 GB, free: 5.352 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006205/1.738, allocations: 247.9 kB / 0.6054 GB, free: 5.109 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004303/1.742, allocations: 455.8 kB / 0.6058 GB, free: 4.664 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0335/1.775, allocations: 10.04 MB / 0.6156 GB, free: 10.62 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4727/2.248, allocations: 15.13 MB / 0.6304 GB, free: 63.07 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007689/2.249, allocations: 109.3 kB / 0.6305 GB, free: 63.07 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003578/2.253, allocations: 46.47 kB / 0.6306 GB, free: 63.07 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005152/2.258, allocations: 1.594 MB / 0.6321 GB, free: 63.05 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1339/2.392, allocations: 77.61 MB / 0.7079 GB, free: 18.09 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009487/2.401, allocations: 4.348 MB / 0.7122 GB, free: 17.42 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007234/2.409, allocations: 3.058 MB / 0.7151 GB, free: 16.19 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003738/2.409, allocations: 40.41 kB / 0.7152 GB, free: 16.18 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.156e-05/2.409, allocations: 69.53 kB / 0.7153 GB, free: 16.12 MB / 458.7 MB Notification: Performance of pre-optimization done (n=265): time 7.764e-06/2.409, allocations: 0 / 0.7153 GB, free: 16.12 MB / 458.7 MB Notification: Performance of matching and sorting (n=293): time 0.09611/2.505, allocations: 21.58 MB / 0.7363 GB, free: 8.004 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001081/2.505, allocations: 241 kB / 0.7366 GB, free: 7.75 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01345/2.519, allocations: 5.145 MB / 0.7416 GB, free: 5.875 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009249/2.52, allocations: 29.3 kB / 0.7416 GB, free: 5.844 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004979/2.525, allocations: 5.299 MB / 0.7468 GB, free: 1.762 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002252/2.527, allocations: 1.176 MB / 0.7479 GB, free: 0.9023 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001504/2.529, allocations: 0 / 0.7479 GB, free: 0.9023 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0009163/2.53, allocations: 0.7274 MB / 0.7486 GB, free: 428 kB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01464/2.544, allocations: 3.919 MB / 0.7525 GB, free: 0 / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01715/2.561, allocations: 9.578 MB / 0.7618 GB, free: 6.688 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01555/2.577, allocations: 5.801 MB / 0.7675 GB, free: 4.496 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002427/2.577, allocations: 63.12 kB / 0.7676 GB, free: 4.496 MB / 474.7 MB Notification: Performance of matching and sorting (n=1301) (initialization): time 0.07452/2.652, allocations: 15.32 MB / 0.7825 GB, free: 11.87 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000196/2.652, allocations: 96 kB / 0.7826 GB, free: 11.78 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03988/2.692, allocations: 7.48 MB / 0.7899 GB, free: 5.922 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03513/2.727, allocations: 3.858 MB / 0.7937 GB, free: 3.348 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01789/2.745, allocations: 2.352 MB / 0.796 GB, free: 1.324 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03003/2.775, allocations: 13.12 MB / 0.8088 GB, free: 5.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01613/2.791, allocations: 0.6855 MB / 0.8095 GB, free: 4.609 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002952/2.794, allocations: 0.6048 MB / 0.8101 GB, free: 4.027 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 957 * 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 (1225): * Single equations (assignments): 1200 * 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.004318/2.799, allocations: 0.6394 MB / 0.8107 GB, free: 3.387 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.4476/3.246, allocations: 7.829 MB / 0.8183 GB, free: 106.4 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002395/3.249, allocations: 0.5516 MB / 0.8189 GB, free: 106.4 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03037/3.279, allocations: 7.315 MB / 0.826 GB, free: 106.2 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02511/3.304, allocations: 6.557 MB / 0.8324 GB, free: 105.9 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.902e-05/3.305, allocations: 7.125 kB / 0.8324 GB, free: 105.9 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001084/3.305, allocations: 16.5 kB / 0.8324 GB, free: 105.9 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03437/3.339, allocations: 11 MB / 0.8432 GB, free: 105.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.939e-05/3.339, allocations: 7.578 kB / 0.8432 GB, free: 105.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007114/3.346, allocations: 0.6053 MB / 0.8438 GB, free: 105.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01879/3.365, allocations: 3.072 MB / 0.8468 GB, free: 105.2 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00102/3.366, allocations: 57.58 kB / 0.8468 GB, free: 105.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02393/3.39, allocations: 13.75 MB / 0.8603 GB, free: 97.86 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004674/3.395, allocations: 5.787 MB / 0.8659 GB, free: 92.67 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03475/3.43, allocations: 11.52 MB / 0.8772 GB, free: 91.87 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002279/3.432, allocations: 0.5969 MB / 0.8777 GB, free: 91.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002843/3.435, allocations: 32.48 kB / 0.8778 GB, free: 91.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007865/3.443, allocations: 334.5 kB / 0.8781 GB, free: 91.77 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001456/3.444, allocations: 220.6 kB / 0.8783 GB, free: 91.77 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004443/3.445, allocations: 86.23 kB / 0.8784 GB, free: 91.77 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.009715/3.454, allocations: 3.456 MB / 0.8818 GB, free: 91.22 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9.82e-07/3.454, allocations: 0 / 0.8818 GB, free: 91.22 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01445/3.469, allocations: 1.881 MB / 0.8836 GB, free: 91.22 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 54 ($STATESET139677278597515.x[3],$STATESET139677278597515.x[2],$STATESET139677278597515.x[1],$STATESET139677278597514.x[3],$STATESET139677278597514.x[2],$STATESET139677278597514.x[1],$STATESET139677278597513.x[3],$STATESET139677278597513.x[2],$STATESET139677278597513.x[1],$STATESET139677278597512.x[3],$STATESET139677278597512.x[2],$STATESET139677278597512.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 (239): * Single equations (assignments): 222 * 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.03764/3.507, allocations: 12.34 MB / 0.8956 GB, free: 86.39 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.03954/3.546, allocations: 10.7 MB / 0.9061 GB, free: 82.36 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.069e-05/3.546, allocations: 2.719 kB / 0.9061 GB, free: 82.36 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.02514/3.571, allocations: 5.223 MB / 0.9112 GB, free: 79.02 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01025/3.582, allocations: 0.6933 MB / 0.9119 GB, free: 78.45 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0704/3.652, allocations: 18.67 MB / 0.9301 GB, free: 62.88 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01416/3.666, allocations: 5.408 MB / 0.9354 GB, free: 58.93 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01704/3.684, allocations: 2.989 MB / 0.9383 GB, free: 57.04 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009694/3.693, allocations: 3.583 MB / 0.9418 GB, free: 53.73 MB / 0.4948 GB Notification: Performance of SimCode: time 3.016e-06/3.693, allocations: 0 / 0.9418 GB, free: 53.73 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7489/4.442, allocations: 139.5 MB / 1.078 GB, free: 101 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003385/4.443, allocations: 137.4 kB / 1.078 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 8.886/13.33, allocations: 0 / 1.078 GB, free: 100.8 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Parts.FreeBodies_res.mat does not exist to compare? outputFormat=mat