Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FreeBodies,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Parts_FreeBodies",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.083/2.083, allocations: 209.4 MB / 216.9 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.967e-05/1.978e-05, allocations: 3.984 kB / 267.6 MB, free: 5.32 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09965/0.0997, allocations: 48.69 MB / 316.3 MB, free: 4.527 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4321/0.5318, allocations: 92.16 MB / 408.5 MB, free: 480 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002729/0.5322, allocations: 75.14 kB / 408.5 MB, free: 440 kB / 330.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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/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/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/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/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/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/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/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/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.905/1.437, allocations: 138.9 MB / 0.5346 GB, free: 80.35 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.254e-06/1.437, allocations: 0 / 0.5346 GB, free: 80.35 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005877/1.438, allocations: 158.8 kB / 0.5347 GB, free: 80.34 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.06292/1.501, allocations: 8.669 MB / 0.5432 GB, free: 77.05 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.713e-05/1.501, allocations: 15.06 kB / 0.5432 GB, free: 77.05 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05802/1.559, allocations: 7.696 MB / 0.5507 GB, free: 74.35 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03881/1.598, allocations: 10.9 MB / 0.5614 GB, free: 67.3 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004393/1.598, allocations: 244 kB / 0.5616 GB, free: 67.07 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003647/1.602, allocations: 455.7 kB / 0.5621 GB, free: 66.62 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02654/1.629, allocations: 10.05 MB / 0.5719 GB, free: 56.58 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03991/1.669, allocations: 15.14 MB / 0.5866 GB, free: 39.94 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006332/1.669, allocations: 103.1 kB / 0.5867 GB, free: 39.84 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003469/1.673, allocations: 44 kB / 0.5868 GB, free: 39.8 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003906/1.677, allocations: 1.601 MB / 0.5884 GB, free: 38.2 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4706/2.147, allocations: 77.59 MB / 0.6641 GB, free: 45.64 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009956/2.157, allocations: 4.348 MB / 0.6684 GB, free: 44.98 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006899/2.164, allocations: 3.05 MB / 0.6713 GB, free: 44.94 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003808/2.165, allocations: 43.62 kB / 0.6714 GB, free: 44.94 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.684e-05/2.165, allocations: 67.16 kB / 0.6715 GB, free: 44.9 MB / 426.7 MB Notification: Performance of pre-optimization done (n=265): time 8.096e-06/2.165, allocations: 1.875 kB / 0.6715 GB, free: 44.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=293): time 0.0897/2.254, allocations: 21.59 MB / 0.6925 GB, free: 40.38 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/2.255, allocations: 237 kB / 0.6928 GB, free: 40.12 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01385/2.269, allocations: 5.15 MB / 0.6978 GB, free: 38.27 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009711/2.27, allocations: 31.33 kB / 0.6978 GB, free: 38.24 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00487/2.274, allocations: 5.121 MB / 0.7028 GB, free: 34.22 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002326/2.277, allocations: 1.173 MB / 0.704 GB, free: 33.36 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00158/2.278, allocations: 0 / 0.704 GB, free: 33.36 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0009511/2.279, allocations: 0.7372 MB / 0.7047 GB, free: 32.87 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009134/2.289, allocations: 3.669 MB / 0.7083 GB, free: 31.55 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01362/2.302, allocations: 9.538 MB / 0.7176 GB, free: 22.31 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01438/2.317, allocations: 5.778 MB / 0.7232 GB, free: 20.52 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002659/2.317, allocations: 61.25 kB / 0.7233 GB, free: 20.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=1301) (initialization): time 0.04862/2.366, allocations: 13.82 MB / 0.7368 GB, free: 15.29 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002935/2.366, allocations: 96 kB / 0.7369 GB, free: 15.19 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03153/2.398, allocations: 6.56 MB / 0.7433 GB, free: 9.848 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02153/2.419, allocations: 2.784 MB / 0.746 GB, free: 7.848 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02113/2.44, allocations: 2.405 MB / 0.7484 GB, free: 5.781 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02233/2.463, allocations: 10.88 MB / 0.759 GB, free: 11.12 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01525/2.478, allocations: 0.6821 MB / 0.7596 GB, free: 10.66 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003068/2.481, allocations: 0.6007 MB / 0.7602 GB, free: 10.08 MB / 442.7 MB 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 (1234): * Single equations (assignments): 1209 * 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.004609/2.486, allocations: 0.6456 MB / 0.7609 GB, free: 9.434 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.03057/2.516, allocations: 7.448 MB / 0.7681 GB, free: 3.395 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002565/2.519, allocations: 0.5553 MB / 0.7687 GB, free: 2.836 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03702/2.556, allocations: 7.778 MB / 0.7763 GB, free: 14.29 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02559/2.582, allocations: 6.553 MB / 0.7827 GB, free: 8.652 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.229e-05/2.582, allocations: 8 kB / 0.7827 GB, free: 8.645 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001366/2.582, allocations: 15.89 kB / 0.7827 GB, free: 8.629 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0395/2.621, allocations: 11 MB / 0.7934 GB, free: 13.61 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.854e-05/2.622, allocations: 0 / 0.7934 GB, free: 13.61 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006704/2.628, allocations: 0.6123 MB / 0.794 GB, free: 13 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02095/2.649, allocations: 3.07 MB / 0.797 GB, free: 9.891 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001203/2.651, allocations: 59.91 kB / 0.7971 GB, free: 9.832 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03506/2.686, allocations: 13.76 MB / 0.8105 GB, free: 11.41 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.007805/2.693, allocations: 5.772 MB / 0.8162 GB, free: 5.156 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.388/3.082, allocations: 11.51 MB / 0.8274 GB, free: 134.6 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004919/3.087, allocations: 1.093 MB / 0.8285 GB, free: 134.5 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002855/3.089, allocations: 34.52 kB / 0.8285 GB, free: 134.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007647/3.097, allocations: 334.8 kB / 0.8288 GB, free: 134.5 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001607/3.099, allocations: 221.1 kB / 0.829 GB, free: 134.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007669/3.1, allocations: 87.8 kB / 0.8291 GB, free: 134.5 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.01104/3.111, allocations: 3.448 MB / 0.8325 GB, free: 134.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.01e-07/3.111, allocations: 3.625 kB / 0.8325 GB, free: 134.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01543/3.126, allocations: 1.859 MB / 0.8343 GB, free: 134.2 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 54 ($STATESET140553515090315.x[3],$STATESET140553515090315.x[2],$STATESET140553515090315.x[1],$STATESET140553515090314.x[3],$STATESET140553515090314.x[2],$STATESET140553515090314.x[1],$STATESET140553515090313.x[3],$STATESET140553515090313.x[2],$STATESET140553515090313.x[1],$STATESET140553515090312.x[3],$STATESET140553515090312.x[2],$STATESET140553515090312.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.0341/3.16, allocations: 12.33 MB / 0.8464 GB, free: 132.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02676/3.187, allocations: 10.32 MB / 0.8564 GB, free: 131 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.815e-06/3.187, allocations: 0 / 0.8564 GB, free: 131 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01616/3.203, allocations: 5.244 MB / 0.8616 GB, free: 128.4 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007612/3.211, allocations: 0.7 MB / 0.8622 GB, free: 128.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1088/3.32, allocations: 19.49 MB / 0.8813 GB, free: 120.7 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02033/3.34, allocations: 5.404 MB / 0.8866 GB, free: 118.9 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01002/3.35, allocations: 3.648 MB / 0.8901 GB, free: 116 MB / 490.7 MB Notification: Performance of SimCode: time 1.683e-06/3.351, allocations: 0 / 0.8901 GB, free: 116 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 7.902/11.25, allocations: 0.541 GB / 1.431 GB, free: 82.66 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Parts.FreeBodies_res.mat does not exist to compare? outputFormat=mat