Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL.Tests.Controls.PSSE.TG.GAST") translateModel(OpenIPSL.Tests.Controls.PSSE.TG.GAST,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.001137/0.001137, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 222.9 MB / 239.3 MB, free: 4.617 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.001257/0.001257, allocations: 188.5 kB / 289.5 MB, free: 2.348 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4567/0.4567, allocations: 78.52 MB / 418.2 MB, free: 3.309 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001619/0.001619, allocations: 79.89 kB / 497.4 MB, free: 6.461 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1457, allocations: 68.18 MB / 0.5524 GB, free: 2.238 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.GAST): time 0.2465/0.3922, allocations: 9.224 MB / 0.5614 GB, free: 35.12 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005567/0.3979, allocations: 2.871 MB / 0.5642 GB, free: 34.4 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001304/0.3992, allocations: 14.47 kB / 0.5642 GB, free: 34.4 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001002/0.4002, allocations: 364 kB / 0.5645 GB, free: 34.38 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003054/0.4033, allocations: 1.256 MB / 0.5658 GB, free: 33.85 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00172/0.4051, allocations: 0.8428 MB / 0.5666 GB, free: 33.78 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003817/0.4089, allocations: 2.733 MB / 0.5693 GB, free: 33.29 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009678/0.4099, allocations: 0.54 MB / 0.5698 GB, free: 33.18 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001619/0.4115, allocations: 1.034 MB / 0.5708 GB, free: 32.93 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001448/0.413, allocations: 1.29 MB / 0.5721 GB, free: 32.62 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003218/0.4133, allocations: 218.2 kB / 0.5723 GB, free: 32.62 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009605/0.4143, allocations: 479 kB / 0.5727 GB, free: 32.61 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004396/0.4147, allocations: 0.5419 MB / 0.5732 GB, free: 32.48 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008736/0.4156, allocations: 1.053 MB / 0.5743 GB, free: 32.05 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00296/0.4186, allocations: 2.71 MB / 0.5769 GB, free: 30.88 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.4186, allocations: 4.594 kB / 0.5769 GB, free: 30.88 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.835e-06/0.4186, allocations: 0 / 0.5769 GB, free: 30.88 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.577e-05/0.4187, allocations: 2.719 kB / 0.5769 GB, free: 30.88 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.01493/0.4336, allocations: 4.162 MB / 0.581 GB, free: 29.19 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.4337, allocations: 7.938 kB / 0.581 GB, free: 29.19 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004455/0.4381, allocations: 0.7904 MB / 0.5818 GB, free: 29 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002198/0.4403, allocations: 1.286 MB / 0.583 GB, free: 28.2 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003649/0.4407, allocations: 468.9 kB / 0.5835 GB, free: 27.77 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002338/0.441, allocations: 136.9 kB / 0.5836 GB, free: 27.72 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003137/0.4441, allocations: 1.618 MB / 0.5852 GB, free: 27.07 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.801e-05/0.4441, allocations: 2.047 kB / 0.5852 GB, free: 27.07 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001392/0.4443, allocations: 51.19 kB / 0.5852 GB, free: 27.03 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.83e-05/0.4443, allocations: 27.41 kB / 0.5853 GB, free: 27.03 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003129/0.4475, allocations: 1.495 MB / 0.5867 GB, free: 26.52 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.01006/0.4575, allocations: 5.835 MB / 0.5924 GB, free: 23.21 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008865/0.4664, allocations: 3.178 MB / 0.5955 GB, free: 21.93 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002275/0.4687, allocations: 0.996 MB / 0.5965 GB, free: 21.53 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004557/0.4692, allocations: 0.7327 MB / 0.5972 GB, free: 20.68 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002457/0.4717, allocations: 1.203 MB / 0.5984 GB, free: 20.22 MB / 430.1 MB Notification: Performance of pre-optimization done (n=148): time 3.416e-06/0.4717, allocations: 0 / 0.5984 GB, free: 20.22 MB / 430.1 MB Notification: Performance of matching and sorting (n=148): time 0.04118/0.5129, allocations: 9.972 MB / 0.6081 GB, free: 17.75 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.972e-05/0.513, allocations: 148.9 kB / 0.6083 GB, free: 17.59 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002738/0.5157, allocations: 1.641 MB / 0.6099 GB, free: 16.71 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004746/0.5162, allocations: 56.83 kB / 0.6099 GB, free: 16.66 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004329/0.5167, allocations: 0.7151 MB / 0.6106 GB, free: 16.02 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005634/0.5172, allocations: 0.5241 MB / 0.6111 GB, free: 15.55 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006846/0.5179, allocations: 391.6 kB / 0.6115 GB, free: 15.32 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.321e-05/0.518, allocations: 306.2 kB / 0.6118 GB, free: 15.02 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002298/0.5203, allocations: 1.078 MB / 0.6129 GB, free: 14.48 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002542/0.5228, allocations: 1.304 MB / 0.6141 GB, free: 13.71 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004478/0.5273, allocations: 2.335 MB / 0.6164 GB, free: 12.38 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.237e-05/0.5274, allocations: 2.188 kB / 0.6164 GB, free: 12.38 MB / 430.1 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.009397/0.5368, allocations: 4.008 MB / 0.6203 GB, free: 9.016 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.752e-05/0.5368, allocations: 37.77 kB / 0.6204 GB, free: 8.973 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.465e-05/0.5369, allocations: 9.125 kB / 0.6204 GB, free: 8.965 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008324/0.5452, allocations: 2.653 MB / 0.623 GB, free: 6.305 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001847/0.5471, allocations: 391.5 kB / 0.6233 GB, free: 5.922 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005745/0.5528, allocations: 2.687 MB / 0.626 GB, free: 3.211 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002879/0.5558, allocations: 303.8 kB / 0.6262 GB, free: 2.914 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002198/0.556, allocations: 74.42 kB / 0.6263 GB, free: 2.844 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 ($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.0007/0.5567, allocations: 345.4 kB / 0.6266 GB, free: 2.496 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003424/0.557, allocations: 189.7 kB / 0.6268 GB, free: 2.309 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01654/0.5736, allocations: 5.163 MB / 0.6319 GB, free: 13.11 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.562e-05/0.5737, allocations: 16 kB / 0.6319 GB, free: 13.1 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.21e-05/0.5737, allocations: 4 kB / 0.6319 GB, free: 13.09 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.115e-05/0.5737, allocations: 8.594 kB / 0.6319 GB, free: 13.09 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.02164/0.5954, allocations: 7.652 MB / 0.6394 GB, free: 5.297 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.767e-05/0.5954, allocations: 4.062 kB / 0.6394 GB, free: 5.293 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001135/0.5966, allocations: 167.8 kB / 0.6395 GB, free: 5.129 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007973/0.6046, allocations: 2.247 MB / 0.6417 GB, free: 2.875 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003434/0.6049, allocations: 35.98 kB / 0.6418 GB, free: 2.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02914/0.6341, allocations: 12.07 MB / 0.6536 GB, free: 6.488 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.6341, allocations: 4.938 kB / 0.6536 GB, free: 6.484 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02042/0.6546, allocations: 6.363 MB / 0.6598 GB, free: 80 kB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008878/0.6555, allocations: 302.5 kB / 0.6601 GB, free: 15.76 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005771/0.6561, allocations: 28 kB / 0.6601 GB, free: 15.73 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001841/0.658, allocations: 159.8 kB / 0.6602 GB, free: 15.58 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000879/0.6588, allocations: 293.2 kB / 0.6605 GB, free: 15.29 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001116/0.659, allocations: 43.98 kB / 0.6606 GB, free: 15.25 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001814/0.6608, allocations: 1.105 MB / 0.6616 GB, free: 14.15 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.6608, allocations: 0 / 0.6616 GB, free: 14.15 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001667/0.6625, allocations: 0.6009 MB / 0.6622 GB, free: 13.55 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.0003633/0.6628, allocations: 167.5 kB / 0.6624 GB, free: 13.38 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01002/0.6729, allocations: 3.242 MB / 0.6656 GB, free: 10.12 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.6729, allocations: 0 / 0.6656 GB, free: 10.12 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006815/0.6797, allocations: 2.184 MB / 0.6677 GB, free: 7.914 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001813/0.6816, allocations: 180.4 kB / 0.6679 GB, free: 7.742 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007447/0.689, allocations: 3.607 MB / 0.6714 GB, free: 4.172 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001172/0.6902, allocations: 1.339 MB / 0.6727 GB, free: 2.797 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008921/0.6911, allocations: 173.2 kB / 0.6729 GB, free: 2.629 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003842/0.6915, allocations: 115.4 kB / 0.673 GB, free: 2.516 MB / 478.1 MB Notification: Performance of SimCode: time 1.262e-06/0.6916, allocations: 0 / 0.673 GB, free: 2.516 MB / 478.1 MB Notification: Performance of Templates: time 0.05507/0.7466, allocations: 33.15 MB / 0.7053 GB, free: 1.512 MB / 0.4981 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.GAST.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.GAST.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.GAST -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe 2>&1)