Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.URST5T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Controls.PSSE.ES.URST5T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.URST5T") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.URST5T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.URST5T") [: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.3+maint.om/package.mo): time 0.002467/0.002467, allocations: 180 kB / 7.455 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.335/1.335, allocations: 205.2 MB / 213.1 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009298/0.0009298, allocations: 92.83 kB / 261.1 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06692/0.06692, allocations: 12.58 MB / 321.6 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2766/0.2766, allocations: 78.04 MB / 450.4 MB, free: 3.211 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.141e-06/6.181e-06, allocations: 0 / 0.5141 GB, free: 29.93 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1318, allocations: 69.32 MB / 0.5818 GB, free: 8.711 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4109/0.5428, allocations: 111.7 MB / 0.691 GB, free: 12.73 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002809/0.5431, allocations: 89.98 kB / 0.691 GB, free: 12.68 MB / 442.7 MB Notification: Performance of FrontEnd: time 0.1242/0.6673, allocations: 43.71 MB / 0.7337 GB, free: 8.891 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001812/0.6675, allocations: 36.92 kB / 0.7338 GB, free: 8.855 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: 289 * Number of variables: 289 Notification: Performance of Generate backend data structure: time 0.008002/0.6755, allocations: 2.268 MB / 0.736 GB, free: 6.695 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.292e-05/0.6756, allocations: 19.97 kB / 0.736 GB, free: 6.676 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004383/0.68, allocations: 0.6076 MB / 0.7366 GB, free: 6.109 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002906/0.683, allocations: 1.094 MB / 0.7377 GB, free: 5.242 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005288/0.6835, allocations: 412.7 kB / 0.7381 GB, free: 4.773 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000454/0.684, allocations: 75.89 kB / 0.7381 GB, free: 4.699 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002607/0.6866, allocations: 1.163 MB / 0.7393 GB, free: 4.004 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00256/0.6892, allocations: 1.258 MB / 0.7405 GB, free: 3.082 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.695e-05/0.6892, allocations: 0 / 0.7405 GB, free: 3.082 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001437/0.6893, allocations: 3.938 kB / 0.7405 GB, free: 3.078 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.639e-05/0.6894, allocations: 28 kB / 0.7405 GB, free: 3.051 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01033/0.6997, allocations: 5.579 MB / 0.746 GB, free: 14.62 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001717/0.7015, allocations: 0.8461 MB / 0.7468 GB, free: 13.99 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00112/0.7026, allocations: 0.7289 MB / 0.7475 GB, free: 13.26 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001506/0.7028, allocations: 37.27 kB / 0.7475 GB, free: 13.22 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001508/0.7043, allocations: 0.8696 MB / 0.7484 GB, free: 12.33 MB / 490.7 MB Notification: Performance of pre-optimization done (n=139): time 3.586e-06/0.7043, allocations: 0 / 0.7484 GB, free: 12.33 MB / 490.7 MB Notification: Performance of matching and sorting (n=139): time 0.01681/0.7211, allocations: 5.31 MB / 0.7536 GB, free: 7.004 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.472e-05/0.7213, allocations: 193.2 kB / 0.7538 GB, free: 6.773 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001855/0.7231, allocations: 1.111 MB / 0.7548 GB, free: 5.656 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002739/0.7234, allocations: 25.7 kB / 0.7549 GB, free: 5.625 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003033/0.7237, allocations: 431.4 kB / 0.7553 GB, free: 5.195 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006446/0.7244, allocations: 484.7 kB / 0.7557 GB, free: 4.715 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.632e-05/0.7245, allocations: 0 / 0.7557 GB, free: 4.715 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.7246, allocations: 365.9 kB / 0.7561 GB, free: 4.352 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001103/0.7258, allocations: 0.6054 MB / 0.7567 GB, free: 3.746 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001198/0.727, allocations: 0.8087 MB / 0.7575 GB, free: 2.867 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001394/0.7284, allocations: 0.6741 MB / 0.7581 GB, free: 2.195 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.421e-06/0.7284, allocations: 3.938 kB / 0.7581 GB, free: 2.191 MB / 490.7 MB Notification: Performance of matching and sorting (n=182) (initialization): time 0.004311/0.7327, allocations: 2.237 MB / 0.7603 GB, free: 15.94 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006327/0.7333, allocations: 1.715 MB / 0.762 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.7334, allocations: 4 kB / 0.762 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0103/0.7437, allocations: 2.988 MB / 0.7649 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007607/0.7445, allocations: 143.8 kB / 0.7651 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007144/0.7516, allocations: 3.369 MB / 0.7683 GB, free: 7.531 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002398/0.754, allocations: 262.6 kB / 0.7686 GB, free: 7.273 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001521/0.7542, allocations: 51.98 kB / 0.7686 GB, free: 7.223 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.177e-06/0.7542, allocations: 8 kB / 0.7687 GB, free: 7.215 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003902/0.7581, allocations: 1.996 MB / 0.7706 GB, free: 5.219 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.7581, allocations: 8.094 kB / 0.7706 GB, free: 5.211 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01026/0.7684, allocations: 2.941 MB / 0.7735 GB, free: 2.266 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007769/0.7692, allocations: 143.8 kB / 0.7736 GB, free: 2.125 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007096/0.7763, allocations: 3.198 MB / 0.7767 GB, free: 14.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002314/0.7787, allocations: 230.8 kB / 0.777 GB, free: 14.67 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002107/0.7789, allocations: 47.98 kB / 0.777 GB, free: 14.62 MB / 0.5105 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: uRST5T.LL1.gain.y:VARIABLE() "Output signal connector" type: Real uRST5T.VR0:VARIABLE(fixed = false protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,uRST5T.LL2.integrator.local_reset,uRST5T.LL1.integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * Array equations: 0 * 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: 0 * Non-linear torn systems: 1 {36 62} Notification: Performance of prepare postOptimizeDAE: time 0.0004673/0.7794, allocations: 138.9 kB / 0.7771 GB, free: 14.48 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005811/0.7799, allocations: 173.8 kB / 0.7773 GB, free: 14.31 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01758/0.7975, allocations: 5.397 MB / 0.7826 GB, free: 8.891 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.974e-05/0.7976, allocations: 12 kB / 0.7826 GB, free: 8.879 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.509e-05/0.7977, allocations: 0 / 0.7826 GB, free: 8.879 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-05/0.7978, allocations: 11.97 kB / 0.7826 GB, free: 8.867 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02229/0.82, allocations: 7.375 MB / 0.7898 GB, free: 1.398 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.539e-05/0.8201, allocations: 0 / 0.7898 GB, free: 1.398 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001364/0.8215, allocations: 191.8 kB / 0.79 GB, free: 1.211 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007199/0.8287, allocations: 2.072 MB / 0.792 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003707/0.8291, allocations: 8 kB / 0.792 GB, free: 15.13 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01943/0.8486, allocations: 7.16 MB / 0.799 GB, free: 7.848 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/0.8486, allocations: 3.906 kB / 0.799 GB, free: 7.844 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01929/0.8679, allocations: 6.402 MB / 0.8053 GB, free: 1.395 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008413/0.8688, allocations: 282.5 kB / 0.8055 GB, free: 1.098 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00072/0.8695, allocations: 4 kB / 0.8055 GB, free: 1.094 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002308/0.8718, allocations: 187.8 kB / 0.8057 GB, free: 0.9102 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004536/0.8723, allocations: 157 kB / 0.8059 GB, free: 0.7578 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00016/0.8725, allocations: 39.98 kB / 0.8059 GB, free: 0.7188 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.001585/0.8741, allocations: 0.8431 MB / 0.8067 GB, free: 15.88 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002653/0.8767, allocations: 0.7483 MB / 0.8075 GB, free: 15.13 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 13 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,uRST5T.LL1.integrator.y,uRST5T.LL2.integrator.y,uRST5T.simpleLagLimVar.state,uRST5T.TransducerDelay.state) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 95 * Array equations: 0 * 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: 0 * Non-linear torn systems: 1 {26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004278/0.8772, allocations: 166.9 kB / 0.8076 GB, free: 14.96 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01562/0.8928, allocations: 4.529 MB / 0.812 GB, free: 10.42 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/0.8929, allocations: 0 / 0.812 GB, free: 10.42 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.006229/0.8991, allocations: 1.875 MB / 0.8139 GB, free: 8.539 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001924/0.9011, allocations: 125.2 kB / 0.814 GB, free: 8.414 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008078/0.9092, allocations: 2.651 MB / 0.8166 GB, free: 5.703 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001379/0.9106, allocations: 1.41 MB / 0.818 GB, free: 4.262 MB / 0.5417 GB Notification: Performance of SimCode: time 1.172e-06/0.9106, allocations: 0 / 0.818 GB, free: 4.262 MB / 0.5417 GB Notification: Performance of Templates: time 0.271/1.182, allocations: 38.19 MB / 0.8552 GB, free: 240.4 MB / 0.573 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.URST5T.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.URST5T.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.URST5T.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.URST5T.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.URST5T.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.URST5T -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.URST5T.pipe 2>&1)