Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.URST5T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Controls.PSSE.ES.URST5T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.URST5T") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.URST5T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_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 4.0.0+maint.om/package.mo): time 0.003435/0.003435, allocations: 173.7 kB / 7.458 MB, free: 2.488 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.262/1.262, allocations: 221.4 MB / 229.3 MB, free: 3.012 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009519/0.000952, allocations: 102.4 kB / 280.1 MB, free: 1.234 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5198/0.5198, allocations: 78.92 MB / 409.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.007e-06/9.037e-06, allocations: 0 / 485.4 MB, free: 3.641 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.345/0.345, allocations: 69.5 MB / 0.5419 GB, free: 20.79 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1507/0.4958, allocations: 110.9 MB / 0.6501 GB, free: 9.07 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003082/0.4961, allocations: 79.95 kB / 0.6502 GB, free: 8.992 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.3376/0.8337, allocations: 43.21 MB / 0.6924 GB, free: 105.5 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.554e-05/0.8339, allocations: 35.28 kB / 0.6924 GB, free: 105.5 MB / 490.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.005583/0.8395, allocations: 2.268 MB / 0.6947 GB, free: 104.6 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.8395, allocations: 7.781 kB / 0.6947 GB, free: 104.6 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00302/0.8425, allocations: 0.6028 MB / 0.6952 GB, free: 104.4 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001571/0.8441, allocations: 1.093 MB / 0.6963 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003383/0.8445, allocations: 411.4 kB / 0.6967 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001807/0.8446, allocations: 75.69 kB / 0.6968 GB, free: 103.5 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001907/0.8466, allocations: 1.169 MB / 0.6979 GB, free: 103 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002397/0.849, allocations: 1.248 MB / 0.6991 GB, free: 102.4 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.643e-05/0.849, allocations: 0.8438 kB / 0.6991 GB, free: 102.4 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001236/0.8491, allocations: 1.844 kB / 0.6991 GB, free: 102.4 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.527e-05/0.8492, allocations: 28.19 kB / 0.6992 GB, free: 102.4 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009658/0.8588, allocations: 5.555 MB / 0.7046 GB, free: 99.24 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001681/0.8605, allocations: 0.854 MB / 0.7054 GB, free: 98.8 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001223/0.8618, allocations: 0.7265 MB / 0.7061 GB, free: 98.44 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001587/0.8619, allocations: 28.77 kB / 0.7062 GB, free: 98.43 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00156/0.8635, allocations: 0.8734 MB / 0.707 GB, free: 98.03 MB / 490.7 MB Notification: Performance of pre-optimization done (n=139): time 3.517e-06/0.8635, allocations: 0.625 kB / 0.707 GB, free: 98.03 MB / 490.7 MB Notification: Performance of matching and sorting (n=139): time 0.01693/0.8805, allocations: 5.316 MB / 0.7122 GB, free: 96.11 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.403e-05/0.8806, allocations: 196.1 kB / 0.7124 GB, free: 95.89 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001766/0.8823, allocations: 1.102 MB / 0.7135 GB, free: 95.25 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000268/0.8826, allocations: 29.69 kB / 0.7135 GB, free: 95.22 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001998/0.8828, allocations: 435.3 kB / 0.7139 GB, free: 94.79 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005281/0.8834, allocations: 476.8 kB / 0.7144 GB, free: 94.31 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.945e-05/0.8835, allocations: 64 / 0.7144 GB, free: 94.31 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.087e-05/0.8835, allocations: 369.8 kB / 0.7147 GB, free: 93.95 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009892/0.8845, allocations: 0.6015 MB / 0.7153 GB, free: 93.34 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000996/0.8856, allocations: 0.8165 MB / 0.7161 GB, free: 92.46 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00117/0.8867, allocations: 0.6701 MB / 0.7168 GB, free: 91.79 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.8867, allocations: 4 kB / 0.7168 GB, free: 91.79 MB / 490.7 MB Notification: Performance of matching and sorting (n=182) (initialization): time 0.003551/0.8903, allocations: 2.237 MB / 0.7189 GB, free: 89.54 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002646/0.8906, allocations: 1.702 MB / 0.7206 GB, free: 87.68 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.8906, allocations: 4 kB / 0.7206 GB, free: 87.68 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009152/0.8998, allocations: 2.996 MB / 0.7235 GB, free: 84.68 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000728/0.9005, allocations: 147.8 kB / 0.7237 GB, free: 84.54 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00609/0.9066, allocations: 3.373 MB / 0.727 GB, free: 81.14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00233/0.909, allocations: 250.8 kB / 0.7272 GB, free: 80.89 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001457/0.9091, allocations: 63.88 kB / 0.7273 GB, free: 80.83 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.889e-06/0.9091, allocations: 4 kB / 0.7273 GB, free: 80.82 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003298/0.9124, allocations: 1.988 MB / 0.7292 GB, free: 78.84 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.9124, allocations: 8.031 kB / 0.7292 GB, free: 78.83 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009055/0.9215, allocations: 2.929 MB / 0.7321 GB, free: 75.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006663/0.9222, allocations: 159.7 kB / 0.7322 GB, free: 75.74 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005755/0.928, allocations: 3.199 MB / 0.7354 GB, free: 72.52 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002063/0.93, allocations: 238.7 kB / 0.7356 GB, free: 72.28 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000144/0.9302, allocations: 51.98 kB / 0.7356 GB, free: 72.23 MB / 490.7 MB 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.0003704/0.9306, allocations: 134.9 kB / 0.7358 GB, free: 72.09 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003232/0.9309, allocations: 177.8 kB / 0.7359 GB, free: 71.92 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01497/0.9459, allocations: 5.401 MB / 0.7412 GB, free: 66.52 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-05/0.9459, allocations: 16 kB / 0.7412 GB, free: 66.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.9459, allocations: 0 / 0.7412 GB, free: 66.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.268e-05/0.946, allocations: 11.88 kB / 0.7412 GB, free: 66.49 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01725/0.9632, allocations: 7.363 MB / 0.7484 GB, free: 59.08 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.336e-06/0.9633, allocations: 0 / 0.7484 GB, free: 59.08 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001155/0.9644, allocations: 195.7 kB / 0.7486 GB, free: 58.89 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006042/0.9705, allocations: 2.067 MB / 0.7506 GB, free: 56.82 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001964/0.9707, allocations: 15.98 kB / 0.7507 GB, free: 56.81 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01617/0.9869, allocations: 7.165 MB / 0.7577 GB, free: 49.54 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.9869, allocations: 0 / 0.7577 GB, free: 49.54 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01646/1.003, allocations: 6.401 MB / 0.7639 GB, free: 43.11 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006925/1.004, allocations: 286.5 kB / 0.7642 GB, free: 42.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003291/1.004, allocations: 8 kB / 0.7642 GB, free: 42.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001777/1.006, allocations: 187.8 kB / 0.7644 GB, free: 42.61 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003763/1.007, allocations: 160.9 kB / 0.7645 GB, free: 42.46 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001262/1.007, allocations: 35.98 kB / 0.7645 GB, free: 42.42 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001037/1.008, allocations: 0.8429 MB / 0.7654 GB, free: 41.58 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001809/1.01, allocations: 0.7483 MB / 0.7661 GB, free: 40.83 MB / 490.7 MB 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.0003085/1.01, allocations: 159 kB / 0.7663 GB, free: 40.67 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01354/1.023, allocations: 4.543 MB / 0.7707 GB, free: 36.12 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/1.024, allocations: 256 / 0.7707 GB, free: 36.12 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005871/1.029, allocations: 1.87 MB / 0.7725 GB, free: 34.25 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001229/1.031, allocations: 121.3 kB / 0.7726 GB, free: 34.12 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005658/1.036, allocations: 2.644 MB / 0.7752 GB, free: 31.47 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009053/1.037, allocations: 1.399 MB / 0.7766 GB, free: 30.04 MB / 490.7 MB Notification: Performance of SimCode: time 6.32e-07/1.037, allocations: 3.938 kB / 0.7766 GB, free: 30.04 MB / 490.7 MB Notification: Performance of Templates: time 0.05038/1.088, allocations: 38.17 MB / 0.8139 GB, free: 7.918 MB / 0.4948 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.URST5T.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.URST5T.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.URST5T.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.URST5T.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.URST5T.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.URST5T -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.URST5T.pipe 2>&1)