Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1.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.Rotor1D.Rotor1D_1,fileNamePrefix="ModelicaTest_3_2_1_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.1+maint.om/package.mo): time 0.01281/0.01281, allocations: 165.6 kB / 15.11 MB, free: 5.934 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.781/1.781, allocations: 170.8 MB / 186.6 MB, free: 1.148 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.002127/0.002126, allocations: 107.4 kB / 226.2 MB, free: 10.11 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.4445/0.4445, allocations: 38.05 MB / 303.7 MB, free: 42.42 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004619/0.0004619, allocations: 12 kB / 363 MB, free: 5.492 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1042, allocations: 48.71 MB / 411.7 MB, free: 4.703 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4353/0.5395, allocations: 95.78 MB / 0.4956 GB, free: 8.23 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003143/0.5398, allocations: 82.64 kB / 0.4957 GB, free: 8.184 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9876/1.527, allocations: 147.5 MB / 0.6397 GB, free: 72.05 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.184e-06/1.527, allocations: 0 / 0.6397 GB, free: 72.05 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0006431/1.528, allocations: 144.3 kB / 0.6398 GB, free: 72.04 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2272 * Number of variables: 2272 Notification: Performance of Generate backend data structure: time 0.06025/1.588, allocations: 9.486 MB / 0.6491 GB, free: 68.74 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/1.588, allocations: 7.906 kB / 0.6491 GB, free: 68.74 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006029/1.595, allocations: 1.154 MB / 0.6502 GB, free: 68.65 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1136/1.708, allocations: 16.67 MB / 0.6665 GB, free: 68.09 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04787/1.756, allocations: 13.36 MB / 0.6795 GB, free: 61.67 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007573/1.757, allocations: 0.49 MB / 0.68 GB, free: 61.48 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003904/1.761, allocations: 0.6619 MB / 0.6807 GB, free: 61.28 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05628/1.817, allocations: 16.89 MB / 0.6972 GB, free: 46.59 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005093/1.818, allocations: 107 kB / 0.6973 GB, free: 46.48 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002895/1.821, allocations: 319.8 kB / 0.6976 GB, free: 46.2 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003386/1.824, allocations: 1.473 MB / 0.699 GB, free: 44.73 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04746/1.872, allocations: 13.66 MB / 0.7123 GB, free: 31.05 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4796/2.351, allocations: 76.75 MB / 0.7873 GB, free: 46.74 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04741/2.399, allocations: 8.584 MB / 0.7957 GB, free: 46.07 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00283/2.402, allocations: 1.346 MB / 0.797 GB, free: 44.95 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.897e-05/2.402, allocations: 71.09 kB / 0.7971 GB, free: 44.91 MB / 458.7 MB Notification: Performance of pre-optimization done (n=268): time 7.173e-06/2.402, allocations: 0 / 0.7971 GB, free: 44.91 MB / 458.7 MB Notification: Performance of matching and sorting (n=352): time 0.297/2.699, allocations: 51.52 MB / 0.8474 GB, free: 36.22 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003598/2.702, allocations: 3.251 MB / 0.8505 GB, free: 33.03 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.019/2.722, allocations: 6.559 MB / 0.8569 GB, free: 30.91 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001342/2.723, allocations: 82 kB / 0.857 GB, free: 30.84 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.007058/2.73, allocations: 5.199 MB / 0.8621 GB, free: 27 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002937/2.733, allocations: 1.346 MB / 0.8634 GB, free: 26.02 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002559/2.736, allocations: 186.8 kB / 0.8636 GB, free: 25.87 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.001965/2.738, allocations: 0.7094 MB / 0.8643 GB, free: 25.39 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01343/2.751, allocations: 4.551 MB / 0.8687 GB, free: 23.8 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01625/2.768, allocations: 9.829 MB / 0.8783 GB, free: 15.04 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01542/2.783, allocations: 6.535 MB / 0.8847 GB, free: 12.48 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001975/2.783, allocations: 51.34 kB / 0.8848 GB, free: 12.48 MB / 458.7 MB Notification: Performance of matching and sorting (n=1235) (initialization): time 0.1386/2.922, allocations: 31.57 MB / 0.9156 GB, free: 4.559 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001898/2.922, allocations: 91.98 kB / 0.9157 GB, free: 4.469 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.4618/3.384, allocations: 20.63 MB / 0.9358 GB, free: 100.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.09094/3.475, allocations: 16.62 MB / 0.952 GB, free: 100.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01456/3.49, allocations: 2.11 MB / 0.9541 GB, free: 100.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08295/3.573, allocations: 35.35 MB / 0.9886 GB, free: 92.32 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0146/3.587, allocations: 0.7736 MB / 0.9894 GB, free: 92.18 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002911/3.59, allocations: 0.5571 MB / 0.9899 GB, free: 92.1 MB / 474.7 MB 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.01172/3.602, allocations: 3.433 MB / 0.9933 GB, free: 90.84 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002441/3.604, allocations: 0.6747 MB / 0.9939 GB, free: 90.84 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03788/3.642, allocations: 10.14 MB / 1.004 GB, free: 87.2 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03199/3.674, allocations: 8.833 MB / 1.012 GB, free: 83.98 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.171e-05/3.675, allocations: 15.91 kB / 1.012 GB, free: 83.98 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001062/3.675, allocations: 18.88 kB / 1.012 GB, free: 83.96 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08263/3.757, allocations: 23.44 MB / 1.035 GB, free: 65.54 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.69e-05/3.757, allocations: 4 kB / 1.035 GB, free: 65.53 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005941/3.763, allocations: 0.5673 MB / 1.036 GB, free: 64.98 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02204/3.785, allocations: 3.635 MB / 1.039 GB, free: 61.39 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001241/3.787, allocations: 97.22 kB / 1.04 GB, free: 61.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04585/3.833, allocations: 22.72 MB / 1.062 GB, free: 38.13 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002721/3.835, allocations: 3.034 MB / 1.065 GB, free: 34.84 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0426/3.878, allocations: 15.58 MB / 1.08 GB, free: 19.25 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005566/3.884, allocations: 1.387 MB / 1.081 GB, free: 17.85 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002557/3.886, allocations: 79.97 kB / 1.081 GB, free: 17.77 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008038/3.894, allocations: 360 kB / 1.082 GB, free: 17.42 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001679/3.896, allocations: 248.4 kB / 1.082 GB, free: 17.18 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004802/3.897, allocations: 99.95 kB / 1.082 GB, free: 17.09 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0122/3.909, allocations: 4.704 MB / 1.087 GB, free: 12.42 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.91e-07/3.909, allocations: 0 / 1.087 GB, free: 12.42 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.3661/4.275, allocations: 2.123 MB / 1.089 GB, free: 96.87 MB / 474.7 MB 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.05415/4.329, allocations: 16.63 MB / 1.105 GB, free: 94.88 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.03111/4.36, allocations: 11.95 MB / 1.117 GB, free: 93.98 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.068e-05/4.36, allocations: 1.5 kB / 1.117 GB, free: 93.98 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01412/4.375, allocations: 5.091 MB / 1.122 GB, free: 93.05 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009331/4.384, allocations: 0.9459 MB / 1.123 GB, free: 93.02 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7026/5.087, allocations: 219.2 MB / 1.337 GB, free: 120.1 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01367/5.1, allocations: 5.508 MB / 1.342 GB, free: 119.2 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01558/5.116, allocations: 3.172 MB / 1.345 GB, free: 119.2 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01019/5.126, allocations: 3.675 MB / 1.349 GB, free: 118.1 MB / 0.5261 GB Notification: Performance of SimCode: time 1.212e-06/5.126, allocations: 3.172 kB / 1.349 GB, free: 118.1 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7625/5.889, allocations: 176.8 MB / 1.521 GB, free: 143.1 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002928/5.889, allocations: 215.2 kB / 1.522 GB, free: 142.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.259/15.15, allocations: 0 / 1.522 GB, free: 142.8 MB / 0.5261 GB