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.001093/0.001093, allocations: 108 kB / 16.36 MB, free: 5.824 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.277/1.277, allocations: 222.9 MB / 240 MB, free: 4.504 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.001222/0.001222, allocations: 188.5 kB / 290.3 MB, free: 2.227 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4675/0.4675, allocations: 91.9 MB / 432.4 MB, free: 9.18 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 88.19 kB / 0.5033 GB, free: 6.957 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3168/0.3182, allocations: 71.26 MB / 0.5729 GB, free: 37.05 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.GAST): time 0.007426/0.3257, allocations: 9.244 MB / 0.5819 GB, free: 31.16 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005231/0.331, allocations: 2.88 MB / 0.5847 GB, free: 29.12 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001365/0.3324, allocations: 20.47 kB / 0.5847 GB, free: 29.11 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009993/0.3334, allocations: 368.5 kB / 0.5851 GB, free: 28.91 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002868/0.3363, allocations: 1.171 MB / 0.5862 GB, free: 28.15 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001537/0.3379, allocations: 0.8358 MB / 0.587 GB, free: 27.73 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002834/0.3407, allocations: 2.608 MB / 0.5896 GB, free: 26.46 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007558/0.3415, allocations: 0.5474 MB / 0.5901 GB, free: 26.18 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001381/0.3429, allocations: 1.022 MB / 0.5911 GB, free: 25.68 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001278/0.3442, allocations: 1.282 MB / 0.5924 GB, free: 25.05 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003825/0.3446, allocations: 220.2 kB / 0.5926 GB, free: 25.05 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0013/0.3459, allocations: 476.2 kB / 0.593 GB, free: 24.97 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004644/0.3463, allocations: 0.5394 MB / 0.5936 GB, free: 24.62 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001051/0.3474, allocations: 1.06 MB / 0.5946 GB, free: 23.89 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002942/0.3503, allocations: 2.737 MB / 0.5973 GB, free: 22.71 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.3504, allocations: 0 / 0.5973 GB, free: 22.71 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.3504, allocations: 0 / 0.5973 GB, free: 22.71 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.271e-05/0.3504, allocations: 0 / 0.5973 GB, free: 22.71 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.01276/0.3632, allocations: 3.954 MB / 0.6011 GB, free: 21.01 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.3632, allocations: 10.09 kB / 0.6011 GB, free: 21.01 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004821/0.3681, allocations: 0.7915 MB / 0.6019 GB, free: 20.82 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002589/0.3707, allocations: 1.289 MB / 0.6032 GB, free: 20.02 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003819/0.3711, allocations: 470.7 kB / 0.6036 GB, free: 19.59 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002422/0.3713, allocations: 135.7 kB / 0.6038 GB, free: 19.54 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003059/0.3744, allocations: 1.623 MB / 0.6053 GB, free: 18.88 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.281e-05/0.3744, allocations: 1 kB / 0.6053 GB, free: 18.88 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001237/0.3746, allocations: 47.06 kB / 0.6054 GB, free: 18.85 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.483e-05/0.3746, allocations: 28.16 kB / 0.6054 GB, free: 18.85 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002946/0.3775, allocations: 1.496 MB / 0.6069 GB, free: 18.33 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.009633/0.3872, allocations: 5.794 MB / 0.6125 GB, free: 15.05 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007891/0.3951, allocations: 3.192 MB / 0.6157 GB, free: 13.73 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002067/0.3972, allocations: 0.991 MB / 0.6166 GB, free: 13.33 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004464/0.3977, allocations: 0.7295 MB / 0.6173 GB, free: 12.48 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002313/0.4, allocations: 1.21 MB / 0.6185 GB, free: 12.02 MB / 430.1 MB Notification: Performance of pre-optimization done (n=148): time 3.377e-06/0.4, allocations: 0 / 0.6185 GB, free: 12.02 MB / 430.1 MB Notification: Performance of matching and sorting (n=148): time 0.03577/0.4358, allocations: 9.97 MB / 0.6283 GB, free: 4.977 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.099e-05/0.4359, allocations: 149.8 kB / 0.6284 GB, free: 4.801 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002263/0.4381, allocations: 1.65 MB / 0.63 GB, free: 3.148 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004071/0.4385, allocations: 57.7 kB / 0.6301 GB, free: 3.086 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003651/0.4389, allocations: 0.7068 MB / 0.6308 GB, free: 2.367 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004329/0.4394, allocations: 0.5276 MB / 0.6313 GB, free: 1.832 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006044/0.44, allocations: 395.9 kB / 0.6316 GB, free: 1.438 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.62e-05/0.44, allocations: 301.1 kB / 0.6319 GB, free: 1.141 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001828/0.4418, allocations: 1.082 MB / 0.633 GB, free: 56 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002286/0.4441, allocations: 1.307 MB / 0.6343 GB, free: 14.68 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004576/0.4487, allocations: 2.331 MB / 0.6365 GB, free: 12.26 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.447e-06/0.4488, allocations: 4 kB / 0.6365 GB, free: 12.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.009494/0.4583, allocations: 4.003 MB / 0.6405 GB, free: 8.188 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.025e-05/0.4583, allocations: 33.7 kB / 0.6405 GB, free: 8.148 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.245e-05/0.4584, allocations: 4 kB / 0.6405 GB, free: 8.145 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008428/0.4668, allocations: 2.655 MB / 0.6431 GB, free: 5.484 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001899/0.4687, allocations: 379.5 kB / 0.6434 GB, free: 5.113 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005811/0.4746, allocations: 2.695 MB / 0.6461 GB, free: 2.391 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002862/0.4774, allocations: 290.1 kB / 0.6464 GB, free: 2.105 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00026/0.4777, allocations: 75.98 kB / 0.6464 GB, free: 2.031 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.0007752/0.4785, allocations: 345.4 kB / 0.6468 GB, free: 1.684 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004178/0.4789, allocations: 185.7 kB / 0.6469 GB, free: 1.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01531/0.4942, allocations: 5.178 MB / 0.652 GB, free: 12.3 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-05/0.4943, allocations: 16 kB / 0.652 GB, free: 12.29 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/0.4943, allocations: 4 kB / 0.652 GB, free: 12.28 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.606e-05/0.4944, allocations: 11.97 kB / 0.652 GB, free: 12.27 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.0196/0.514, allocations: 7.637 MB / 0.6595 GB, free: 4.488 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.102e-05/0.5141, allocations: 4 kB / 0.6595 GB, free: 4.484 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001231/0.5153, allocations: 171.8 kB / 0.6596 GB, free: 4.316 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007344/0.5227, allocations: 2.232 MB / 0.6618 GB, free: 2.074 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003995/0.5231, allocations: 39.92 kB / 0.6619 GB, free: 2.035 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02615/0.5493, allocations: 12.06 MB / 0.6736 GB, free: 5.695 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.5493, allocations: 3.938 kB / 0.6736 GB, free: 5.691 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01814/0.5674, allocations: 6.371 MB / 0.6799 GB, free: 15.29 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009706/0.5685, allocations: 298.5 kB / 0.6801 GB, free: 14.97 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000738/0.5692, allocations: 36 kB / 0.6802 GB, free: 14.94 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00209/0.5713, allocations: 159.8 kB / 0.6803 GB, free: 14.78 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001053/0.5724, allocations: 293.3 kB / 0.6806 GB, free: 14.49 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001273/0.5725, allocations: 39.98 kB / 0.6807 GB, free: 14.45 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001891/0.5744, allocations: 1.109 MB / 0.6817 GB, free: 13.35 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.8e-07/0.5744, allocations: 3.938 kB / 0.6817 GB, free: 13.35 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00222/0.5767, allocations: 0.6009 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.0004408/0.5771, allocations: 169.7 kB / 0.6825 GB, free: 12.57 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008974/0.5861, allocations: 3.177 MB / 0.6856 GB, free: 9.371 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/0.5862, allocations: 3.938 kB / 0.6856 GB, free: 9.367 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006555/0.5927, allocations: 2.183 MB / 0.6877 GB, free: 7.156 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00172/0.5945, allocations: 175.9 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.006528/0.601, allocations: 3.557 MB / 0.6914 GB, free: 3.395 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008798/0.6019, allocations: 1.347 MB / 0.6927 GB, free: 2.016 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0008517/0.6028, allocations: 171.6 kB / 0.6928 GB, free: 1.844 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003887/0.6032, allocations: 111.4 kB / 0.693 GB, free: 1.738 MB / 494.1 MB Notification: Performance of SimCode: time 5.81e-07/0.6032, allocations: 0 / 0.693 GB, free: 1.738 MB / 494.1 MB Notification: Performance of Templates: time 0.05048/0.6537, allocations: 33.16 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 cvode -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe 2>&1)