Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.InitializationConversion.Bodies.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.InitializationConversion.Bodies,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_InitializationConversion_Bodies",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.407/2.407, allocations: 234.9 MB / 250.5 MB, free: 9.559 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004436/0.0004436, allocations: 19.98 kB / 314.4 MB, free: 9.516 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.375/0.3755, allocations: 54.85 MB / 369.3 MB, free: 12.66 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.InitializationConversion.Bodies): time 0.06522/0.4408, allocations: 41.66 MB / 410.9 MB, free: 2.891 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.03165/0.4725, allocations: 10.22 MB / 421.1 MB, free: 8.633 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009036/0.4816, allocations: 215.4 kB / 421.4 MB, free: 8.422 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008023/0.4897, allocations: 2.092 MB / 423.4 MB, free: 6.32 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02504/0.5148, allocations: 6.226 MB / 429.7 MB, free: 80 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004363/0.5192, allocations: 0.7801 MB / 430.5 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.05429/0.5735, allocations: 18.18 MB / 448.6 MB, free: 13.09 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007391/0.581, allocations: 3.521 MB / 452.2 MB, free: 9.5 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003498/0.5845, allocations: 1.386 MB / 453.5 MB, free: 8.109 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004392/0.589, allocations: 1.92 MB / 455.5 MB, free: 6.184 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001122/0.5902, allocations: 164 kB / 455.6 MB, free: 6.023 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003776/0.594, allocations: 1.252 MB / 456.9 MB, free: 4.77 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003337/0.5973, allocations: 2.022 MB / 458.9 MB, free: 2.742 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001987/0.5994, allocations: 0.9518 MB / 459.8 MB, free: 1.781 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01132/0.6107, allocations: 6.473 MB / 466.3 MB, free: 11.29 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.6108, allocations: 4 kB / 466.3 MB, free: 11.29 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.198e-06/0.6108, allocations: 0 / 466.3 MB, free: 11.29 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002917/0.6111, allocations: 0 / 466.3 MB, free: 11.29 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1495 * Number of variables: 1495 Notification: Performance of Generate backend data structure: time 0.02499/0.6361, allocations: 5.439 MB / 471.8 MB, free: 5.773 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.993e-05/0.6362, allocations: 8.031 kB / 471.8 MB, free: 5.766 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002679/0.6389, allocations: 0.7073 MB / 472.5 MB, free: 5.047 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2238/0.8627, allocations: 11.73 MB / 484.2 MB, free: 9.297 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01812/0.8809, allocations: 5.893 MB / 490.1 MB, free: 3.324 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004244/0.8814, allocations: 225.8 kB / 490.3 MB, free: 3.102 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004356/0.8857, allocations: 0.6552 MB / 491 MB, free: 2.445 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03029/0.9161, allocations: 10.62 MB / 0.4898 GB, free: 7.039 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002698/0.9164, allocations: 63.44 kB / 0.4899 GB, free: 6.977 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009522/0.9174, allocations: 147.9 kB / 0.49 GB, free: 6.832 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0056/0.923, allocations: 1.928 MB / 0.4919 GB, free: 4.906 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3857/1.309, allocations: 9.664 MB / 0.5014 GB, free: 118.5 MB / 426.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0912/1.4, allocations: 44.26 MB / 0.5446 GB, free: 79.93 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01388/1.414, allocations: 4.05 MB / 0.5485 GB, free: 75.71 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002878/1.414, allocations: 24.41 kB / 0.5486 GB, free: 75.69 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.379e-05/1.414, allocations: 60.73 kB / 0.5486 GB, free: 75.62 MB / 426.7 MB Notification: Performance of pre-optimization done (n=190): time 5.581e-06/1.414, allocations: 2.438 kB / 0.5486 GB, free: 75.62 MB / 426.7 MB Notification: Performance of matching and sorting (n=218): time 0.08586/1.5, allocations: 23.41 MB / 0.5715 GB, free: 51.63 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004883/1.505, allocations: 6.242 MB / 0.5776 GB, free: 44.74 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01193/1.517, allocations: 6.081 MB / 0.5835 GB, free: 38.67 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007729/1.518, allocations: 55.58 kB / 0.5836 GB, free: 38.61 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002913/1.521, allocations: 3.292 MB / 0.5868 GB, free: 35.33 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001636/1.523, allocations: 0.9165 MB / 0.5877 GB, free: 34.42 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007611/1.523, allocations: 143.9 kB / 0.5878 GB, free: 34.28 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003835/1.524, allocations: 0.6126 MB / 0.5884 GB, free: 33.66 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00787/1.532, allocations: 3.285 MB / 0.5916 GB, free: 30.37 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01065/1.542, allocations: 7.554 MB / 0.599 GB, free: 20.7 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0107/1.553, allocations: 4.806 MB / 0.6037 GB, free: 15.9 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001373/1.553, allocations: 44 kB / 0.6037 GB, free: 15.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=939) (initialization): time 0.08959/1.643, allocations: 16.9 MB / 0.6202 GB, free: 14.9 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001457/1.643, allocations: 72 kB / 0.6203 GB, free: 14.83 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.08424/1.727, allocations: 10.37 MB / 0.6304 GB, free: 4.402 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.09595/1.823, allocations: 7.967 MB / 0.6382 GB, free: 12.38 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01062/1.834, allocations: 1.712 MB / 0.6399 GB, free: 10.66 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05796/1.892, allocations: 21.36 MB / 0.6608 GB, free: 4.512 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0123/1.904, allocations: 0.7641 MB / 0.6615 GB, free: 3.746 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001923/1.906, allocations: 460 kB / 0.6619 GB, free: 3.297 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 683 * Number of states: 0 () * Number of discrete variables: 36 (body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],body1.frameTranslation.color[3],body1.frameTranslation.color[2],body1.frameTranslation.color[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (863): * Single equations (assignments): 838 * 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 {(3,100.0%),(4,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.007274/1.914, allocations: 2.329 MB / 0.6642 GB, free: 0.957 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001553/1.915, allocations: 454.2 kB / 0.6646 GB, free: 0.5078 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00253/1.918, allocations: 0.6286 MB / 0.6653 GB, free: 15.94 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03052/1.948, allocations: 6.221 MB / 0.6713 GB, free: 9.664 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.144e-05/1.949, allocations: 15.95 kB / 0.6714 GB, free: 9.648 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.597e-05/1.949, allocations: 11.97 kB / 0.6714 GB, free: 9.637 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4002/2.349, allocations: 10.65 MB / 0.6818 GB, free: 162.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.861e-05/2.349, allocations: 3.625 kB / 0.6818 GB, free: 162.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006396/2.355, allocations: 492.5 kB / 0.6822 GB, free: 162.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02489/2.38, allocations: 3.686 MB / 0.6858 GB, free: 162.2 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000808/2.381, allocations: 87.44 kB / 0.6859 GB, free: 162.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02157/2.403, allocations: 13.9 MB / 0.6995 GB, free: 154 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004537/2.407, allocations: 5.921 MB / 0.7053 GB, free: 148.2 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03521/2.443, allocations: 10.61 MB / 0.7156 GB, free: 144.6 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001931/2.445, allocations: 0.5668 MB / 0.7162 GB, free: 144.5 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00202/2.447, allocations: 78.14 kB / 0.7163 GB, free: 144.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006406/2.453, allocations: 340.1 kB / 0.7166 GB, free: 144.4 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008853/2.454, allocations: 188.6 kB / 0.7168 GB, free: 144.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002924/2.454, allocations: 77.8 kB / 0.7168 GB, free: 144.4 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.008275/2.463, allocations: 4.011 MB / 0.7208 GB, free: 142.4 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.021e-06/2.463, allocations: 0 / 0.7208 GB, free: 142.4 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.009872/2.473, allocations: 1.76 MB / 0.7225 GB, free: 140.6 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 54 ($STATESET4.x[3],$STATESET4.x[2],$STATESET4.x[1],body3.v_0[1],body3.v_0[2],body3.v_0[3],body3.body.frame_a.r_0[1],body3.body.frame_a.r_0[2],body3.body.frame_a.r_0[3],body3.body.w_a[1],body3.body.w_a[2],body3.body.w_a[3],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],body2.v_0[1],body2.v_0[2],body2.v_0[3],body2.body.frame_a.r_0[1],body2.body.frame_a.r_0[2],body2.body.frame_a.r_0[3],body2.body.w_a[1],body2.body.w_a[2],body2.body.w_a[3],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.body.frame_a.r_0[1],body1.body.frame_a.r_0[2],body1.body.frame_a.r_0[3],body1.body.w_a[1],body1.body.w_a[2],body1.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],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.frame_a.r_0[1],body.frame_a.r_0[2],body.frame_a.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]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (158): * Single equations (assignments): 141 * 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 {(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,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.03606/2.509, allocations: 11.38 MB / 0.7336 GB, free: 129.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02753/2.536, allocations: 9.57 MB / 0.7429 GB, free: 119.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.039e-05/2.536, allocations: 4 kB / 0.7429 GB, free: 119.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01426/2.551, allocations: 4.77 MB / 0.7476 GB, free: 114.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005774/2.556, allocations: 0.6511 MB / 0.7482 GB, free: 114.1 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1893/2.746, allocations: 61.88 MB / 0.8087 GB, free: 47.75 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006906/2.753, allocations: 3.784 MB / 0.8124 GB, free: 43.94 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005341/2.758, allocations: 2.346 MB / 0.8147 GB, free: 41.59 MB / 490.7 MB Notification: Performance of SimCode: time 1.583e-06/2.758, allocations: 0 / 0.8147 GB, free: 41.59 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 7.056/9.814, allocations: 371.4 MB / 1.177 GB, free: 77.62 MB / 0.5105 GB