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.001074/0.001074, allocations: 106.4 kB / 16.36 MB, free: 5.875 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.304/1.304, allocations: 222.9 MB / 240 MB, free: 4.539 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.001321/0.001321, allocations: 184.5 kB / 290.3 MB, free: 2.266 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4903/0.4903, allocations: 91.9 MB / 432.4 MB, free: 9.176 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 79.86 kB / 0.5033 GB, free: 6.969 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2902/0.2916, allocations: 71.26 MB / 0.5729 GB, free: 37.07 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.GAST): time 0.00711/0.2988, allocations: 9.245 MB / 0.5819 GB, free: 31.12 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00417/0.303, allocations: 2.877 MB / 0.5847 GB, free: 29.09 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008787/0.3039, allocations: 20.91 kB / 0.5847 GB, free: 29.08 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007192/0.3046, allocations: 367.7 kB / 0.5851 GB, free: 28.88 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002082/0.3067, allocations: 1.174 MB / 0.5862 GB, free: 28.12 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001431/0.3082, allocations: 0.833 MB / 0.5871 GB, free: 27.7 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001815/0.31, allocations: 2.613 MB / 0.5896 GB, free: 26.42 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000568/0.3106, allocations: 0.5407 MB / 0.5901 GB, free: 26.15 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008612/0.3114, allocations: 1.022 MB / 0.5911 GB, free: 25.64 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001016/0.3125, allocations: 1.281 MB / 0.5924 GB, free: 25.02 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002785/0.3127, allocations: 219.9 kB / 0.5926 GB, free: 25.02 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006534/0.3134, allocations: 477 kB / 0.593 GB, free: 24.94 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003246/0.3137, allocations: 0.5401 MB / 0.5936 GB, free: 24.59 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006545/0.3144, allocations: 1.061 MB / 0.5946 GB, free: 23.86 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001818/0.3162, allocations: 2.736 MB / 0.5973 GB, free: 22.67 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3162, allocations: 1.281 kB / 0.5973 GB, free: 22.67 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3163, allocations: 0 / 0.5973 GB, free: 22.67 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.292e-05/0.3163, allocations: 0 / 0.5973 GB, free: 22.67 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.01211/0.3284, allocations: 3.954 MB / 0.6011 GB, free: 20.98 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.3284, allocations: 9.531 kB / 0.6012 GB, free: 20.98 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004592/0.333, allocations: 0.7827 MB / 0.6019 GB, free: 20.79 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002127/0.3352, allocations: 1.294 MB / 0.6032 GB, free: 19.98 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003469/0.3355, allocations: 471.4 kB / 0.6036 GB, free: 19.55 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000228/0.3358, allocations: 133.8 kB / 0.6038 GB, free: 19.51 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002948/0.3387, allocations: 1.624 MB / 0.6053 GB, free: 18.85 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.303e-05/0.3388, allocations: 0 / 0.6053 GB, free: 18.85 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001248/0.3389, allocations: 46.62 kB / 0.6054 GB, free: 18.82 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.191e-05/0.3389, allocations: 29.3 kB / 0.6054 GB, free: 18.82 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003008/0.3419, allocations: 1.502 MB / 0.6069 GB, free: 18.3 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.009265/0.3512, allocations: 5.792 MB / 0.6125 GB, free: 15.02 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007922/0.3591, allocations: 3.187 MB / 0.6157 GB, free: 13.7 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001831/0.361, allocations: 0.9916 MB / 0.6166 GB, free: 13.3 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004503/0.3615, allocations: 0.731 MB / 0.6173 GB, free: 12.45 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002325/0.3638, allocations: 1.206 MB / 0.6185 GB, free: 11.98 MB / 430.1 MB Notification: Performance of pre-optimization done (n=148): time 4.448e-06/0.3638, allocations: 0 / 0.6185 GB, free: 11.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=148): time 0.03585/0.3997, allocations: 9.973 MB / 0.6283 GB, free: 4.973 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.791e-05/0.3997, allocations: 145.8 kB / 0.6284 GB, free: 4.801 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002319/0.4021, allocations: 1.65 MB / 0.63 GB, free: 3.148 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001983/0.4023, allocations: 61.69 kB / 0.6301 GB, free: 3.082 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000395/0.4027, allocations: 0.703 MB / 0.6307 GB, free: 2.367 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004047/0.4031, allocations: 0.5315 MB / 0.6313 GB, free: 1.828 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006597/0.4038, allocations: 391.9 kB / 0.6316 GB, free: 1.438 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.262e-05/0.4038, allocations: 305.1 kB / 0.6319 GB, free: 1.137 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001892/0.4057, allocations: 1.078 MB / 0.633 GB, free: 56 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002409/0.4081, allocations: 1.303 MB / 0.6343 GB, free: 14.69 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004467/0.4126, allocations: 2.331 MB / 0.6365 GB, free: 12.27 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.273e-06/0.4126, allocations: 4 kB / 0.6365 GB, free: 12.26 MB / 446.1 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.009337/0.422, allocations: 4.018 MB / 0.6405 GB, free: 8.18 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.326e-05/0.422, allocations: 29.7 kB / 0.6405 GB, free: 8.145 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.102e-05/0.422, allocations: 11.98 kB / 0.6405 GB, free: 8.133 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008317/0.4304, allocations: 2.648 MB / 0.6431 GB, free: 5.477 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0016/0.432, allocations: 391.4 kB / 0.6435 GB, free: 5.094 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005611/0.4376, allocations: 2.687 MB / 0.6461 GB, free: 2.379 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002274/0.4399, allocations: 294.1 kB / 0.6464 GB, free: 2.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001968/0.4401, allocations: 75.97 kB / 0.6464 GB, free: 2.016 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.0006659/0.4408, allocations: 348.4 kB / 0.6468 GB, free: 1.668 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003816/0.4411, allocations: 185.7 kB / 0.6469 GB, free: 1.484 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01559/0.4567, allocations: 5.171 MB / 0.652 GB, free: 12.29 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.742e-05/0.4568, allocations: 16 kB / 0.652 GB, free: 12.28 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.277e-06/0.4568, allocations: 8 kB / 0.652 GB, free: 12.27 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.11e-05/0.4568, allocations: 7.969 kB / 0.652 GB, free: 12.26 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.01929/0.4761, allocations: 7.637 MB / 0.6595 GB, free: 4.48 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/0.4761, allocations: 0 / 0.6595 GB, free: 4.48 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000939/0.4771, allocations: 167.8 kB / 0.6596 GB, free: 4.316 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007242/0.4843, allocations: 2.24 MB / 0.6618 GB, free: 2.066 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001536/0.4845, allocations: 43.92 kB / 0.6619 GB, free: 2.023 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0267/0.5112, allocations: 12.06 MB / 0.6736 GB, free: 5.684 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.5113, allocations: 3.938 kB / 0.6736 GB, free: 5.68 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01925/0.5305, allocations: 6.361 MB / 0.6799 GB, free: 15.28 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007712/0.5313, allocations: 302.5 kB / 0.6801 GB, free: 14.96 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005075/0.5318, allocations: 31.98 kB / 0.6802 GB, free: 14.93 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001946/0.5338, allocations: 159.8 kB / 0.6803 GB, free: 14.78 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009126/0.5347, allocations: 293.3 kB / 0.6806 GB, free: 14.49 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001508/0.5349, allocations: 43.98 kB / 0.6807 GB, free: 14.45 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0019/0.5368, allocations: 1.105 MB / 0.6817 GB, free: 13.35 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5368, allocations: 0 / 0.6817 GB, free: 13.35 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001796/0.5386, allocations: 0.6008 MB / 0.6823 GB, free: 12.75 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.000377/0.539, allocations: 173.7 kB / 0.6825 GB, free: 12.57 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008875/0.5479, allocations: 3.177 MB / 0.6856 GB, free: 9.367 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.5479, allocations: 3.938 kB / 0.6856 GB, free: 9.363 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00628/0.5542, allocations: 2.187 MB / 0.6877 GB, free: 7.148 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001276/0.5555, allocations: 168.1 kB / 0.6879 GB, free: 6.984 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006269/0.5618, allocations: 3.558 MB / 0.6914 GB, free: 3.395 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009035/0.5627, allocations: 1.35 MB / 0.6927 GB, free: 2.012 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006489/0.5633, allocations: 179.6 kB / 0.6929 GB, free: 1.832 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004121/0.5638, allocations: 111.4 kB / 0.693 GB, free: 1.727 MB / 494.1 MB Notification: Performance of SimCode: time 4.81e-07/0.5638, allocations: 0 / 0.693 GB, free: 1.727 MB / 494.1 MB Notification: Performance of Templates: time 0.05105/0.6148, allocations: 33.15 MB / 0.7253 GB, free: 0.6094 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 -s gbode -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe 2>&1)