Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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.2_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.2_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.2+maint.om/package.mo): time 0.003276/0.003276, allocations: 182.6 kB / 7.456 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.214/1.214, allocations: 194.2 MB / 202.1 MB, free: 8.734 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001746/0.001746, allocations: 119.6 kB / 247.1 MB, free: 6.23 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1597/0.1597, allocations: 39.94 MB / 331.9 MB, free: 4.895 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.304e-06/7.334e-06, allocations: 4 kB / 392.8 MB, free: 75.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08953/0.08955, allocations: 54.86 MB / 447.7 MB, free: 20.99 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2772/0.3668, allocations: 101.8 MB / 0.5366 GB, free: 14.78 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001885/0.367, allocations: 86.44 kB / 0.5366 GB, free: 14.73 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.5682/0.9352, allocations: 142.8 MB / 0.6761 GB, free: 83.16 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0009171/0.9361, allocations: 143.9 kB / 0.6762 GB, free: 83.16 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.03801/0.9742, allocations: 8.226 MB / 0.6842 GB, free: 80.37 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.9742, allocations: 10.75 kB / 0.6842 GB, free: 80.37 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05735/1.032, allocations: 14.76 MB / 0.6987 GB, free: 79.86 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03262/1.064, allocations: 13.32 MB / 0.7117 GB, free: 78.79 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003469/1.065, allocations: 211.9 kB / 0.7119 GB, free: 78.79 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003236/1.068, allocations: 414.7 kB / 0.7123 GB, free: 78.77 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01917/1.087, allocations: 9.384 MB / 0.7214 GB, free: 78.74 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03093/1.118, allocations: 14.52 MB / 0.7356 GB, free: 74.69 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005381/1.119, allocations: 109.6 kB / 0.7357 GB, free: 74.68 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002727/1.121, allocations: 43.59 kB / 0.7358 GB, free: 74.68 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002391/1.124, allocations: 1.589 MB / 0.7373 GB, free: 74.65 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08972/1.214, allocations: 76.67 MB / 0.8122 GB, free: 16.27 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00633/1.22, allocations: 5.548 MB / 0.8176 GB, free: 11.07 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005086/1.225, allocations: 4.595 MB / 0.8221 GB, free: 6.867 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02693/1.252, allocations: 14.65 MB / 0.8364 GB, free: 10.15 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.608e-05/1.252, allocations: 67.94 kB / 0.8364 GB, free: 10.07 MB / 490.7 MB Notification: Performance of pre-optimization done (n=262): time 7.995e-06/1.252, allocations: 3.938 kB / 0.8365 GB, free: 10.07 MB / 490.7 MB Notification: Performance of matching and sorting (n=341): time 0.2891/1.541, allocations: 40.48 MB / 0.876 GB, free: 139 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.255e-05/1.541, allocations: 268.1 kB / 0.8762 GB, free: 138.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009534/1.551, allocations: 5.732 MB / 0.8818 GB, free: 138.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009767/1.552, allocations: 25.7 kB / 0.8819 GB, free: 138.2 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002559/1.554, allocations: 4.469 MB / 0.8862 GB, free: 136 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001768/1.556, allocations: 1.265 MB / 0.8875 GB, free: 135.2 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005081/1.557, allocations: 0 / 0.8875 GB, free: 135.2 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003794/1.557, allocations: 0.7175 MB / 0.8882 GB, free: 134.9 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005357/1.563, allocations: 4.382 MB / 0.8924 GB, free: 134.9 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007761/1.57, allocations: 9.74 MB / 0.902 GB, free: 128 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008579/1.579, allocations: 6.462 MB / 0.9083 GB, free: 127.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001673/1.579, allocations: 56.16 kB / 0.9083 GB, free: 127.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=1248) (initialization): time 0.06583/1.645, allocations: 24.59 MB / 0.9323 GB, free: 125.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/1.645, allocations: 7.406 kB / 0.9323 GB, free: 125.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04433/1.689, allocations: 16 MB / 0.948 GB, free: 118.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04095/1.73, allocations: 11.39 MB / 0.9591 GB, free: 111.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008086/1.739, allocations: 2.077 MB / 0.9611 GB, free: 109.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03961/1.778, allocations: 28.94 MB / 0.9894 GB, free: 82.97 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01007/1.788, allocations: 447.1 kB / 0.9898 GB, free: 82.54 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002652/1.791, allocations: 0.5663 MB / 0.9904 GB, free: 81.97 MB / 490.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.001879/1.793, allocations: 0.5744 MB / 0.9909 GB, free: 81.39 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001523/1.794, allocations: 0.6247 MB / 0.9915 GB, free: 80.75 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01755/1.812, allocations: 9.749 MB / 1.001 GB, free: 70.93 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01521/1.827, allocations: 8.556 MB / 1.009 GB, free: 62.29 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.54e-05/1.827, allocations: 16 kB / 1.009 GB, free: 62.28 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.515e-05/1.827, allocations: 11.95 kB / 1.009 GB, free: 62.27 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04221/1.87, allocations: 21.95 MB / 1.031 GB, free: 40.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.932e-05/1.87, allocations: 8.125 kB / 1.031 GB, free: 40.19 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00318/1.873, allocations: 479.3 kB / 1.031 GB, free: 39.72 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01324/1.886, allocations: 3.815 MB / 1.035 GB, free: 35.88 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001086/1.887, allocations: 59.94 kB / 1.035 GB, free: 35.82 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.227/2.114, allocations: 21.81 MB / 1.056 GB, free: 125.2 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001553/2.116, allocations: 2.796 MB / 1.059 GB, free: 122.6 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02542/2.141, allocations: 15.05 MB / 1.074 GB, free: 121.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003853/2.145, allocations: 1.296 MB / 1.075 GB, free: 121.4 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002006/2.147, allocations: 36.09 kB / 1.075 GB, free: 121.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004367/2.152, allocations: 208.3 kB / 1.075 GB, free: 121.4 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005966/2.152, allocations: 164.1 kB / 1.075 GB, free: 121.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004289/2.153, allocations: 96.34 kB / 1.076 GB, free: 121.4 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.008248/2.161, allocations: 3.967 MB / 1.079 GB, free: 121.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01053/2.172, allocations: 1.857 MB / 1.081 GB, free: 121.2 MB / 490.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.001114/2.173, allocations: 167.5 kB / 1.081 GB, free: 121.1 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01611/2.189, allocations: 11.2 MB / 1.092 GB, free: 120.4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/2.189, allocations: 0 / 1.092 GB, free: 120.4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00634/2.195, allocations: 4.795 MB / 1.097 GB, free: 119.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004609/2.2, allocations: 0.7751 MB / 1.098 GB, free: 119 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03545/2.235, allocations: 16.08 MB / 1.114 GB, free: 113.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01159/2.247, allocations: 5.888 MB / 1.119 GB, free: 112 MB / 490.7 MB Notification: Performance of SimCode: time 1.773e-06/2.247, allocations: 3.406 kB / 1.119 GB, free: 112 MB / 490.7 MB Notification: Performance of Templates: time 0.1489/2.396, allocations: 95.14 MB / 1.212 GB, free: 41.34 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_1.pipe 2>&1)