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.0773/0.0773, allocations: 12.6 MB / 28.86 MB, free: 400 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009888/0.0009888, allocations: 111.5 kB / 32.46 MB, free: 3.453 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.309/1.309, allocations: 205.1 MB / 241.1 MB, free: 12.39 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.001352/0.001352, allocations: 199.4 kB / 291.3 MB, free: 13.42 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4111/0.4111, allocations: 78.51 MB / 419.9 MB, free: 11.27 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.002649/0.002649, allocations: 139.8 kB / 0.4895 GB, free: 10.07 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2639/0.2665, allocations: 68.11 MB / 0.556 GB, free: 33.17 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.GAST): time 0.008493/0.2751, allocations: 9.274 MB / 0.5651 GB, free: 26.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005708/0.2808, allocations: 2.841 MB / 0.5678 GB, free: 23.69 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001626/0.2825, allocations: 17.09 kB / 0.5679 GB, free: 23.69 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001058/0.2836, allocations: 363.9 kB / 0.5682 GB, free: 23.39 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0033/0.2869, allocations: 1.26 MB / 0.5694 GB, free: 22.38 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0017/0.2886, allocations: 0.8434 MB / 0.5703 GB, free: 21.73 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00334/0.292, allocations: 2.749 MB / 0.5729 GB, free: 20.06 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007448/0.2927, allocations: 0.5431 MB / 0.5735 GB, free: 19.73 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001488/0.2942, allocations: 1.03 MB / 0.5745 GB, free: 19.08 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001388/0.2956, allocations: 1.288 MB / 0.5757 GB, free: 18.17 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003489/0.296, allocations: 222.8 kB / 0.5759 GB, free: 18.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00088/0.2969, allocations: 475.1 kB / 0.5764 GB, free: 18.03 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003522/0.2972, allocations: 0.537 MB / 0.5769 GB, free: 17.57 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007936/0.298, allocations: 1.069 MB / 0.578 GB, free: 16.73 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002073/0.3001, allocations: 2.752 MB / 0.5807 GB, free: 14.09 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3001, allocations: 0 / 0.5807 GB, free: 14.09 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3001, allocations: 0 / 0.5807 GB, free: 14.09 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.423e-05/0.3002, allocations: 0 / 0.5807 GB, free: 14.09 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.01282/0.313, allocations: 4.155 MB / 0.5847 GB, free: 9.863 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.313, allocations: 15.98 kB / 0.5847 GB, free: 9.848 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004283/0.3173, allocations: 0.7935 MB / 0.5855 GB, free: 9.051 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002032/0.3194, allocations: 1.283 MB / 0.5868 GB, free: 7.719 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003174/0.3197, allocations: 470.7 kB / 0.5872 GB, free: 7.184 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002042/0.3199, allocations: 135.9 kB / 0.5873 GB, free: 7.051 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002581/0.3225, allocations: 1.621 MB / 0.5889 GB, free: 5.383 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.421e-05/0.3226, allocations: 4 kB / 0.5889 GB, free: 5.379 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001184/0.3227, allocations: 47.98 kB / 0.589 GB, free: 5.332 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.715e-05/0.3227, allocations: 28 kB / 0.589 GB, free: 5.305 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002634/0.3253, allocations: 1.496 MB / 0.5905 GB, free: 3.801 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.008959/0.3343, allocations: 5.792 MB / 0.5961 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008381/0.3427, allocations: 3.189 MB / 0.5992 GB, free: 10.47 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002015/0.3448, allocations: 0.9948 MB / 0.6002 GB, free: 9.465 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005888/0.3454, allocations: 0.7299 MB / 0.6009 GB, free: 8.566 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0023/0.3477, allocations: 1.204 MB / 0.6021 GB, free: 7.336 MB / 414.1 MB Notification: Performance of pre-optimization done (n=148): time 3.336e-06/0.3477, allocations: 0 / 0.6021 GB, free: 7.336 MB / 414.1 MB Notification: Performance of matching and sorting (n=148): time 0.03894/0.3866, allocations: 9.976 MB / 0.6118 GB, free: 13.3 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.138e-05/0.3867, allocations: 149.8 kB / 0.612 GB, free: 13.12 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002479/0.3892, allocations: 1.643 MB / 0.6136 GB, free: 11.48 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003554/0.3896, allocations: 57.7 kB / 0.6136 GB, free: 11.41 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005193/0.3901, allocations: 0.7107 MB / 0.6143 GB, free: 10.69 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005641/0.3907, allocations: 0.5276 MB / 0.6148 GB, free: 10.16 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000683/0.3914, allocations: 395.9 kB / 0.6152 GB, free: 9.762 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.036e-05/0.3915, allocations: 301.1 kB / 0.6155 GB, free: 9.465 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002138/0.3936, allocations: 1.078 MB / 0.6166 GB, free: 8.383 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002331/0.396, allocations: 1.311 MB / 0.6178 GB, free: 7.008 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004297/0.4003, allocations: 2.323 MB / 0.6201 GB, free: 4.594 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/0.4003, allocations: 4 kB / 0.6201 GB, free: 4.59 MB / 430.1 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.01168/0.412, allocations: 4.01 MB / 0.624 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.165e-05/0.4121, allocations: 33.7 kB / 0.6241 GB, free: 488 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.929e-05/0.4121, allocations: 4 kB / 0.6241 GB, free: 484 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01396/0.4261, allocations: 2.652 MB / 0.6267 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003002/0.4291, allocations: 383.5 kB / 0.627 GB, free: 13.44 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009748/0.4389, allocations: 2.699 MB / 0.6297 GB, free: 10.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002814/0.4418, allocations: 290.1 kB / 0.6299 GB, free: 10.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002385/0.442, allocations: 71.98 kB / 0.63 GB, free: 10.36 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.0007103/0.4427, allocations: 345.4 kB / 0.6303 GB, free: 10.01 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003477/0.4431, allocations: 189.6 kB / 0.6305 GB, free: 9.824 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01658/0.4597, allocations: 5.175 MB / 0.6356 GB, free: 4.625 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.175e-05/0.4597, allocations: 16 kB / 0.6356 GB, free: 4.609 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/0.4598, allocations: 0 / 0.6356 GB, free: 4.609 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.172e-05/0.4598, allocations: 11.97 kB / 0.6356 GB, free: 4.598 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.0195/0.4793, allocations: 7.645 MB / 0.6431 GB, free: 12.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.852e-05/0.4794, allocations: 3.984 kB / 0.6431 GB, free: 12.8 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001105/0.4805, allocations: 171.7 kB / 0.6432 GB, free: 12.63 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007712/0.4882, allocations: 2.232 MB / 0.6454 GB, free: 10.39 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002788/0.4885, allocations: 35.98 kB / 0.6454 GB, free: 10.36 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02827/0.5168, allocations: 12.07 MB / 0.6572 GB, free: 14.01 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/0.5168, allocations: 3.984 kB / 0.6572 GB, free: 14 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01947/0.5363, allocations: 6.36 MB / 0.6634 GB, free: 7.602 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007132/0.5371, allocations: 306.5 kB / 0.6637 GB, free: 7.281 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003697/0.5375, allocations: 28 kB / 0.6638 GB, free: 7.254 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001803/0.5393, allocations: 167.8 kB / 0.6639 GB, free: 7.09 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009093/0.5402, allocations: 285.2 kB / 0.6642 GB, free: 6.809 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001334/0.5404, allocations: 47.98 kB / 0.6642 GB, free: 6.762 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001812/0.5422, allocations: 1.105 MB / 0.6653 GB, free: 5.664 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5422, allocations: 0 / 0.6653 GB, free: 5.664 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00169/0.5439, allocations: 0.6008 MB / 0.6659 GB, free: 5.062 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.0003654/0.5443, allocations: 175 kB / 0.6661 GB, free: 4.883 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009183/0.5534, allocations: 3.177 MB / 0.6692 GB, free: 1.684 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/0.5535, allocations: 0 / 0.6692 GB, free: 1.684 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006535/0.56, allocations: 2.183 MB / 0.6713 GB, free: 15.47 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001569/0.5616, allocations: 177.4 kB / 0.6715 GB, free: 15.3 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006373/0.568, allocations: 3.57 MB / 0.675 GB, free: 11.7 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008162/0.5689, allocations: 1.339 MB / 0.6763 GB, free: 10.33 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006935/0.5696, allocations: 167.6 kB / 0.6764 GB, free: 10.16 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003997/0.57, allocations: 119.4 kB / 0.6765 GB, free: 10.04 MB / 494.1 MB Notification: Performance of SimCode: time 5.21e-07/0.57, allocations: 0 / 0.6765 GB, free: 10.04 MB / 494.1 MB Notification: Performance of Templates: time 0.2576/0.8276, allocations: 33.14 MB / 0.7089 GB, free: 130.3 MB / 0.4981 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 -s gbode -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe 2>&1)