Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01421/0.01421, allocations: 175.9 kB / 15.12 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.988/1.988, allocations: 194.5 MB / 210.3 MB, free: 7.605 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002039/0.002039, allocations: 128.5 kB / 255.6 MB, free: 10.23 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2571/0.2571, allocations: 40.01 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004873/0.0004874, allocations: 17.97 kB / 406.3 MB, free: 51.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09591/0.09644, allocations: 54.87 MB / 461.1 MB, free: 3.203 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5047/0.6012, allocations: 102.6 MB / 0.5505 GB, free: 21.34 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002676/0.6015, allocations: 88.31 kB / 0.5506 GB, free: 21.34 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6313/1.233, allocations: 147.5 MB / 0.6947 GB, free: 11.25 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.565e-06/1.233, allocations: 0 / 0.6947 GB, free: 11.25 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0007403/1.234, allocations: 144 kB / 0.6948 GB, free: 11.11 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2273 * Number of variables: 2273 Notification: Performance of Generate backend data structure: time 0.07641/1.31, allocations: 9.485 MB / 0.7041 GB, free: 1.535 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.448e-05/1.31, allocations: 12.03 kB / 0.7041 GB, free: 1.523 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007366/1.318, allocations: 1.157 MB / 0.7052 GB, free: 364 kB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4992/1.817, allocations: 16.66 MB / 0.7215 GB, free: 79.33 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05336/1.87, allocations: 13.36 MB / 0.7345 GB, free: 79.06 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009687/1.871, allocations: 496.2 kB / 0.735 GB, free: 79.05 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004284/1.876, allocations: 0.6659 MB / 0.7356 GB, free: 79.05 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05436/1.93, allocations: 16.89 MB / 0.7521 GB, free: 74.98 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004918/1.931, allocations: 106 kB / 0.7522 GB, free: 74.98 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002467/1.933, allocations: 318.6 kB / 0.7525 GB, free: 74.98 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003333/1.936, allocations: 1.473 MB / 0.754 GB, free: 74.95 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04606/1.982, allocations: 13.66 MB / 0.7673 GB, free: 74.89 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1206/2.103, allocations: 76.75 MB / 0.8423 GB, free: 39.33 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04549/2.149, allocations: 8.59 MB / 0.8507 GB, free: 36.9 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002686/2.151, allocations: 1.346 MB / 0.852 GB, free: 35.72 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.314e-05/2.151, allocations: 65.89 kB / 0.852 GB, free: 35.67 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=268): time 6.673e-06/2.151, allocations: 0 / 0.852 GB, free: 35.67 MB / 0.4948 GB Notification: Performance of matching and sorting (n=352): time 0.2874/2.439, allocations: 51.51 MB / 0.9023 GB, free: 0.8516 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.3883/2.827, allocations: 3.252 MB / 0.9055 GB, free: 90.26 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02074/2.848, allocations: 6.554 MB / 0.9119 GB, free: 89.91 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.001271/2.849, allocations: 76.33 kB / 0.912 GB, free: 89.88 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.006873/2.856, allocations: 5.206 MB / 0.9171 GB, free: 88.74 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002851/2.859, allocations: 1.333 MB / 0.9184 GB, free: 87.97 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002031/2.861, allocations: 188.1 kB / 0.9186 GB, free: 87.97 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0009666/2.862, allocations: 0.7117 MB / 0.9192 GB, free: 87.64 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01354/2.876, allocations: 4.552 MB / 0.9237 GB, free: 87.62 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01609/2.892, allocations: 9.83 MB / 0.9333 GB, free: 80.88 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01474/2.907, allocations: 6.531 MB / 0.9397 GB, free: 80.83 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002134/2.907, allocations: 53.84 kB / 0.9397 GB, free: 80.83 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1235) (initialization): time 0.1258/3.033, allocations: 31.56 MB / 0.9705 GB, free: 79.88 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001718/3.033, allocations: 86.44 kB / 0.9706 GB, free: 79.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.09668/3.13, allocations: 20.64 MB / 0.9908 GB, free: 77.81 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08826/3.218, allocations: 16.61 MB / 1.007 GB, free: 76.98 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01465/3.233, allocations: 2.113 MB / 1.009 GB, free: 76.74 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08543/3.318, allocations: 35.36 MB / 1.044 GB, free: 45.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01501/3.333, allocations: 0.7715 MB / 1.044 GB, free: 44.39 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00281/3.336, allocations: 0.5646 MB / 1.045 GB, free: 43.83 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 842 * Number of states: 0 () * Number of discrete variables: 60 (rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],bodyCylinder4.color[3],bodyCylinder4.color[2],bodyCylinder4.color[1],bodyCylinder4.body.sphereColor[3],bodyCylinder4.body.sphereColor[2],bodyCylinder4.body.sphereColor[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedRotation2.color[3],fixedRotation2.color[2],fixedRotation2.color[1],bodyCylinder3.color[3],bodyCylinder3.color[2],bodyCylinder3.color[1],bodyCylinder3.body.sphereColor[3],bodyCylinder3.body.sphereColor[2],bodyCylinder3.body.sphereColor[1],spherical2.sphereColor[3],spherical2.sphereColor[2],spherical2.sphereColor[1],fixed.color[3],fixed.color[2],fixed.color[1],bodyCylinder2.color[3],bodyCylinder2.color[2],bodyCylinder2.color[1],bodyCylinder2.body.sphereColor[3],bodyCylinder2.body.sphereColor[2],bodyCylinder2.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],bodyCylinder1.color[3],bodyCylinder1.color[2],bodyCylinder1.color[1],bodyCylinder1.body.sphereColor[3],bodyCylinder1.body.sphereColor[2],bodyCylinder1.body.sphereColor[1],spherical1.sphereColor[3],spherical1.sphereColor[2],spherical1.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 (1089): * Single equations (assignments): 1076 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 38,(4,100.0%) 41} * Non-linear torn systems: 2 {4 9,4 9} Notification: Performance of prepare postOptimizeDAE: time 0.01115/3.347, allocations: 3.428 MB / 1.048 GB, free: 40.4 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002719/3.35, allocations: 0.671 MB / 1.049 GB, free: 39.72 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03739/3.388, allocations: 10.14 MB / 1.059 GB, free: 29.52 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03126/3.419, allocations: 8.826 MB / 1.067 GB, free: 20.63 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.342e-05/3.419, allocations: 16 kB / 1.067 GB, free: 20.62 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001368/3.419, allocations: 15.94 kB / 1.067 GB, free: 20.6 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4804/3.9, allocations: 23.43 MB / 1.09 GB, free: 75.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.127e-05/3.9, allocations: 2.375 kB / 1.09 GB, free: 75.95 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006738/3.907, allocations: 0.5708 MB / 1.091 GB, free: 75.95 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0239/3.931, allocations: 3.633 MB / 1.094 GB, free: 75.89 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00132/3.932, allocations: 92.84 kB / 1.095 GB, free: 75.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05036/3.982, allocations: 22.74 MB / 1.117 GB, free: 69.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00276/3.985, allocations: 3.023 MB / 1.12 GB, free: 66.66 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04647/4.032, allocations: 15.57 MB / 1.135 GB, free: 65.43 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006133/4.038, allocations: 1.376 MB / 1.136 GB, free: 65.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003331/4.041, allocations: 80.27 kB / 1.136 GB, free: 65.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008657/4.05, allocations: 358.5 kB / 1.137 GB, free: 65.33 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002047/4.052, allocations: 252.2 kB / 1.137 GB, free: 65.33 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001171/4.053, allocations: 100.3 kB / 1.137 GB, free: 65.32 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.01417/4.067, allocations: 4.703 MB / 1.142 GB, free: 65.11 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.02e-07/4.068, allocations: 0 / 1.142 GB, free: 65.11 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01499/4.083, allocations: 2.116 MB / 1.144 GB, free: 65.11 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 16 ($STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],bodyCylinder1.body.w_a[1],bodyCylinder1.body.w_a[2],bodyCylinder1.body.w_a[3],revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,rotor1D.rotorWith3DEffects.w_a[1],rotor1D.rotorWith3DEffects.w_a[2],rotor1D.rotorWith3DEffects.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 (246): * Single equations (assignments): 236 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 2 {4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,100.0%) 34,(3,100.0%) 33,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.04877/4.131, allocations: 16.64 MB / 1.16 GB, free: 60.04 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.03016/4.162, allocations: 11.96 MB / 1.172 GB, free: 55.84 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.278e-05/4.162, allocations: 3.875 kB / 1.172 GB, free: 55.84 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0136/4.175, allocations: 5.092 MB / 1.177 GB, free: 53.43 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009318/4.185, allocations: 0.9498 MB / 1.177 GB, free: 53.05 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7302/4.915, allocations: 219.2 MB / 1.392 GB, free: 43.58 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01419/4.929, allocations: 5.5 MB / 1.397 GB, free: 42.7 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01548/4.945, allocations: 3.169 MB / 1.4 GB, free: 42.64 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009533/4.954, allocations: 3.683 MB / 1.404 GB, free: 42.63 MB / 0.5417 GB Notification: Performance of SimCode: time 1.152e-06/4.954, allocations: 0 / 1.404 GB, free: 42.63 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7341/5.688, allocations: 176.9 MB / 1.576 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002552/5.689, allocations: 208.2 kB / 1.576 GB, free: 103.5 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.135/14.82, allocations: 0 / 1.576 GB, free: 103.5 MB / 0.5417 GB