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/Complex 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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/Complex 4.0.0+maint.om/package.mo): time 0.001816/0.001817, allocations: 183 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 222.9 MB / 239.7 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009489/0.0009489, allocations: 102.1 kB / 289.9 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4561/0.4561, allocations: 78.48 MB / 418.5 MB, free: 8.875 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 67.89 kB / 497.4 MB, free: 10.72 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2544/0.2556, allocations: 68.12 MB / 0.5523 GB, free: 20.22 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.GAST): time 0.006968/0.2626, allocations: 9.542 MB / 0.5616 GB, free: 10.63 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004765/0.2674, allocations: 2.922 MB / 0.5645 GB, free: 7.703 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001176/0.2686, allocations: 23.94 kB / 0.5645 GB, free: 7.68 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008438/0.2695, allocations: 278.2 kB / 0.5648 GB, free: 7.406 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002678/0.2722, allocations: 1.134 MB / 0.5659 GB, free: 6.273 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001423/0.2736, allocations: 0.7717 MB / 0.5666 GB, free: 5.508 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002102/0.2757, allocations: 2.619 MB / 0.5692 GB, free: 2.879 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005772/0.2763, allocations: 0.4948 MB / 0.5697 GB, free: 2.352 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009289/0.2773, allocations: 0.9217 MB / 0.5706 GB, free: 1.426 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008949/0.2782, allocations: 1.217 MB / 0.5718 GB, free: 208 kB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002082/0.2784, allocations: 120 kB / 0.5719 GB, free: 88 kB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007232/0.2791, allocations: 375.7 kB / 0.5722 GB, free: 15.72 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003954/0.2795, allocations: 446 kB / 0.5727 GB, free: 15.28 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008784/0.2804, allocations: 0.9706 MB / 0.5736 GB, free: 14.3 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002323/0.2827, allocations: 2.624 MB / 0.5762 GB, free: 11.67 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.2828, allocations: 4 kB / 0.5762 GB, free: 11.67 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2828, allocations: 0 / 0.5762 GB, free: 11.67 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.827e-05/0.2828, allocations: 0 / 0.5762 GB, free: 11.67 MB / 394.7 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.01461/0.2974, allocations: 4.165 MB / 0.5802 GB, free: 7.434 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.2975, allocations: 8.031 kB / 0.5802 GB, free: 7.426 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004533/0.302, allocations: 0.7935 MB / 0.581 GB, free: 6.629 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002537/0.3046, allocations: 1.279 MB / 0.5823 GB, free: 5.301 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000472/0.3051, allocations: 470.7 kB / 0.5827 GB, free: 4.766 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002623/0.3053, allocations: 135.9 kB / 0.5828 GB, free: 4.633 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003382/0.3087, allocations: 1.624 MB / 0.5844 GB, free: 2.961 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.638e-05/0.3088, allocations: 0 / 0.5844 GB, free: 2.961 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000168/0.309, allocations: 44 kB / 0.5845 GB, free: 2.918 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.312e-05/0.309, allocations: 28 kB / 0.5845 GB, free: 2.891 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003401/0.3124, allocations: 1.504 MB / 0.586 GB, free: 1.379 MB / 394.7 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.01127/0.3237, allocations: 5.831 MB / 0.5917 GB, free: 11.33 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009173/0.3329, allocations: 3.19 MB / 0.5948 GB, free: 8.008 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002303/0.3352, allocations: 0.9903 MB / 0.5958 GB, free: 7.004 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005821/0.3358, allocations: 0.7349 MB / 0.5965 GB, free: 6.105 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002634/0.3385, allocations: 1.198 MB / 0.5976 GB, free: 4.883 MB / 410.7 MB Notification: Performance of pre-optimization done (n=148): time 3.456e-06/0.3385, allocations: 4 kB / 0.5976 GB, free: 4.879 MB / 410.7 MB Notification: Performance of matching and sorting (n=148): time 0.04352/0.382, allocations: 9.969 MB / 0.6074 GB, free: 10.85 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.031e-05/0.3821, allocations: 145.8 kB / 0.6075 GB, free: 10.68 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002954/0.3851, allocations: 1.654 MB / 0.6091 GB, free: 9.02 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003787/0.3855, allocations: 57.7 kB / 0.6092 GB, free: 8.957 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005931/0.3861, allocations: 0.7068 MB / 0.6099 GB, free: 8.238 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007202/0.3868, allocations: 0.5276 MB / 0.6104 GB, free: 7.703 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009971/0.3879, allocations: 399.9 kB / 0.6108 GB, free: 7.305 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.462e-05/0.388, allocations: 305.1 kB / 0.6111 GB, free: 7.004 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002459/0.3904, allocations: 1.074 MB / 0.6121 GB, free: 5.926 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00254/0.393, allocations: 1.315 MB / 0.6134 GB, free: 4.547 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004795/0.3978, allocations: 2.327 MB / 0.6157 GB, free: 2.129 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.347e-06/0.3978, allocations: 4 kB / 0.6157 GB, free: 2.125 MB / 426.7 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.01061/0.4084, allocations: 4.01 MB / 0.6196 GB, free: 14.05 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.386e-05/0.4085, allocations: 37.69 kB / 0.6196 GB, free: 14.01 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.288e-05/0.4085, allocations: 4 kB / 0.6196 GB, free: 14.01 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009917/0.4185, allocations: 2.644 MB / 0.6222 GB, free: 11.36 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001979/0.4205, allocations: 391.4 kB / 0.6226 GB, free: 10.97 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00659/0.4271, allocations: 2.691 MB / 0.6252 GB, free: 8.258 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002708/0.4298, allocations: 298 kB / 0.6255 GB, free: 7.965 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003038/0.4302, allocations: 71.98 kB / 0.6256 GB, free: 7.895 MB / 442.7 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.0007814/0.431, allocations: 344.8 kB / 0.6259 GB, free: 7.551 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004341/0.4314, allocations: 185.7 kB / 0.6261 GB, free: 7.367 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01811/0.4495, allocations: 5.175 MB / 0.6311 GB, free: 2.172 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.77e-05/0.4496, allocations: 16 kB / 0.6311 GB, free: 2.156 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.36e-05/0.4496, allocations: 4 kB / 0.6311 GB, free: 2.152 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.022e-05/0.4497, allocations: 7.969 kB / 0.6312 GB, free: 2.145 MB / 442.7 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.02203/0.4717, allocations: 7.647 MB / 0.6386 GB, free: 10.35 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-05/0.4718, allocations: 0 / 0.6386 GB, free: 10.35 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001104/0.4729, allocations: 167.9 kB / 0.6388 GB, free: 10.18 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008155/0.481, allocations: 2.24 MB / 0.641 GB, free: 7.934 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000321/0.4814, allocations: 35.98 kB / 0.641 GB, free: 7.898 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02874/0.5102, allocations: 11.04 MB / 0.6518 GB, free: 12.59 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/0.5102, allocations: 7.938 kB / 0.6518 GB, free: 12.58 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3645/0.8747, allocations: 45.49 MB / 0.6962 GB, free: 102.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004737/0.8752, allocations: 300.6 kB / 0.6965 GB, free: 102.1 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004102/0.8757, allocations: 29.22 kB / 0.6965 GB, free: 102.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001923/0.8776, allocations: 163.5 kB / 0.6967 GB, free: 102.1 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009747/0.8786, allocations: 282.4 kB / 0.697 GB, free: 102 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002094/0.8788, allocations: 45.73 kB / 0.697 GB, free: 102 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001673/0.8805, allocations: 1.106 MB / 0.6981 GB, free: 101.6 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.8805, allocations: 0 / 0.6981 GB, free: 101.6 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00249/0.883, allocations: 0.893 MB / 0.699 GB, free: 101.5 MB / 490.7 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.0004378/0.8835, allocations: 194.4 kB / 0.6991 GB, free: 101.4 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008646/0.8921, allocations: 3.15 MB / 0.7022 GB, free: 100.4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.8921, allocations: 0 / 0.7022 GB, free: 100.4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006658/0.8988, allocations: 2.138 MB / 0.7043 GB, free: 99.61 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00269/0.9015, allocations: 174.4 kB / 0.7045 GB, free: 99.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01313/0.9147, allocations: 6.166 MB / 0.7105 GB, free: 95.68 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001161/0.9159, allocations: 1.396 MB / 0.7119 GB, free: 94.5 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001041/0.917, allocations: 193.5 kB / 0.712 GB, free: 94.36 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006309/0.9176, allocations: 115.2 kB / 0.7121 GB, free: 94.26 MB / 490.7 MB Notification: Performance of SimCode: time 1.032e-06/0.9176, allocations: 0 / 0.7121 GB, free: 94.26 MB / 490.7 MB Notification: Performance of Templates: time 0.05838/0.976, allocations: 45.93 MB / 0.757 GB, free: 51.12 MB / 490.7 MB 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)