Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004555/0.004555, allocations: 175.1 kB / 7.449 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.355/1.355, allocations: 170.6 MB / 178.4 MB, free: 15.52 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001859/0.001859, allocations: 116.5 kB / 217.7 MB, free: 8.289 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1941/0.1941, allocations: 37.98 MB / 294.8 MB, free: 9.637 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.003e-06/7.043e-06, allocations: 1.375 kB / 349.5 MB, free: 37.09 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1038, allocations: 48.71 MB / 398.2 MB, free: 5.676 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3593/0.4631, allocations: 94.96 MB / 493.2 MB, free: 13.52 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002276/0.4634, allocations: 77.7 kB / 493.2 MB, free: 13.52 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.5986/1.062, allocations: 142.8 MB / 0.6211 GB, free: 66.44 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005392/1.063, allocations: 148.5 kB / 0.6212 GB, free: 66.44 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.03603/1.099, allocations: 8.228 MB / 0.6293 GB, free: 64.24 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/1.099, allocations: 10.88 kB / 0.6293 GB, free: 64.24 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05654/1.155, allocations: 14.77 MB / 0.6437 GB, free: 63.73 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03126/1.187, allocations: 13.32 MB / 0.6567 GB, free: 62.66 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003202/1.187, allocations: 210.8 kB / 0.6569 GB, free: 62.66 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002932/1.19, allocations: 411.5 kB / 0.6573 GB, free: 62.65 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01682/1.207, allocations: 9.382 MB / 0.6665 GB, free: 62.62 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0269/1.234, allocations: 14.51 MB / 0.6806 GB, free: 58.58 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002681/1.234, allocations: 108.5 kB / 0.6807 GB, free: 58.57 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009151/1.235, allocations: 46.75 kB / 0.6808 GB, free: 58.57 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001831/1.237, allocations: 1.585 MB / 0.6823 GB, free: 58.55 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08714/1.324, allocations: 76.68 MB / 0.7572 GB, free: 15.97 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006553/1.33, allocations: 5.549 MB / 0.7626 GB, free: 10.76 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005016/1.336, allocations: 4.596 MB / 0.7671 GB, free: 6.562 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02621/1.362, allocations: 14.67 MB / 0.7814 GB, free: 9.891 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.229e-05/1.362, allocations: 64.03 kB / 0.7815 GB, free: 9.82 MB / 458.7 MB Notification: Performance of pre-optimization done (n=262): time 6.172e-06/1.362, allocations: 0 / 0.7815 GB, free: 9.82 MB / 458.7 MB Notification: Performance of matching and sorting (n=341): time 0.3296/1.691, allocations: 40.47 MB / 0.821 GB, free: 122.5 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.82e-05/1.692, allocations: 263.6 kB / 0.8213 GB, free: 122.2 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01069/1.702, allocations: 5.742 MB / 0.8269 GB, free: 121.7 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001087/1.703, allocations: 28.33 kB / 0.8269 GB, free: 121.7 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002774/1.706, allocations: 4.465 MB / 0.8313 GB, free: 119.5 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001922/1.708, allocations: 1.267 MB / 0.8325 GB, free: 118.7 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005345/1.709, allocations: 0 / 0.8325 GB, free: 118.7 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003998/1.709, allocations: 0.7084 MB / 0.8332 GB, free: 118.4 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005371/1.714, allocations: 4.385 MB / 0.8375 GB, free: 118.4 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008285/1.723, allocations: 9.74 MB / 0.847 GB, free: 111.5 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009192/1.732, allocations: 6.461 MB / 0.8533 GB, free: 111.4 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001676/1.732, allocations: 60.09 kB / 0.8534 GB, free: 111.4 MB / 458.7 MB Notification: Performance of matching and sorting (n=1248) (initialization): time 0.06725/1.799, allocations: 24.6 MB / 0.8774 GB, free: 109.4 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/1.799, allocations: 3.75 kB / 0.8774 GB, free: 109.4 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04442/1.844, allocations: 16 MB / 0.893 GB, free: 106.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04279/1.887, allocations: 11.4 MB / 0.9041 GB, free: 100.1 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008095/1.895, allocations: 2.075 MB / 0.9062 GB, free: 98.36 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03887/1.934, allocations: 28.93 MB / 0.9344 GB, free: 73.15 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009238/1.943, allocations: 451.3 kB / 0.9348 GB, free: 72.81 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003164/1.946, allocations: 0.5655 MB / 0.9354 GB, free: 72.27 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 866 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1102): * Single equations (assignments): 1089 * 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,(5,100.0%) 40} * Non-linear torn systems: 2 {4 9,4 9} Notification: Performance of prepare postOptimizeDAE: time 0.003594/1.95, allocations: 0.5878 MB / 0.936 GB, free: 71.68 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001783/1.952, allocations: 0.6248 MB / 0.9366 GB, free: 71.05 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01874/1.97, allocations: 9.739 MB / 0.9461 GB, free: 63.2 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01671/1.987, allocations: 8.564 MB / 0.9545 GB, free: 54.64 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.988e-05/1.987, allocations: 16 kB / 0.9545 GB, free: 54.62 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.095e-05/1.987, allocations: 15.94 kB / 0.9545 GB, free: 54.61 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2792/2.267, allocations: 21.95 MB / 0.9759 GB, free: 110.8 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.305e-05/2.267, allocations: 8.562 kB / 0.9759 GB, free: 110.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003055/2.27, allocations: 476.9 kB / 0.9764 GB, free: 110.8 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01365/2.283, allocations: 3.826 MB / 0.9801 GB, free: 110.7 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001021/2.284, allocations: 59.67 kB / 0.9802 GB, free: 110.7 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02605/2.31, allocations: 21.8 MB / 1.001 GB, free: 103.3 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001782/2.312, allocations: 2.802 MB / 1.004 GB, free: 100.8 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0291/2.341, allocations: 15.05 MB / 1.019 GB, free: 99.62 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005105/2.347, allocations: 1.297 MB / 1.02 GB, free: 99.52 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00292/2.35, allocations: 33.91 kB / 1.02 GB, free: 99.52 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005707/2.355, allocations: 206.8 kB / 1.02 GB, free: 99.52 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001184/2.356, allocations: 167.1 kB / 1.021 GB, free: 99.52 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009467/2.357, allocations: 92.03 kB / 1.021 GB, free: 99.52 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.01013/2.368, allocations: 3.979 MB / 1.025 GB, free: 99.3 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01408/2.382, allocations: 1.854 MB / 1.026 GB, free: 99.3 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 16 ($STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],fixedRotation1.frame_b.R.w[1],fixedRotation1.frame_b.R.w[2],fixedRotation1.frame_b.R.w[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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (233): * 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): 4 * 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: 2 {4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(5,100.0%) 35,(3,100.0%) 33,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001459/2.383, allocations: 170.3 kB / 1.026 GB, free: 99.22 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02227/2.406, allocations: 11.19 MB / 1.037 GB, free: 98.52 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.128e-05/2.406, allocations: 6.641 kB / 1.037 GB, free: 98.52 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009963/2.416, allocations: 4.79 MB / 1.042 GB, free: 96.8 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00706/2.423, allocations: 0.7775 MB / 1.043 GB, free: 96.5 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04475/2.467, allocations: 16.09 MB / 1.059 GB, free: 91.23 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01345/2.481, allocations: 5.907 MB / 1.064 GB, free: 89.5 MB / 458.7 MB Notification: Performance of SimCode: time 9.62e-07/2.481, allocations: 0 / 1.064 GB, free: 89.5 MB / 458.7 MB Notification: Performance of Templates: time 0.3885/2.869, allocations: 95.12 MB / 1.157 GB, free: 111.4 MB / 458.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1.pipe 2>&1)