Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FlyingBodies.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FlyingBodies,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Parts_FlyingBodies",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01952/0.01953, allocations: 163.8 kB / 15.12 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.784/1.784, allocations: 170.8 MB / 186.7 MB, free: 1.105 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001742/0.001741, allocations: 114.8 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4825/0.4825, allocations: 38.06 MB / 303.7 MB, free: 42.44 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004885/0.0004888, allocations: 12 kB / 363 MB, free: 5.473 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1129, allocations: 48.72 MB / 411.7 MB, free: 4.68 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FlyingBodies): time 0.3676/0.4807, allocations: 61.9 MB / 473.6 MB, free: 13.34 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0373/0.518, allocations: 12.78 MB / 486.4 MB, free: 4.656 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01541/0.5335, allocations: 295.2 kB / 486.7 MB, free: 4.609 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01138/0.5449, allocations: 3.118 MB / 489.8 MB, free: 3.613 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03756/0.5826, allocations: 10.83 MB / 0.4889 GB, free: 14.11 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005355/0.588, allocations: 0.8107 MB / 0.4897 GB, free: 13.62 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.07088/0.6589, allocations: 32.5 MB / 0.5214 GB, free: 2.148 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01306/0.672, allocations: 5.72 MB / 0.527 GB, free: 12.39 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006933/0.679, allocations: 2.627 MB / 0.5296 GB, free: 9.754 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01012/0.6892, allocations: 4.272 MB / 0.5337 GB, free: 5.469 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002227/0.6915, allocations: 312 kB / 0.534 GB, free: 5.164 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005043/0.6966, allocations: 1.096 MB / 0.5351 GB, free: 4.066 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006966/0.7036, allocations: 3.693 MB / 0.5387 GB, free: 372 kB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003526/0.7071, allocations: 1.734 MB / 0.5404 GB, free: 14.61 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0196/0.7268, allocations: 11.39 MB / 0.5515 GB, free: 3.191 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.536e-06/0.7269, allocations: 0 / 0.5515 GB, free: 3.191 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.87e-06/0.7269, allocations: 11.92 kB / 0.5515 GB, free: 3.18 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0005573/0.7274, allocations: 0 / 0.5515 GB, free: 3.18 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: 3302 * Number of variables: 3302 Notification: Performance of Generate backend data structure: time 0.03172/0.7592, allocations: 8.439 MB / 0.5598 GB, free: 10.65 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.372e-05/0.7593, allocations: 8.031 kB / 0.5598 GB, free: 10.64 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005702/0.765, allocations: 1.514 MB / 0.5613 GB, free: 9.113 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2271/0.9921, allocations: 14.1 MB / 0.575 GB, free: 10.98 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0249/1.017, allocations: 7.471 MB / 0.5823 GB, free: 3.426 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006764/1.018, allocations: 434.5 kB / 0.5827 GB, free: 3.004 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006009/1.024, allocations: 0.8972 MB / 0.5836 GB, free: 2.105 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6041/1.628, allocations: 22.85 MB / 0.6059 GB, free: 113.8 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003859/1.628, allocations: 70.17 kB / 0.606 GB, free: 113.8 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002503/1.631, allocations: 271.5 kB / 0.6063 GB, free: 113.7 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0134/1.644, allocations: 5.193 MB / 0.6113 GB, free: 112.7 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06276/1.707, allocations: 21.68 MB / 0.6325 GB, free: 106.3 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1654/1.873, allocations: 80.68 MB / 0.7113 GB, free: 26.3 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02995/1.903, allocations: 9.854 MB / 0.7209 GB, free: 16.14 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0144/1.917, allocations: 6.472 MB / 0.7272 GB, free: 9.664 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009257/1.918, allocations: 79.23 kB / 0.7273 GB, free: 9.602 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.475e-05/1.918, allocations: 86.56 kB / 0.7274 GB, free: 9.508 MB / 426.8 MB Notification: Performance of pre-optimization done (n=585): time 1.161e-05/1.918, allocations: 0 / 0.7274 GB, free: 9.508 MB / 426.8 MB Notification: Performance of matching and sorting (n=613): time 0.4474/2.366, allocations: 42.47 MB / 0.7689 GB, free: 116.2 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004869/2.37, allocations: 6.142 MB / 0.7749 GB, free: 110.1 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01468/2.385, allocations: 6.467 MB / 0.7812 GB, free: 107.9 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001608/2.387, allocations: 108.9 kB / 0.7813 GB, free: 107.8 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.005194/2.392, allocations: 5.847 MB / 0.787 GB, free: 103.3 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.003778/2.396, allocations: 2.253 MB / 0.7892 GB, free: 101.6 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002754/2.399, allocations: 243.6 kB / 0.7894 GB, free: 101.4 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.001229/2.4, allocations: 0.8457 MB / 0.7903 GB, free: 100.9 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01667/2.417, allocations: 6.42 MB / 0.7965 GB, free: 98.82 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02265/2.439, allocations: 12.63 MB / 0.8089 GB, free: 88.56 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02188/2.461, allocations: 9.026 MB / 0.8177 GB, free: 85.14 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003967/2.462, allocations: 65.48 kB / 0.8177 GB, free: 85.14 MB / 442.8 MB Notification: Performance of matching and sorting (n=1641) (initialization): time 0.06638/2.528, allocations: 21.61 MB / 0.8388 GB, free: 76.51 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002191/2.528, allocations: 96 kB / 0.8389 GB, free: 76.42 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04235/2.571, allocations: 13.27 MB / 0.8519 GB, free: 65.28 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02131/2.592, allocations: 3.3 MB / 0.8551 GB, free: 62.06 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0206/2.613, allocations: 3.037 MB / 0.8581 GB, free: 59.02 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01084/2.624, allocations: 10.44 MB / 0.8683 GB, free: 47.8 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01607/2.64, allocations: 1.077 MB / 0.8693 GB, free: 46.73 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002781/2.643, allocations: 0.6702 MB / 0.87 GB, free: 46.06 MB / 442.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 968 * Number of states: 0 () * Number of discrete variables: 45 (fixedFrame3.color_x[3],fixedFrame3.color_x[2],fixedFrame3.color_x[1],fixedFrame2.color_x[3],fixedFrame2.color_x[2],fixedFrame2.color_x[1],fixedFrame1.color_x[3],fixedFrame1.color_x[2],fixedFrame1.color_x[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1505): * Single equations (assignments): 1471 * Array equations: 20 * 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 {1,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: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01275/2.655, allocations: 4.493 MB / 0.8744 GB, free: 41.56 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002272/2.658, allocations: 0.6517 MB / 0.875 GB, free: 40.9 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04859/2.706, allocations: 14.87 MB / 0.8895 GB, free: 25.97 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04318/2.75, allocations: 13.31 MB / 0.9025 GB, free: 12.61 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.22e-05/2.75, allocations: 8 kB / 0.9025 GB, free: 12.6 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000155/2.75, allocations: 23.91 kB / 0.9025 GB, free: 12.58 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4073/3.157, allocations: 33.65 MB / 0.9354 GB, free: 100.9 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.691e-05/3.157, allocations: 8.938 kB / 0.9354 GB, free: 100.9 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01125/3.169, allocations: 1.179 MB / 0.9366 GB, free: 100.9 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02455/3.193, allocations: 3.694 MB / 0.9402 GB, free: 100.3 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001709/3.195, allocations: 156.5 kB / 0.9403 GB, free: 100.2 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0222/3.217, allocations: 13.65 MB / 0.9536 GB, free: 90.87 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00467/3.222, allocations: 5.897 MB / 0.9594 GB, free: 85.12 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06368/3.286, allocations: 22.37 MB / 0.9813 GB, free: 77.25 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007286/3.293, allocations: 1.755 MB / 0.983 GB, free: 76.76 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002941/3.296, allocations: 127.5 kB / 0.9831 GB, free: 76.69 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009089/3.305, allocations: 0.606 MB / 0.9837 GB, free: 76.62 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002171/3.307, allocations: 381 kB / 0.984 GB, free: 76.56 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00104/3.308, allocations: 153 kB / 0.9842 GB, free: 76.53 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.009919/3.318, allocations: 4.012 MB / 0.9881 GB, free: 75.23 MB / 442.8 MB Notification: Performance of sort global known variables: time 9.22e-07/3.318, allocations: 0 / 0.9881 GB, free: 75.23 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.01551/3.334, allocations: 2.522 MB / 0.9906 GB, free: 73.95 MB / 442.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * Number of states: 48 ($STATESET4.x[3],$STATESET4.x[2],$STATESET4.x[1],bodyCylinder.v_0[1],bodyCylinder.v_0[2],bodyCylinder.v_0[3],bodyCylinder.body.frame_a.r_0[1],bodyCylinder.body.frame_a.r_0[2],bodyCylinder.body.frame_a.r_0[3],bodyCylinder.body.w_a[1],bodyCylinder.body.w_a[2],bodyCylinder.body.w_a[3],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],BodyBox1.v_0[1],BodyBox1.v_0[2],BodyBox1.v_0[3],BodyBox1.body.frame_a.r_0[1],BodyBox1.body.frame_a.r_0[2],BodyBox1.body.frame_a.r_0[3],BodyBox1.body.w_a[1],BodyBox1.body.w_a[2],BodyBox1.body.w_a[3],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],bodyShape.v_0[1],bodyShape.v_0[2],bodyShape.v_0[3],bodyShape.body.frame_a.r_0[1],bodyShape.body.frame_a.r_0[2],bodyShape.body.frame_a.r_0[3],bodyShape.body.w_a[1],bodyShape.body.w_a[2],bodyShape.body.w_a[3],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.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 (477): * Single equations (assignments): 451 * Array equations: 12 * 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 Backend phase and start with SimCode phase: time 0.06273/3.397, allocations: 23.15 MB / 1.013 GB, free: 52.37 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.03783/3.435, allocations: 16.49 MB / 1.029 GB, free: 35.75 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.369e-05/3.435, allocations: 4.875 kB / 1.029 GB, free: 35.75 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.02112/3.456, allocations: 8.263 MB / 1.037 GB, free: 27.23 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01155/3.467, allocations: 0.9614 MB / 1.038 GB, free: 26.3 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5748/4.042, allocations: 92.07 MB / 1.128 GB, free: 127.3 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01597/4.058, allocations: 6.813 MB / 1.135 GB, free: 125.3 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.02082/4.079, allocations: 4.819 MB / 1.14 GB, free: 125.2 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01184/4.091, allocations: 4.339 MB / 1.144 GB, free: 121.6 MB / 474.8 MB Notification: Performance of SimCode: time 1.874e-06/4.091, allocations: 0 / 1.144 GB, free: 121.6 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7498/4.841, allocations: 172.3 MB / 1.312 GB, free: 119.2 MB / 474.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002837/4.841, allocations: 209.6 kB / 1.312 GB, free: 119 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.457/14.3, allocations: 0 / 1.312 GB, free: 119 MB / 474.8 MB