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.08518/0.08518, allocations: 12.59 MB / 28.22 MB, free: 1.051 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.001143/0.001143, allocations: 115.4 kB / 31.84 MB, free: 3.988 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.464/1.464, allocations: 205.1 MB / 240.4 MB, free: 12.36 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.001345/0.001345, allocations: 188.5 kB / 290.7 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4371/0.4371, allocations: 78.5 MB / 419.3 MB, free: 11.26 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.002521/0.002521, allocations: 134.2 kB / 0.5559 GB, free: 28.6 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.144/0.1465, allocations: 68.14 MB / 0.6224 GB, free: 15.43 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.GAST): time 0.009955/0.1565, allocations: 9.28 MB / 0.6315 GB, free: 6.105 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006834/0.1634, allocations: 2.829 MB / 0.6342 GB, free: 3.266 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001792/0.1652, allocations: 19.94 kB / 0.6342 GB, free: 3.246 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001663/0.1669, allocations: 360.9 kB / 0.6346 GB, free: 2.891 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004532/0.1715, allocations: 1.332 MB / 0.6359 GB, free: 1.559 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002327/0.1738, allocations: 0.8415 MB / 0.6367 GB, free: 0.7227 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004107/0.178, allocations: 2.747 MB / 0.6394 GB, free: 13.96 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001065/0.179, allocations: 0.5505 MB / 0.6399 GB, free: 13.38 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001731/0.1808, allocations: 1.035 MB / 0.6409 GB, free: 12.34 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001942/0.1827, allocations: 1.295 MB / 0.6422 GB, free: 11.04 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007775/0.1835, allocations: 216 kB / 0.6424 GB, free: 10.83 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001462/0.185, allocations: 475.7 kB / 0.6429 GB, free: 10.36 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009477/0.186, allocations: 0.5332 MB / 0.6434 GB, free: 9.828 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001957/0.1879, allocations: 1.068 MB / 0.6444 GB, free: 8.754 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0044/0.1924, allocations: 2.751 MB / 0.6471 GB, free: 5.992 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.962e-06/0.1924, allocations: 8 kB / 0.6471 GB, free: 5.984 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1924, allocations: 0 / 0.6471 GB, free: 5.984 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001187/0.1925, allocations: 0 / 0.6471 GB, free: 5.984 MB / 462.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.01745/0.21, allocations: 4.222 MB / 0.6512 GB, free: 1.691 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.426e-05/0.21, allocations: 15.98 kB / 0.6513 GB, free: 1.676 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00531/0.2154, allocations: 0.7948 MB / 0.652 GB, free: 0.8789 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003586/0.219, allocations: 1.312 MB / 0.6533 GB, free: 15.52 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006372/0.2197, allocations: 474.7 kB / 0.6538 GB, free: 14.98 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000643/0.2203, allocations: 132 kB / 0.6539 GB, free: 14.85 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004606/0.2249, allocations: 1.62 MB / 0.6555 GB, free: 13.18 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.665e-05/0.225, allocations: 0 / 0.6555 GB, free: 13.18 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001636/0.2252, allocations: 48 kB / 0.6555 GB, free: 13.14 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.881e-05/0.2252, allocations: 32 kB / 0.6556 GB, free: 13.11 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003421/0.2286, allocations: 1.496 MB / 0.657 GB, free: 11.6 MB / 478.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.01293/0.2416, allocations: 5.809 MB / 0.6627 GB, free: 5.57 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008743/0.2504, allocations: 3.175 MB / 0.6658 GB, free: 2.262 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002464/0.2529, allocations: 0.9987 MB / 0.6668 GB, free: 1.258 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000739/0.2536, allocations: 0.7271 MB / 0.6675 GB, free: 372 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002939/0.2566, allocations: 1.212 MB / 0.6687 GB, free: 15.12 MB / 494.1 MB Notification: Performance of pre-optimization done (n=148): time 6.162e-06/0.2566, allocations: 0 / 0.6687 GB, free: 15.12 MB / 494.1 MB Notification: Performance of matching and sorting (n=148): time 0.0407/0.2973, allocations: 9.981 MB / 0.6784 GB, free: 5.078 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001072/0.2975, allocations: 149.8 kB / 0.6786 GB, free: 4.902 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003508/0.301, allocations: 1.646 MB / 0.6802 GB, free: 3.254 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006583/0.3017, allocations: 57.7 kB / 0.6802 GB, free: 3.191 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009976/0.3027, allocations: 0.7195 MB / 0.6809 GB, free: 2.461 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001177/0.3039, allocations: 0.5462 MB / 0.6815 GB, free: 1.91 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001832/0.3057, allocations: 400 kB / 0.6818 GB, free: 1.512 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.3059, allocations: 301.1 kB / 0.6821 GB, free: 1.215 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00276/0.3086, allocations: 1.074 MB / 0.6832 GB, free: 140 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002866/0.3115, allocations: 1.315 MB / 0.6845 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005437/0.317, allocations: 2.323 MB / 0.6867 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.409e-05/0.317, allocations: 0 / 0.6867 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=279) (initialization): time 0.01175/0.3288, allocations: 4.015 MB / 0.6906 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.998e-05/0.3289, allocations: 41.69 kB / 0.6907 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.425e-05/0.329, allocations: 4 kB / 0.6907 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009423/0.3384, allocations: 2.655 MB / 0.6933 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002209/0.3406, allocations: 383.4 kB / 0.6936 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006968/0.3476, allocations: 2.687 MB / 0.6963 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003149/0.3508, allocations: 298.5 kB / 0.6966 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004725/0.3513, allocations: 83.97 kB / 0.6966 GB, free: 2.09 MB / 0.4981 GB 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.001239/0.3526, allocations: 342.9 kB / 0.697 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008236/0.3534, allocations: 198.7 kB / 0.6972 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01752/0.371, allocations: 5.186 MB / 0.7022 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.018e-05/0.371, allocations: 16 kB / 0.7022 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-05/0.371, allocations: 0 / 0.7022 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.552e-05/0.3711, allocations: 7.969 kB / 0.7022 GB, free: 12.31 MB / 0.5137 GB 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.02373/0.3948, allocations: 7.653 MB / 0.7097 GB, free: 4.527 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.86e-05/0.395, allocations: 0 / 0.7097 GB, free: 4.527 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00136/0.3963, allocations: 171.9 kB / 0.7099 GB, free: 4.359 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008193/0.4046, allocations: 2.244 MB / 0.7121 GB, free: 2.109 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004114/0.405, allocations: 35.92 kB / 0.7121 GB, free: 2.074 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3854/0.7905, allocations: 12.06 MB / 0.7239 GB, free: 80.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.314e-06/0.7905, allocations: 4.875 kB / 0.7239 GB, free: 80.68 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02152/0.812, allocations: 6.373 MB / 0.7301 GB, free: 79 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008755/0.813, allocations: 311.6 kB / 0.7304 GB, free: 78.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003033/0.8133, allocations: 27.72 kB / 0.7304 GB, free: 78.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001683/0.815, allocations: 165.4 kB / 0.7306 GB, free: 78.73 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001069/0.816, allocations: 281.8 kB / 0.7309 GB, free: 78.66 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001255/0.8162, allocations: 43.11 kB / 0.7309 GB, free: 78.65 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001772/0.818, allocations: 1.114 MB / 0.732 GB, free: 78.23 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.81e-07/0.818, allocations: 0 / 0.732 GB, free: 78.23 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002028/0.82, allocations: 0.5972 MB / 0.7326 GB, free: 78.16 MB / 0.5137 GB 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.0003648/0.8204, allocations: 181.8 kB / 0.7327 GB, free: 78.04 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008953/0.8293, allocations: 3.171 MB / 0.7358 GB, free: 77.02 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/0.8294, allocations: 0 / 0.7358 GB, free: 77.02 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.006525/0.8359, allocations: 2.19 MB / 0.738 GB, free: 76.17 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001681/0.8376, allocations: 179.7 kB / 0.7382 GB, free: 76.07 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006092/0.8437, allocations: 3.614 MB / 0.7417 GB, free: 74.09 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007029/0.8445, allocations: 1.341 MB / 0.743 GB, free: 73.34 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0007731/0.8453, allocations: 180.2 kB / 0.7432 GB, free: 73.3 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003654/0.8456, allocations: 111.5 kB / 0.7433 GB, free: 73.28 MB / 0.5137 GB Notification: Performance of SimCode: time 2.234e-06/0.8456, allocations: 3.969 kB / 0.7433 GB, free: 73.28 MB / 0.5137 GB Notification: Performance of Templates: time 0.05034/0.896, allocations: 33.51 MB / 0.776 GB, free: 41.84 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)