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.0009071/0.0009072, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.252/1.252, allocations: 223.2 MB / 238.9 MB, free: 5.629 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.001055/0.001055, allocations: 185 kB / 290.2 MB, free: 2.316 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4189/0.4189, allocations: 79.46 MB / 420.7 MB, free: 3.953 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003393/0.0003394, allocations: 8 kB / 0.489 GB, free: 5.594 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1145, allocations: 69.52 MB / 0.5569 GB, free: 16 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.GAST): time 0.2015/0.316, allocations: 8.055 MB / 0.5648 GB, free: 37.08 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005106/0.3211, allocations: 2.816 MB / 0.5675 GB, free: 35.97 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001236/0.3224, allocations: 15.88 kB / 0.5675 GB, free: 35.97 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008418/0.3232, allocations: 262.8 kB / 0.5678 GB, free: 35.85 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002222/0.3255, allocations: 1.032 MB / 0.5688 GB, free: 35.18 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00135/0.3268, allocations: 0.6546 MB / 0.5694 GB, free: 34.88 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001799/0.3286, allocations: 1.561 MB / 0.5709 GB, free: 34.04 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005678/0.3292, allocations: 435.6 kB / 0.5714 GB, free: 33.89 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001016/0.3302, allocations: 0.8576 MB / 0.5722 GB, free: 33.51 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001062/0.3313, allocations: 1.08 MB / 0.5732 GB, free: 33.05 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000221/0.3316, allocations: 101.5 kB / 0.5733 GB, free: 33.05 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006821/0.3322, allocations: 319.9 kB / 0.5737 GB, free: 32.98 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000286/0.3325, allocations: 402.4 kB / 0.574 GB, free: 32.77 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000282/0.3328, allocations: 337.5 kB / 0.5744 GB, free: 32.55 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00157/0.3344, allocations: 1.98 MB / 0.5763 GB, free: 32.02 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.3344, allocations: 0 / 0.5763 GB, free: 32.02 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3344, allocations: 1.062 kB / 0.5763 GB, free: 32.02 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.103e-05/0.3345, allocations: 0 / 0.5763 GB, free: 32.02 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.01171/0.3462, allocations: 3.705 MB / 0.5799 GB, free: 30.6 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.3462, allocations: 10.34 kB / 0.5799 GB, free: 30.6 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004674/0.3509, allocations: 0.7879 MB / 0.5807 GB, free: 30.41 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002212/0.3532, allocations: 1.232 MB / 0.5819 GB, free: 29.67 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003561/0.3535, allocations: 483.6 kB / 0.5824 GB, free: 29.24 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002164/0.3538, allocations: 129.9 kB / 0.5825 GB, free: 29.2 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002882/0.3567, allocations: 1.685 MB / 0.5841 GB, free: 28.54 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.404e-05/0.3567, allocations: 7.891 kB / 0.5841 GB, free: 28.53 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001295/0.3568, allocations: 50.5 kB / 0.5842 GB, free: 28.49 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.779e-05/0.3568, allocations: 26.25 kB / 0.5842 GB, free: 28.49 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002947/0.3598, allocations: 1.584 MB / 0.5857 GB, free: 27.96 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.009787/0.3696, allocations: 6.033 MB / 0.5916 GB, free: 24.53 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009188/0.3788, allocations: 3.76 MB / 0.5953 GB, free: 23.18 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004664/0.3793, allocations: 0.7313 MB / 0.596 GB, free: 22.32 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002599/0.3819, allocations: 1.273 MB / 0.5973 GB, free: 21.86 MB / 430.1 MB Notification: Performance of pre-optimization done (n=148): time 3.096e-06/0.3819, allocations: 0 / 0.5973 GB, free: 21.86 MB / 430.1 MB Notification: Performance of matching and sorting (n=148): time 0.04376/0.4257, allocations: 11.94 MB / 0.6089 GB, free: 19.78 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.505e-05/0.4258, allocations: 144.9 kB / 0.6091 GB, free: 19.62 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002807/0.4286, allocations: 1.635 MB / 0.6107 GB, free: 18.84 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004084/0.429, allocations: 59.69 kB / 0.6107 GB, free: 18.79 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004253/0.4295, allocations: 0.7082 MB / 0.6114 GB, free: 18.15 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004932/0.43, allocations: 0.5315 MB / 0.6119 GB, free: 17.68 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001361/0.4301, allocations: 46.97 kB / 0.612 GB, free: 17.64 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.673e-05/0.4302, allocations: 384.1 kB / 0.6123 GB, free: 17.28 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002279/0.4325, allocations: 1.154 MB / 0.6135 GB, free: 16.73 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002328/0.4348, allocations: 1.378 MB / 0.6148 GB, free: 15.94 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00239/0.4372, allocations: 1.262 MB / 0.616 GB, free: 15.29 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.835e-06/0.4373, allocations: 5.125 kB / 0.6161 GB, free: 15.29 MB / 430.1 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.009394/0.4467, allocations: 4.378 MB / 0.6203 GB, free: 11.28 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.621e-05/0.4467, allocations: 29.7 kB / 0.6204 GB, free: 11.24 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.314e-05/0.4468, allocations: 8 kB / 0.6204 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008755/0.4555, allocations: 3.028 MB / 0.6233 GB, free: 8.203 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001859/0.4574, allocations: 384.3 kB / 0.6237 GB, free: 7.828 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006156/0.4636, allocations: 3.012 MB / 0.6266 GB, free: 4.801 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003149/0.4668, allocations: 342.1 kB / 0.627 GB, free: 4.465 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002943/0.4671, allocations: 75.97 kB / 0.627 GB, free: 4.391 MB / 430.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 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,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 (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.0007981/0.4679, allocations: 350.5 kB / 0.6274 GB, free: 4.039 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004102/0.4683, allocations: 190.4 kB / 0.6275 GB, free: 3.852 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01697/0.4853, allocations: 6.223 MB / 0.6336 GB, free: 13.61 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.923e-05/0.4854, allocations: 16 kB / 0.6336 GB, free: 13.59 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.259e-05/0.4854, allocations: 0 / 0.6336 GB, free: 13.59 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.391e-05/0.4855, allocations: 11.97 kB / 0.6336 GB, free: 13.58 MB / 446.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.02248/0.5079, allocations: 8.756 MB / 0.6422 GB, free: 4.668 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.544e-05/0.508, allocations: 8.859 kB / 0.6422 GB, free: 4.66 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001087/0.5091, allocations: 167.7 kB / 0.6424 GB, free: 4.496 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008411/0.5175, allocations: 2.614 MB / 0.6449 GB, free: 1.875 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003427/0.5179, allocations: 41.5 kB / 0.645 GB, free: 1.836 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02853/0.5464, allocations: 12.82 MB / 0.6575 GB, free: 4.746 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.5465, allocations: 0.5469 kB / 0.6575 GB, free: 4.746 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02083/0.5673, allocations: 7.546 MB / 0.6648 GB, free: 13.14 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000793/0.5682, allocations: 310.5 kB / 0.6651 GB, free: 12.82 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003899/0.5686, allocations: 32 kB / 0.6652 GB, free: 12.79 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001818/0.5704, allocations: 207.8 kB / 0.6654 GB, free: 12.58 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008774/0.5713, allocations: 286.2 kB / 0.6656 GB, free: 12.3 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001116/0.5714, allocations: 44.86 kB / 0.6657 GB, free: 12.26 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001716/0.5731, allocations: 1.097 MB / 0.6668 GB, free: 11.17 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.5731, allocations: 0 / 0.6668 GB, free: 11.17 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001677/0.5748, allocations: 0.6008 MB / 0.6673 GB, free: 10.57 MB / 478.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 (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 {26 23,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003913/0.5752, allocations: 167.1 kB / 0.6675 GB, free: 10.39 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009407/0.5846, allocations: 3.499 MB / 0.6709 GB, free: 6.879 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.5847, allocations: 0 / 0.6709 GB, free: 6.879 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00685/0.5915, allocations: 2.413 MB / 0.6733 GB, free: 4.445 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001311/0.5929, allocations: 148.1 kB / 0.6734 GB, free: 4.301 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006559/0.5995, allocations: 4.22 MB / 0.6775 GB, free: 112 kB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008416/0.6003, allocations: 1.382 MB / 0.6789 GB, free: 14.7 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0007779/0.6011, allocations: 176.6 kB / 0.6791 GB, free: 14.53 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003743/0.6015, allocations: 111.4 kB / 0.6792 GB, free: 14.42 MB / 494.1 MB Notification: Performance of SimCode: time 4.51e-07/0.6015, allocations: 0 / 0.6792 GB, free: 14.42 MB / 494.1 MB Notification: Performance of Templates: time 0.04137/0.6429, allocations: 28.34 MB / 0.7068 GB, free: 2.219 MB / 0.4981 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)