Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.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_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") [: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.006102/0.006102, allocations: 179.9 kB / 7.454 MB, free: 2.508 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.221/1.221, allocations: 194.2 MB / 202.1 MB, free: 8.742 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.001669/0.001669, allocations: 122.1 kB / 247.1 MB, free: 6.238 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.159/0.159, allocations: 39.94 MB / 331.9 MB, free: 4.914 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.37e-05/1.373e-05, allocations: 4 kB / 392.8 MB, free: 75.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08914/0.08917, allocations: 54.86 MB / 447.7 MB, free: 21 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2534/0.3426, allocations: 101.2 MB / 0.5359 GB, free: 15.63 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001785/0.3428, allocations: 80.23 kB / 0.536 GB, free: 15.59 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.2056/0.5484, allocations: 81.28 MB / 0.6154 GB, free: 6.051 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002577/0.5487, allocations: 83.98 kB / 0.6155 GB, free: 5.969 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: 1525 * Number of variables: 1525 Notification: Performance of Generate backend data structure: time 0.0162/0.565, allocations: 4.42 MB / 0.6198 GB, free: 1.484 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.565, allocations: 8.031 kB / 0.6198 GB, free: 1.477 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01067/0.5757, allocations: 1.827 MB / 0.6216 GB, free: 15.64 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01266/0.5884, allocations: 4.561 MB / 0.626 GB, free: 11.02 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000247/0.5887, allocations: 136 kB / 0.6262 GB, free: 10.88 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002143/0.5908, allocations: 251.9 kB / 0.6264 GB, free: 10.64 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01239/0.6032, allocations: 6.603 MB / 0.6329 GB, free: 4.027 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01766/0.6209, allocations: 9.797 MB / 0.6424 GB, free: 9.23 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002341/0.6212, allocations: 63.45 kB / 0.6425 GB, free: 9.168 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001243/0.6224, allocations: 28 kB / 0.6425 GB, free: 9.141 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001507/0.624, allocations: 1.069 MB / 0.6436 GB, free: 8.066 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2248/0.8487, allocations: 46.11 MB / 0.6886 GB, free: 138.1 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003726/0.8525, allocations: 3.332 MB / 0.6918 GB, free: 137.5 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002215/0.8547, allocations: 1.931 MB / 0.6937 GB, free: 137.4 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00937/0.8641, allocations: 6.308 MB / 0.6999 GB, free: 135.3 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.8642, allocations: 51.44 kB / 0.6999 GB, free: 135.2 MB / 474.7 MB Notification: Performance of pre-optimization done (n=142): time 3.497e-06/0.8642, allocations: 0 / 0.6999 GB, free: 135.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=149): time 0.02047/0.8847, allocations: 11.33 MB / 0.711 GB, free: 132.6 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/0.8848, allocations: 144.1 kB / 0.7111 GB, free: 132.5 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005729/0.8905, allocations: 3.102 MB / 0.7142 GB, free: 132.1 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001249/0.8906, allocations: 29.41 kB / 0.7142 GB, free: 132.1 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001816/0.8925, allocations: 3.005 MB / 0.7171 GB, free: 130.4 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005503/0.893, allocations: 0.5884 MB / 0.7177 GB, free: 130 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004534/0.8935, allocations: 0 / 0.7177 GB, free: 130 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004486/0.8939, allocations: 0.5543 MB / 0.7182 GB, free: 129.7 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002552/0.8965, allocations: 1.891 MB / 0.7201 GB, free: 129.7 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004222/0.9007, allocations: 5.703 MB / 0.7257 GB, free: 124.7 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004198/0.9049, allocations: 3.287 MB / 0.7289 GB, free: 124 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001607/0.9051, allocations: 45.11 kB / 0.7289 GB, free: 124 MB / 474.7 MB Notification: Performance of matching and sorting (n=781) (initialization): time 0.01171/0.9168, allocations: 7.287 MB / 0.736 GB, free: 122 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.9169, allocations: 10.16 kB / 0.736 GB, free: 122 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002409/0.9171, allocations: 137.4 kB / 0.7362 GB, free: 122 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002235/0.9194, allocations: 0.856 MB / 0.737 GB, free: 121.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004238/0.9236, allocations: 1.39 MB / 0.7384 GB, free: 121.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005604/0.9292, allocations: 4.496 MB / 0.7428 GB, free: 119.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004501/0.9338, allocations: 191.7 kB / 0.7429 GB, free: 119.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001047/0.9348, allocations: 382.9 kB / 0.7433 GB, free: 119.3 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 628 * Number of states: 0 () * Number of discrete variables: 33 (rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],bodyCylinder.frameTranslation.color[3],bodyCylinder.frameTranslation.color[2],bodyCylinder.frameTranslation.color[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (742): * Single equations (assignments): 738 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00137/0.9362, allocations: 435.7 kB / 0.7437 GB, free: 119 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008093/0.937, allocations: 309.6 kB / 0.744 GB, free: 118.8 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005555/0.9426, allocations: 2.714 MB / 0.7467 GB, free: 117.9 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.496e-05/0.9427, allocations: 17.44 kB / 0.7467 GB, free: 117.9 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.949e-05/0.9427, allocations: 3.781 kB / 0.7467 GB, free: 117.9 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.045e-05/0.9427, allocations: 7.609 kB / 0.7467 GB, free: 117.9 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01482/0.9576, allocations: 6.214 MB / 0.7528 GB, free: 114 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.438e-06/0.9576, allocations: 4 kB / 0.7528 GB, free: 114 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001253/0.9589, allocations: 235.5 kB / 0.753 GB, free: 113.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001986/0.9609, allocations: 0.6418 MB / 0.7536 GB, free: 113.3 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001626/0.961, allocations: 7.047 kB / 0.7536 GB, free: 113.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004525/0.9656, allocations: 4.13 MB / 0.7577 GB, free: 109.6 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.9656, allocations: 0 / 0.7577 GB, free: 109.6 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006849/0.9724, allocations: 5.092 MB / 0.7626 GB, free: 105.2 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001405/0.9739, allocations: 0.5662 MB / 0.7632 GB, free: 104.6 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007725/0.9747, allocations: 4 kB / 0.7632 GB, free: 104.6 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001609/0.9763, allocations: 57.31 kB / 0.7632 GB, free: 104.6 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002222/0.9765, allocations: 65.89 kB / 0.7633 GB, free: 104.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001223/0.9766, allocations: 43.28 kB / 0.7633 GB, free: 104.5 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.004108/0.9808, allocations: 2.081 MB / 0.7654 GB, free: 102.7 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005994/0.9868, allocations: 0.8101 MB / 0.7662 GB, free: 101.9 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 114 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004678/0.9873, allocations: 135.2 kB / 0.7663 GB, free: 101.8 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006693/0.994, allocations: 4.509 MB / 0.7707 GB, free: 97.7 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.994, allocations: 0 / 0.7707 GB, free: 97.7 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001589/0.9956, allocations: 1.335 MB / 0.772 GB, free: 96.48 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002006/0.9976, allocations: 301.4 kB / 0.7723 GB, free: 96.23 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0172/1.015, allocations: 7.231 MB / 0.7794 GB, free: 89.75 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005802/1.021, allocations: 3.572 MB / 0.7828 GB, free: 86.98 MB / 474.7 MB Notification: Performance of SimCode: time 1.303e-06/1.021, allocations: 4 kB / 0.7828 GB, free: 86.98 MB / 474.7 MB Notification: Performance of Templates: time 0.06013/1.081, allocations: 32.66 MB / 0.8147 GB, free: 60.2 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1)