Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.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.TG.IEEEG1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1") translateModel(OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1") [: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.002195/0.002195, allocations: 177.2 kB / 7.461 MB, free: 2.484 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.469/1.469, allocations: 221.4 MB / 229.3 MB, free: 3.059 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.001037/0.001037, allocations: 98.73 kB / 280.1 MB, free: 1.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4182/0.4182, allocations: 78.92 MB / 409.8 MB, free: 14.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.651e-06/5.691e-06, allocations: 0 / 485.4 MB, free: 3.617 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2981/0.2981, allocations: 69.51 MB / 0.5419 GB, free: 20.79 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1342/0.4323, allocations: 116.2 MB / 0.6553 GB, free: 3.715 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002683/0.4327, allocations: 87.88 kB / 0.6554 GB, free: 3.629 MB / 474.7 MB Notification: Performance of FrontEnd: time 0.3942/0.8269, allocations: 50.7 MB / 0.7049 GB, free: 102.3 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001593/0.8271, allocations: 41.38 kB / 0.7049 GB, free: 102.3 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: 329 * Number of variables: 329 Notification: Performance of Generate backend data structure: time 0.007341/0.8344, allocations: 2.561 MB / 0.7074 GB, free: 100.7 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.8345, allocations: 8.469 kB / 0.7075 GB, free: 100.7 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003891/0.8384, allocations: 0.6413 MB / 0.7081 GB, free: 100.4 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003176/0.8415, allocations: 1.254 MB / 0.7093 GB, free: 99.47 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000614/0.8422, allocations: 0.547 MB / 0.7098 GB, free: 98.93 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006545/0.8429, allocations: 78.19 kB / 0.7099 GB, free: 98.93 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003183/0.846, allocations: 1.31 MB / 0.7112 GB, free: 98.34 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002773/0.8488, allocations: 1.382 MB / 0.7125 GB, free: 97.06 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.143e-05/0.8489, allocations: 0 / 0.7125 GB, free: 97.06 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001757/0.8491, allocations: 4 kB / 0.7125 GB, free: 97.06 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.71e-05/0.8491, allocations: 28 kB / 0.7126 GB, free: 97.03 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01133/0.8604, allocations: 6.072 MB / 0.7185 GB, free: 90.82 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0014/0.8619, allocations: 0.952 MB / 0.7194 GB, free: 89.85 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001064/0.863, allocations: 0.8071 MB / 0.7202 GB, free: 89.04 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005835/0.8636, allocations: 0.749 MB / 0.721 GB, free: 88.12 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001353/0.8649, allocations: 0.9711 MB / 0.7219 GB, free: 87.13 MB / 490.7 MB Notification: Performance of pre-optimization done (n=159): time 3.316e-06/0.8649, allocations: 3.938 kB / 0.7219 GB, free: 87.13 MB / 490.7 MB Notification: Performance of matching and sorting (n=159): time 0.01592/0.8809, allocations: 5.408 MB / 0.7272 GB, free: 81.72 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.461e-05/0.8809, allocations: 149.8 kB / 0.7273 GB, free: 81.55 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001908/0.8829, allocations: 1.295 MB / 0.7286 GB, free: 80.26 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003274/0.8832, allocations: 25.7 kB / 0.7286 GB, free: 80.23 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002152/0.8834, allocations: 488.9 kB / 0.7291 GB, free: 79.74 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006305/0.8841, allocations: 0.5388 MB / 0.7296 GB, free: 79.19 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/0.8842, allocations: 0 / 0.7296 GB, free: 79.19 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.361e-05/0.8843, allocations: 365.9 kB / 0.73 GB, free: 78.83 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001105/0.8854, allocations: 0.6914 MB / 0.7306 GB, free: 78.14 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001172/0.8866, allocations: 0.8897 MB / 0.7315 GB, free: 77.19 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001569/0.8881, allocations: 0.7868 MB / 0.7323 GB, free: 76.41 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.8881, allocations: 4 kB / 0.7323 GB, free: 76.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=214) (initialization): time 0.004455/0.8926, allocations: 2.399 MB / 0.7346 GB, free: 73.99 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000248/0.8929, allocations: 1.734 MB / 0.7363 GB, free: 72.12 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.774e-05/0.8929, allocations: 8 kB / 0.7363 GB, free: 72.12 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007993/0.9009, allocations: 2.364 MB / 0.7386 GB, free: 69.75 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001576/0.9025, allocations: 303.6 kB / 0.7389 GB, free: 69.45 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004832/0.9073, allocations: 2.536 MB / 0.7414 GB, free: 66.89 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00278/0.9101, allocations: 286.5 kB / 0.7417 GB, free: 66.61 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000208/0.9104, allocations: 55.98 kB / 0.7417 GB, free: 66.55 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.9104, allocations: 4 kB / 0.7417 GB, free: 66.55 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00418/0.9146, allocations: 2.158 MB / 0.7438 GB, free: 64.39 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.572e-05/0.9146, allocations: 8 kB / 0.7438 GB, free: 64.38 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007781/0.9224, allocations: 2.365 MB / 0.7462 GB, free: 62.02 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001557/0.924, allocations: 303.6 kB / 0.7464 GB, free: 61.72 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004786/0.9288, allocations: 2.528 MB / 0.7489 GB, free: 59.16 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002638/0.9314, allocations: 274.6 kB / 0.7492 GB, free: 58.89 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001959/0.9316, allocations: 63.97 kB / 0.7492 GB, free: 58.83 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,iEEEG1.limIntegrator.local_reset,iEEET1.rotatingExciter.sISO.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 155 * 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.0003828/0.932, allocations: 132.5 kB / 0.7494 GB, free: 58.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000364/0.9324, allocations: 205.4 kB / 0.7496 GB, free: 58.49 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01561/0.948, allocations: 5.534 MB / 0.755 GB, free: 52.95 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-05/0.9481, allocations: 16 kB / 0.755 GB, free: 52.94 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.119e-05/0.9482, allocations: 3.906 kB / 0.755 GB, free: 52.93 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.765e-05/0.9482, allocations: 7.969 kB / 0.755 GB, free: 52.93 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02038/0.9686, allocations: 7.78 MB / 0.7626 GB, free: 45.11 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.055e-05/0.9687, allocations: 4.031 kB / 0.7626 GB, free: 45.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00173/0.9704, allocations: 231.7 kB / 0.7628 GB, free: 44.88 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006579/0.977, allocations: 2.064 MB / 0.7648 GB, free: 42.8 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004416/0.9775, allocations: 19.98 kB / 0.7648 GB, free: 42.78 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01746/0.995, allocations: 7.179 MB / 0.7719 GB, free: 35.49 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.995, allocations: 0 / 0.7719 GB, free: 35.49 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01826/1.013, allocations: 6.768 MB / 0.7785 GB, free: 28.7 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008786/1.014, allocations: 310.3 kB / 0.7788 GB, free: 28.38 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000414/1.015, allocations: 11.91 kB / 0.7788 GB, free: 28.37 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002083/1.017, allocations: 199.8 kB / 0.779 GB, free: 28.17 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004356/1.017, allocations: 184.9 kB / 0.7791 GB, free: 27.99 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001358/1.017, allocations: 47.97 kB / 0.7792 GB, free: 27.95 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.001307/1.019, allocations: 0.9752 MB / 0.7801 GB, free: 26.98 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002033/1.021, allocations: 0.8419 MB / 0.781 GB, free: 26.14 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 19 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,iEEET1.derivativeLag.x,iEEET1.simpleLagLim.state,iEEET1.rotatingExciter.sISO.y,iEEET1.TransducerDelay.state,iEEEG1.imLeadLag.TF.x_scaled[1],iEEEG1.imSimpleLag.state,iEEEG1.imSimpleLag1.state,iEEEG1.imSimpleLag2.state,iEEEG1.imSimpleLag3.state,iEEEG1.limIntegrator.y) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (116): * Single equations (assignments): 115 * 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.000421/1.021, allocations: 176.5 kB / 0.7811 GB, free: 25.96 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01323/1.034, allocations: 4.738 MB / 0.7858 GB, free: 21.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/1.034, allocations: 0 / 0.7858 GB, free: 21.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006168/1.041, allocations: 1.973 MB / 0.7877 GB, free: 19.22 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001934/1.043, allocations: 145 kB / 0.7878 GB, free: 19.08 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007758/1.05, allocations: 3.122 MB / 0.7909 GB, free: 15.91 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001193/1.052, allocations: 1.549 MB / 0.7924 GB, free: 14.34 MB / 490.7 MB Notification: Performance of SimCode: time 7.92e-07/1.052, allocations: 0 / 0.7924 GB, free: 14.34 MB / 490.7 MB Notification: Performance of Templates: time 0.07135/1.123, allocations: 40.7 MB / 0.8321 GB, free: 5.719 MB / 0.5105 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.pipe 2>&1)