Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.IEEET2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.IEEET2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2") [: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.002321/0.002321, allocations: 180.1 kB / 7.454 MB, free: 2.508 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.194/1.194, allocations: 221.4 MB / 229.3 MB, free: 3.074 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.0009084/0.0009083, allocations: 104.8 kB / 280.1 MB, free: 1.324 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4351/0.4351, allocations: 78.05 MB / 408.9 MB, free: 15.52 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.454e-06/7.494e-06, allocations: 0 / 484.3 MB, free: 4.445 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.234/0.234, allocations: 69.35 MB / 0.5407 GB, free: 21.41 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1198/0.3538, allocations: 111.2 MB / 0.6493 GB, free: 9.648 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002301/0.3541, allocations: 87.94 kB / 0.6494 GB, free: 9.562 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.2907/0.6448, allocations: 44.06 MB / 0.6924 GB, free: 105.8 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.433e-05/0.6449, allocations: 27.47 kB / 0.6924 GB, free: 105.8 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: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.00514/0.65, allocations: 2.196 MB / 0.6946 GB, free: 104.8 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.6501, allocations: 7.906 kB / 0.6946 GB, free: 104.8 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00333/0.6534, allocations: 0.5902 MB / 0.6951 GB, free: 104.7 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00163/0.6551, allocations: 1.015 MB / 0.6961 GB, free: 104.1 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003505/0.6554, allocations: 437 kB / 0.6965 GB, free: 103.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001889/0.6556, allocations: 68.41 kB / 0.6966 GB, free: 103.6 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001856/0.6575, allocations: 1.077 MB / 0.6977 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002004/0.6595, allocations: 1.107 MB / 0.6987 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.756e-05/0.6595, allocations: 4.5 kB / 0.6988 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001274/0.6597, allocations: 1.125 kB / 0.6988 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.74e-05/0.6597, allocations: 28.47 kB / 0.6988 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008888/0.6686, allocations: 5.061 MB / 0.7037 GB, free: 99.86 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001935/0.6706, allocations: 1.072 MB / 0.7048 GB, free: 99.35 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001097/0.6717, allocations: 0.7105 MB / 0.7055 GB, free: 98.99 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004435/0.6721, allocations: 0.7298 MB / 0.7062 GB, free: 98.14 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00144/0.6736, allocations: 0.8371 MB / 0.707 GB, free: 97.75 MB / 490.7 MB Notification: Performance of pre-optimization done (n=131): time 3.547e-06/0.6736, allocations: 0.7812 kB / 0.707 GB, free: 97.75 MB / 490.7 MB Notification: Performance of matching and sorting (n=131): time 0.0177/0.6913, allocations: 5.349 MB / 0.7122 GB, free: 95.92 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.126e-05/0.6914, allocations: 121.7 kB / 0.7123 GB, free: 95.79 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001628/0.693, allocations: 1.075 MB / 0.7134 GB, free: 95.24 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002047/0.6932, allocations: 25.7 kB / 0.7134 GB, free: 95.21 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001779/0.6934, allocations: 404 kB / 0.7138 GB, free: 94.87 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005043/0.6939, allocations: 453.8 kB / 0.7142 GB, free: 94.47 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001035/0.694, allocations: 1.062 kB / 0.7142 GB, free: 94.47 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.467e-05/0.6941, allocations: 361 kB / 0.7146 GB, free: 94.12 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001032/0.6951, allocations: 0.5984 MB / 0.7152 GB, free: 93.65 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001033/0.6962, allocations: 0.7694 MB / 0.7159 GB, free: 92.83 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00132/0.6975, allocations: 0.6779 MB / 0.7166 GB, free: 92.15 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.6975, allocations: 3.938 kB / 0.7166 GB, free: 92.15 MB / 490.7 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.004013/0.7015, allocations: 2.116 MB / 0.7186 GB, free: 90.02 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.7016, allocations: 4 kB / 0.7186 GB, free: 90.02 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.087e-05/0.7016, allocations: 12.03 kB / 0.7187 GB, free: 90.01 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008193/0.7098, allocations: 2.364 MB / 0.721 GB, free: 87.64 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001191/0.711, allocations: 219.7 kB / 0.7212 GB, free: 87.43 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00488/0.7159, allocations: 2.535 MB / 0.7236 GB, free: 84.87 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002045/0.718, allocations: 242.7 kB / 0.7239 GB, free: 84.63 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001396/0.7181, allocations: 47.98 kB / 0.7239 GB, free: 84.58 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,iEEET2.rotatingExciter.sISO.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (124): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {30 26} Notification: Performance of prepare postOptimizeDAE: time 0.0002588/0.7184, allocations: 128.7 kB / 0.724 GB, free: 84.45 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002533/0.7187, allocations: 165.9 kB / 0.7242 GB, free: 84.29 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01618/0.7349, allocations: 5.378 MB / 0.7295 GB, free: 78.9 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.579e-05/0.7349, allocations: 16 kB / 0.7295 GB, free: 78.88 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.7349, allocations: 0 / 0.7295 GB, free: 78.88 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.896e-05/0.7349, allocations: 11.97 kB / 0.7295 GB, free: 78.87 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01803/0.753, allocations: 7.261 MB / 0.7366 GB, free: 71.56 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.201e-06/0.753, allocations: 4 kB / 0.7366 GB, free: 71.55 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009638/0.754, allocations: 155.7 kB / 0.7367 GB, free: 71.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006648/0.7606, allocations: 2.119 MB / 0.7388 GB, free: 69.28 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001305/0.7608, allocations: 12 kB / 0.7388 GB, free: 69.27 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01846/0.7792, allocations: 8.663 MB / 0.7473 GB, free: 60.4 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.7793, allocations: 7.562 kB / 0.7473 GB, free: 60.4 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01757/0.7968, allocations: 6.409 MB / 0.7535 GB, free: 53.96 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005189/0.7974, allocations: 274.7 kB / 0.7538 GB, free: 53.68 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003024/0.7977, allocations: 0 / 0.7538 GB, free: 53.68 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00176/0.7995, allocations: 171.9 kB / 0.754 GB, free: 53.51 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003659/0.7998, allocations: 153 kB / 0.7541 GB, free: 53.36 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001198/0.8, allocations: 35.98 kB / 0.7541 GB, free: 53.32 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0009903/0.801, allocations: 0.8106 MB / 0.7549 GB, free: 52.52 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001325/0.8023, allocations: 491.1 kB / 0.7554 GB, free: 52.04 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,iEEET2.simpleLag.state,iEEET2.derivativeLag.x,iEEET2.simpleLagLim.state,iEEET2.rotatingExciter.sISO.y,iEEET2.TransducerDelay.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 83 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003686/0.8027, allocations: 190.9 kB / 0.7556 GB, free: 51.84 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.007022/0.8097, allocations: 2.459 MB / 0.758 GB, free: 49.37 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.8097, allocations: 4 kB / 0.758 GB, free: 49.37 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005861/0.8156, allocations: 1.943 MB / 0.7599 GB, free: 47.4 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000997/0.8166, allocations: 109.9 kB / 0.76 GB, free: 47.29 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00555/0.8222, allocations: 2.487 MB / 0.7624 GB, free: 44.77 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008966/0.8231, allocations: 1.366 MB / 0.7638 GB, free: 43.37 MB / 490.7 MB Notification: Performance of SimCode: time 5.31e-07/0.8231, allocations: 0 / 0.7638 GB, free: 43.37 MB / 490.7 MB Notification: Performance of Templates: time 0.03312/0.8562, allocations: 24.48 MB / 0.7877 GB, free: 18.97 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.IEEET2.pipe 2>&1)