Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Controls.PSSE.TG.GAST,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST") translateModel(OpenIPSL.Tests.Controls.PSSE.TG.GAST,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 222.9 MB / 239.5 MB, free: 4.742 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 196.5 kB / 289.8 MB, free: 2.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5177/0.5177, allocations: 91.89 MB / 431.8 MB, free: 9.48 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001583/0.001583, allocations: 75.88 kB / 0.5019 GB, free: 8.195 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3668/0.3684, allocations: 71.27 MB / 0.5714 GB, free: 36.34 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.GAST): time 0.008604/0.3771, allocations: 9.569 MB / 0.5808 GB, free: 30.56 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006739/0.3839, allocations: 2.917 MB / 0.5836 GB, free: 28.5 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002634/0.3865, allocations: 19.69 kB / 0.5837 GB, free: 28.5 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001824/0.3884, allocations: 283.2 kB / 0.5839 GB, free: 28.38 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004696/0.3931, allocations: 1.049 MB / 0.585 GB, free: 27.71 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002509/0.3957, allocations: 0.7648 MB / 0.5857 GB, free: 27.29 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.004033/0.3997, allocations: 2.454 MB / 0.5881 GB, free: 26.13 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001117/0.4009, allocations: 0.4911 MB / 0.5886 GB, free: 25.86 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001925/0.4028, allocations: 0.9016 MB / 0.5895 GB, free: 25.46 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002249/0.4051, allocations: 1.206 MB / 0.5906 GB, free: 24.91 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009846/0.4061, allocations: 125.3 kB / 0.5908 GB, free: 24.9 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001757/0.4078, allocations: 371.2 kB / 0.5911 GB, free: 24.82 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008714/0.4087, allocations: 450.3 kB / 0.5915 GB, free: 24.57 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00166/0.4104, allocations: 0.9652 MB / 0.5925 GB, free: 23.94 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002378/0.4128, allocations: 2.075 MB / 0.5945 GB, free: 23.18 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.4128, allocations: 0 / 0.5945 GB, free: 23.18 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4128, allocations: 0 / 0.5945 GB, free: 23.18 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001099/0.4129, allocations: 0 / 0.5945 GB, free: 23.18 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.01457/0.4275, allocations: 3.953 MB / 0.5984 GB, free: 21.48 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/0.4276, allocations: 9.156 kB / 0.5984 GB, free: 21.48 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005118/0.4327, allocations: 0.7915 MB / 0.5992 GB, free: 21.29 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002809/0.4355, allocations: 1.29 MB / 0.6004 GB, free: 20.48 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004205/0.436, allocations: 471.6 kB / 0.6009 GB, free: 20.05 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000291/0.4363, allocations: 134.2 kB / 0.601 GB, free: 20.01 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003428/0.4397, allocations: 1.622 MB / 0.6026 GB, free: 19.35 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.41e-05/0.4398, allocations: 1.625 kB / 0.6026 GB, free: 19.35 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001333/0.4399, allocations: 46.36 kB / 0.6026 GB, free: 19.32 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.163e-05/0.4399, allocations: 27.25 kB / 0.6026 GB, free: 19.32 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00338/0.4433, allocations: 1.502 MB / 0.6041 GB, free: 18.8 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01186/0.4552, allocations: 5.829 MB / 0.6098 GB, free: 15.5 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008839/0.4641, allocations: 3.183 MB / 0.6129 GB, free: 14.19 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002748/0.4668, allocations: 0.9909 MB / 0.6139 GB, free: 13.79 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005523/0.4674, allocations: 0.7302 MB / 0.6146 GB, free: 12.94 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002934/0.4704, allocations: 1.202 MB / 0.6158 GB, free: 12.48 MB / 430.1 MB Notification: Performance of pre-optimization done (n=148): time 3.306e-06/0.4704, allocations: 0 / 0.6158 GB, free: 12.48 MB / 430.1 MB Notification: Performance of matching and sorting (n=148): time 0.04064/0.511, allocations: 9.979 MB / 0.6255 GB, free: 6.719 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.043e-05/0.5111, allocations: 145.8 kB / 0.6257 GB, free: 6.547 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002594/0.5137, allocations: 1.65 MB / 0.6273 GB, free: 4.895 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005431/0.5143, allocations: 61.64 kB / 0.6273 GB, free: 4.828 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004226/0.5147, allocations: 0.703 MB / 0.628 GB, free: 4.113 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005561/0.5153, allocations: 0.5315 MB / 0.6285 GB, free: 3.574 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006349/0.5159, allocations: 395.9 kB / 0.6289 GB, free: 3.18 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.804e-05/0.516, allocations: 301.1 kB / 0.6292 GB, free: 2.883 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001977/0.518, allocations: 1.078 MB / 0.6302 GB, free: 1.801 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002045/0.52, allocations: 1.314 MB / 0.6315 GB, free: 432 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004858/0.5249, allocations: 2.319 MB / 0.6338 GB, free: 14.01 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.378e-06/0.5249, allocations: 8 kB / 0.6338 GB, free: 14 MB / 446.1 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.01051/0.5354, allocations: 4.006 MB / 0.6377 GB, free: 9.934 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.199e-05/0.5355, allocations: 35.72 kB / 0.6377 GB, free: 9.895 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.653e-05/0.5356, allocations: 8 kB / 0.6378 GB, free: 9.887 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009126/0.5447, allocations: 2.647 MB / 0.6403 GB, free: 7.234 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002045/0.5468, allocations: 383.5 kB / 0.6407 GB, free: 6.859 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006421/0.5532, allocations: 2.696 MB / 0.6433 GB, free: 4.137 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00312/0.5564, allocations: 298 kB / 0.6436 GB, free: 3.844 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002945/0.5567, allocations: 71.98 kB / 0.6437 GB, free: 3.773 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3,iEEET1.rotatingExciter.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (222): * Single equations (assignments): 219 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(30,26)} Notification: Performance of prepare postOptimizeDAE: time 0.0008528/0.5575, allocations: 345.4 kB / 0.644 GB, free: 3.426 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004963/0.558, allocations: 189.6 kB / 0.6442 GB, free: 3.238 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01661/0.5746, allocations: 5.167 MB / 0.6492 GB, free: 14.05 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.627e-05/0.5747, allocations: 20 kB / 0.6493 GB, free: 14.03 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/0.5747, allocations: 0 / 0.6493 GB, free: 14.03 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.845e-05/0.5748, allocations: 11.97 kB / 0.6493 GB, free: 14.02 MB / 462.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02144/0.5962, allocations: 7.647 MB / 0.6567 GB, free: 6.234 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.807e-05/0.5963, allocations: 3.938 kB / 0.6567 GB, free: 6.23 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001218/0.5975, allocations: 167.7 kB / 0.6569 GB, free: 6.066 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007858/0.6054, allocations: 2.232 MB / 0.6591 GB, free: 3.824 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003942/0.6058, allocations: 43.98 kB / 0.6591 GB, free: 3.781 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02679/0.6326, allocations: 11.04 MB / 0.6699 GB, free: 8.469 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.6327, allocations: 4 kB / 0.6699 GB, free: 8.465 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01977/0.6525, allocations: 6.37 MB / 0.6761 GB, free: 2.051 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008829/0.6534, allocations: 298.5 kB / 0.6764 GB, free: 1.738 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000438/0.6538, allocations: 31.98 kB / 0.6765 GB, free: 1.707 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00186/0.6557, allocations: 163.8 kB / 0.6766 GB, free: 1.547 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009339/0.6567, allocations: 273.2 kB / 0.6769 GB, free: 1.281 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001259/0.6568, allocations: 43.98 kB / 0.6769 GB, free: 1.238 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001832/0.6586, allocations: 1.109 MB / 0.678 GB, free: 140 kB / 478.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6586, allocations: 0 / 0.678 GB, free: 140 kB / 478.1 MB Notification: Performance of remove unused functions: time 0.001889/0.6605, allocations: 0.6048 MB / 0.6786 GB, free: 15.53 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 16 (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,gAST.transferFunction1.x_scaled[1],gAST.transferFunction2.x_scaled[1],gAST.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(26,23), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004058/0.661, allocations: 167 kB / 0.6787 GB, free: 15.36 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009043/0.67, allocations: 3.149 MB / 0.6818 GB, free: 12.19 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.6701, allocations: 0 / 0.6818 GB, free: 12.19 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006559/0.6766, allocations: 2.139 MB / 0.6839 GB, free: 10.02 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001997/0.6787, allocations: 175.2 kB / 0.6841 GB, free: 9.852 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007496/0.6862, allocations: 4.268 MB / 0.6882 GB, free: 5.547 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009242/0.6871, allocations: 1.343 MB / 0.6896 GB, free: 4.172 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007799/0.6879, allocations: 111.4 kB / 0.6897 GB, free: 4.062 MB / 494.1 MB Notification: Performance of SimCode: time 8.61e-07/0.6879, allocations: 0 / 0.6897 GB, free: 4.062 MB / 494.1 MB Notification: Performance of Templates: time 0.04452/0.7325, allocations: 33.84 MB / 0.7227 GB, free: 2.203 MB / 0.5137 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe 2>&1)