Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.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_3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") [: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.001728/0.001729, allocations: 177.3 kB / 7.452 MB, free: 468 kB / 6.207 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.396/1.396, allocations: 170.6 MB / 178.4 MB, free: 4.117 MB / 142.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001668/0.001668, allocations: 119.8 kB / 217.7 MB, free: 12.99 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1718/0.1718, allocations: 37.97 MB / 294.8 MB, free: 13.53 MB / 222.1 MB Notification: Performance of FrontEnd - loaded program: time 5.42e-06/5.46e-06, allocations: 0 / 349.5 MB, free: 6.719 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2066/0.2067, allocations: 48.7 MB / 398.2 MB, free: 16.92 MB / 270.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1229/0.3296, allocations: 95.13 MB / 493.3 MB, free: 1.629 MB / 350.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002637/0.33, allocations: 87.95 kB / 493.4 MB, free: 1.543 MB / 350.1 MB Notification: Performance of FrontEnd: time 0.441/0.771, allocations: 94.09 MB / 0.5738 GB, free: 7.039 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002187/0.7713, allocations: 104 kB / 0.5739 GB, free: 6.938 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1847 * Number of variables: 1847 Notification: Performance of Generate backend data structure: time 0.02011/0.7914, allocations: 5.456 MB / 0.5792 GB, free: 1.414 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.7914, allocations: 8.031 kB / 0.5792 GB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01008/0.8015, allocations: 1.931 MB / 0.5811 GB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01418/0.8157, allocations: 5.016 MB / 0.586 GB, free: 10.38 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002158/0.816, allocations: 168 kB / 0.5861 GB, free: 10.22 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001886/0.8179, allocations: 303.9 kB / 0.5864 GB, free: 9.922 MB / 366.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01545/0.8333, allocations: 8.037 MB / 0.5943 GB, free: 1.879 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02539/0.8588, allocations: 11.69 MB / 0.6057 GB, free: 5.129 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002376/0.8591, allocations: 67.31 kB / 0.6057 GB, free: 5.062 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001262/0.8603, allocations: 32 kB / 0.6058 GB, free: 5.031 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001682/0.862, allocations: 1.278 MB / 0.607 GB, free: 3.75 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2501/1.112, allocations: 54.27 MB / 0.66 GB, free: 86.22 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005625/1.118, allocations: 4.55 MB / 0.6645 GB, free: 85.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004417/1.122, allocations: 3.423 MB / 0.6678 GB, free: 85.54 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01851/1.141, allocations: 10.61 MB / 0.6782 GB, free: 83.36 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.759e-05/1.141, allocations: 57.56 kB / 0.6782 GB, free: 83.32 MB / 414.1 MB Notification: Performance of pre-optimization done (n=218): time 5.912e-06/1.141, allocations: 0 / 0.6782 GB, free: 83.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=249): time 0.04534/1.186, allocations: 22.81 MB / 0.7005 GB, free: 79.2 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.852e-05/1.186, allocations: 154.3 kB / 0.7007 GB, free: 79.04 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004757/1.191, allocations: 3.334 MB / 0.7039 GB, free: 77.86 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005656/1.192, allocations: 25.7 kB / 0.7039 GB, free: 77.83 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001676/1.193, allocations: 3.373 MB / 0.7072 GB, free: 75.48 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001089/1.194, allocations: 0.906 MB / 0.7081 GB, free: 74.8 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003085/1.195, allocations: 0 / 0.7081 GB, free: 74.8 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0003042/1.195, allocations: 0.6016 MB / 0.7087 GB, free: 74.37 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003568/1.199, allocations: 2.968 MB / 0.7116 GB, free: 73.35 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005762/1.204, allocations: 7.007 MB / 0.7184 GB, free: 66.87 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006914/1.211, allocations: 4.508 MB / 0.7228 GB, free: 65.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001649/1.212, allocations: 41.12 kB / 0.7229 GB, free: 65.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=915) (initialization): time 0.0191/1.231, allocations: 9.986 MB / 0.7326 GB, free: 62.84 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/1.231, allocations: 7.938 kB / 0.7326 GB, free: 62.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001722/1.231, allocations: 141.7 kB / 0.7328 GB, free: 62.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002577/1.234, allocations: 1.078 MB / 0.7338 GB, free: 62.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007014/1.241, allocations: 1.706 MB / 0.7355 GB, free: 62.25 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007046/1.248, allocations: 5.515 MB / 0.7409 GB, free: 57.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006879/1.255, allocations: 243 kB / 0.7411 GB, free: 57.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00196/1.257, allocations: 441.5 kB / 0.7415 GB, free: 56.74 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 659 * Number of states: 0 () * Number of discrete variables: 39 (fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[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 (876): * Single equations (assignments): 872 * 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.002743/1.259, allocations: 468.6 kB / 0.742 GB, free: 56.28 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001347/1.261, allocations: 367.2 kB / 0.7423 GB, free: 55.91 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01077/1.272, allocations: 5.423 MB / 0.7476 GB, free: 51.52 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.155e-05/1.272, allocations: 29.98 kB / 0.7477 GB, free: 51.49 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.413e-05/1.272, allocations: 4 kB / 0.7477 GB, free: 51.49 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.174e-05/1.272, allocations: 18.05 kB / 0.7477 GB, free: 51.49 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02389/1.296, allocations: 10.9 MB / 0.7583 GB, free: 42.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-05/1.296, allocations: 11.84 kB / 0.7583 GB, free: 42.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003128/1.299, allocations: 464.7 kB / 0.7588 GB, free: 42.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002568/1.301, allocations: 0.8642 MB / 0.7596 GB, free: 41.61 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005542/1.302, allocations: 15.5 kB / 0.7596 GB, free: 41.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007324/1.309, allocations: 5.247 MB / 0.7648 GB, free: 36.95 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.124e-06/1.309, allocations: 2.531 kB / 0.7648 GB, free: 36.95 MB / 414.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01552/1.325, allocations: 9.698 MB / 0.7742 GB, free: 28.32 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0024/1.327, allocations: 0.8479 MB / 0.7751 GB, free: 27.54 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001353/1.329, allocations: 5.266 kB / 0.7751 GB, free: 27.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003047/1.332, allocations: 105.1 kB / 0.7752 GB, free: 27.47 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006157/1.332, allocations: 126.7 kB / 0.7753 GB, free: 27.4 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003947/1.333, allocations: 66.48 kB / 0.7754 GB, free: 27.34 MB / 414.1 MB Notification: Performance of sort global known variables: time 0.005408/1.338, allocations: 2.235 MB / 0.7775 GB, free: 25.4 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00827/1.347, allocations: 1.076 MB / 0.7786 GB, free: 24.33 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,r1.phi,r1.w,r2.phi,r2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (222): * Single equations (assignments): 218 * 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 Backend phase and start with SimCode phase: time 0.0006468/1.347, allocations: 156.8 kB / 0.7787 GB, free: 24.19 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01015/1.357, allocations: 7.001 MB / 0.7856 GB, free: 17.93 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 9.037e-06/1.357, allocations: 7.938 kB / 0.7856 GB, free: 17.92 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003446/1.361, allocations: 2.682 MB / 0.7882 GB, free: 15.51 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002261/1.363, allocations: 335.2 kB / 0.7885 GB, free: 15.23 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02214/1.385, allocations: 10.06 MB / 0.7983 GB, free: 6.277 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005291/1.391, allocations: 4.229 MB / 0.8025 GB, free: 3.039 MB / 414.1 MB Notification: Performance of SimCode: time 8.82e-07/1.391, allocations: 3.938 kB / 0.8025 GB, free: 3.035 MB / 414.1 MB Notification: Performance of Templates: time 0.2856/1.676, allocations: 48.49 MB / 0.8498 GB, free: 101.4 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1)