Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GAST.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/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/Modelica 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: translateModel(OpenIPSL.Tests.Controls.PSSE.TG.GAST,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GAST") translateModel(OpenIPSL.Tests.Controls.PSSE.TG.GAST,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GAST") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.084/0.084, allocations: 12.6 MB / 28.1 MB, free: 0.832 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 107.5 kB / 31.69 MB, free: 3.965 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.453/1.453, allocations: 205.1 MB / 240.3 MB, free: 12.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 188.5 kB / 290.5 MB, free: 13.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4409/0.4409, allocations: 78.49 MB / 419.1 MB, free: 11.36 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002854/0.002855, allocations: 131.8 kB / 499.8 MB, free: 10.84 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3174/0.3203, allocations: 68.12 MB / 0.5546 GB, free: 32.74 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.GAST): time 0.008736/0.3291, allocations: 9.275 MB / 0.5636 GB, free: 25.84 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006945/0.3362, allocations: 2.833 MB / 0.5664 GB, free: 23.49 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001895/0.3381, allocations: 16.72 kB / 0.5664 GB, free: 23.49 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00113/0.3393, allocations: 372.9 kB / 0.5668 GB, free: 23.18 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00334/0.3426, allocations: 1.267 MB / 0.568 GB, free: 22.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001759/0.3444, allocations: 0.8388 MB / 0.5688 GB, free: 21.52 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003631/0.348, allocations: 2.732 MB / 0.5715 GB, free: 19.89 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009028/0.349, allocations: 0.5401 MB / 0.572 GB, free: 19.57 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001708/0.3507, allocations: 1.03 MB / 0.573 GB, free: 18.92 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001524/0.3522, allocations: 1.293 MB / 0.5743 GB, free: 18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004722/0.3527, allocations: 219.2 kB / 0.5745 GB, free: 18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001062/0.3538, allocations: 470.8 kB / 0.5749 GB, free: 17.88 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003754/0.3542, allocations: 0.5451 MB / 0.5755 GB, free: 17.41 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008996/0.3551, allocations: 1.057 MB / 0.5765 GB, free: 16.58 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002569/0.3577, allocations: 2.703 MB / 0.5792 GB, free: 14.29 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.3577, allocations: 7.938 kB / 0.5792 GB, free: 14.28 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3577, allocations: 0 / 0.5792 GB, free: 14.28 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.477e-05/0.3577, allocations: 0 / 0.5792 GB, free: 14.28 MB / 398.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.01355/0.3713, allocations: 4.167 MB / 0.5832 GB, free: 10.05 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.3714, allocations: 11.98 kB / 0.5832 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004562/0.3759, allocations: 0.7857 MB / 0.584 GB, free: 9.246 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002338/0.3783, allocations: 1.283 MB / 0.5853 GB, free: 7.914 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003716/0.3787, allocations: 474.6 kB / 0.5857 GB, free: 7.375 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002213/0.3789, allocations: 135.9 kB / 0.5858 GB, free: 7.242 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002769/0.3817, allocations: 1.624 MB / 0.5874 GB, free: 5.57 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.222e-05/0.3817, allocations: 4 kB / 0.5874 GB, free: 5.566 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001284/0.3819, allocations: 48 kB / 0.5875 GB, free: 5.52 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.81e-05/0.3819, allocations: 28 kB / 0.5875 GB, free: 5.492 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002839/0.3847, allocations: 1.496 MB / 0.589 GB, free: 3.988 MB / 398.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.009445/0.3942, allocations: 5.835 MB / 0.5947 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008784/0.403, allocations: 3.169 MB / 0.5978 GB, free: 10.63 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002082/0.4051, allocations: 0.9987 MB / 0.5987 GB, free: 9.625 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006212/0.4057, allocations: 0.7349 MB / 0.5995 GB, free: 8.723 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002616/0.4084, allocations: 1.201 MB / 0.6006 GB, free: 7.496 MB / 414.1 MB Notification: Performance of pre-optimization done (n=148): time 3.607e-06/0.4084, allocations: 0 / 0.6006 GB, free: 7.496 MB / 414.1 MB Notification: Performance of matching and sorting (n=148): time 0.04124/0.4496, allocations: 9.988 MB / 0.6104 GB, free: 13.45 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.24e-05/0.4498, allocations: 141.8 kB / 0.6105 GB, free: 13.28 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002761/0.4525, allocations: 1.643 MB / 0.6121 GB, free: 11.64 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004277/0.453, allocations: 57.7 kB / 0.6122 GB, free: 11.57 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005626/0.4536, allocations: 0.703 MB / 0.6129 GB, free: 10.86 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006594/0.4542, allocations: 0.5315 MB / 0.6134 GB, free: 10.32 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007056/0.4549, allocations: 395.9 kB / 0.6138 GB, free: 9.926 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.4551, allocations: 301.1 kB / 0.614 GB, free: 9.629 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002401/0.4575, allocations: 1.082 MB / 0.6151 GB, free: 8.543 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00263/0.4601, allocations: 1.311 MB / 0.6164 GB, free: 7.168 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00493/0.4651, allocations: 2.323 MB / 0.6186 GB, free: 4.754 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.939e-06/0.4651, allocations: 4 kB / 0.6187 GB, free: 4.75 MB / 430.1 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.01061/0.4757, allocations: 4.01 MB / 0.6226 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.396e-05/0.4758, allocations: 33.64 kB / 0.6226 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.759e-05/0.4759, allocations: 8 kB / 0.6226 GB, free: 0.6289 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009505/0.4854, allocations: 2.655 MB / 0.6252 GB, free: 13.97 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002119/0.4875, allocations: 383.4 kB / 0.6256 GB, free: 13.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006557/0.4941, allocations: 2.695 MB / 0.6282 GB, free: 10.87 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003369/0.4975, allocations: 294 kB / 0.6285 GB, free: 10.58 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003239/0.4979, allocations: 75.98 kB / 0.6285 GB, free: 10.51 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.0007816/0.4987, allocations: 345.4 kB / 0.6289 GB, free: 10.16 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004529/0.4991, allocations: 185.7 kB / 0.6291 GB, free: 9.977 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0173/0.5164, allocations: 5.171 MB / 0.6341 GB, free: 4.781 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-05/0.5165, allocations: 16 kB / 0.6341 GB, free: 4.766 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/0.5165, allocations: 4 kB / 0.6341 GB, free: 4.762 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.73e-05/0.5166, allocations: 11.97 kB / 0.6341 GB, free: 4.75 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.02156/0.5382, allocations: 7.651 MB / 0.6416 GB, free: 12.96 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.692e-05/0.5382, allocations: 0 / 0.6416 GB, free: 12.96 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001197/0.5394, allocations: 171.7 kB / 0.6418 GB, free: 12.79 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007961/0.5474, allocations: 2.24 MB / 0.644 GB, free: 10.54 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004701/0.5479, allocations: 35.98 kB / 0.644 GB, free: 10.51 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02961/0.5776, allocations: 12.09 MB / 0.6558 GB, free: 14.13 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.5776, allocations: 0 / 0.6558 GB, free: 14.13 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02031/0.5979, allocations: 6.362 MB / 0.662 GB, free: 7.73 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007282/0.5987, allocations: 298.5 kB / 0.6623 GB, free: 7.418 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003576/0.599, allocations: 31.98 kB / 0.6623 GB, free: 7.387 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001857/0.6009, allocations: 159.8 kB / 0.6625 GB, free: 7.23 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008381/0.6017, allocations: 293.2 kB / 0.6628 GB, free: 6.938 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001211/0.6019, allocations: 43.98 kB / 0.6628 GB, free: 6.895 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001771/0.6037, allocations: 1.101 MB / 0.6639 GB, free: 5.801 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.6037, allocations: 0 / 0.6639 GB, free: 5.801 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001669/0.6053, allocations: 0.6048 MB / 0.6645 GB, free: 5.195 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 (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.0003717/0.6057, allocations: 171.1 kB / 0.6646 GB, free: 5.02 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01044/0.6162, allocations: 3.236 MB / 0.6678 GB, free: 1.762 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/0.6162, allocations: 0 / 0.6678 GB, free: 1.762 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006948/0.6232, allocations: 2.191 MB / 0.6699 GB, free: 15.54 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001591/0.6248, allocations: 173.6 kB / 0.6701 GB, free: 15.37 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006601/0.6314, allocations: 3.609 MB / 0.6736 GB, free: 11.73 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008612/0.6323, allocations: 1.343 MB / 0.6749 GB, free: 10.36 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0008371/0.6331, allocations: 175.6 kB / 0.6751 GB, free: 10.18 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004345/0.6336, allocations: 115.4 kB / 0.6752 GB, free: 10.07 MB / 494.1 MB Notification: Performance of SimCode: time 9.92e-07/0.6336, allocations: 0 / 0.6752 GB, free: 10.07 MB / 494.1 MB Notification: Performance of Templates: time 0.05222/0.6858, allocations: 33.15 MB / 0.7076 GB, free: 8.938 MB / 0.5137 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GAST.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GAST.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GAST -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe 2>&1)