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.1052/0.1052, allocations: 12.61 MB / 28.87 MB, free: 396 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.001131/0.001131, allocations: 111.5 kB / 32.46 MB, free: 3.445 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.371/1.371, allocations: 205.1 MB / 241.1 MB, free: 12.38 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.001476/0.001476, allocations: 202.8 kB / 291.3 MB, free: 10.97 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4407/0.4407, allocations: 78.51 MB / 419.9 MB, free: 10.79 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.003134/0.003134, allocations: 136.6 kB / 0.4895 GB, free: 9.434 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3429/0.3461, allocations: 68.13 MB / 0.556 GB, free: 21.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.GAST): time 0.008441/0.3546, allocations: 9.274 MB / 0.5651 GB, free: 11.95 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006737/0.3613, allocations: 2.833 MB / 0.5678 GB, free: 9.109 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00117/0.3625, allocations: 19.94 kB / 0.5679 GB, free: 9.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009776/0.3636, allocations: 360.9 kB / 0.5682 GB, free: 8.734 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002614/0.3662, allocations: 1.265 MB / 0.5694 GB, free: 7.473 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001434/0.3676, allocations: 0.838 MB / 0.5703 GB, free: 6.641 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002125/0.3698, allocations: 2.751 MB / 0.5729 GB, free: 3.879 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006237/0.3704, allocations: 0.5388 MB / 0.5735 GB, free: 3.309 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00092/0.3713, allocations: 1.035 MB / 0.5745 GB, free: 2.27 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001057/0.3724, allocations: 1.291 MB / 0.5757 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002413/0.3727, allocations: 220 kB / 0.576 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007009/0.3734, allocations: 471.7 kB / 0.5764 GB, free: 304 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000451/0.3738, allocations: 0.5409 MB / 0.5769 GB, free: 15.75 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009253/0.3748, allocations: 1.06 MB / 0.578 GB, free: 14.69 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002706/0.3775, allocations: 2.744 MB / 0.5806 GB, free: 11.94 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.3775, allocations: 0 / 0.5806 GB, free: 11.94 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.3775, allocations: 0 / 0.5806 GB, free: 11.94 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.203e-05/0.3775, allocations: 0 / 0.5806 GB, free: 11.94 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.01401/0.3916, allocations: 4.173 MB / 0.5847 GB, free: 7.695 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/0.3916, allocations: 15.98 kB / 0.5847 GB, free: 7.68 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004454/0.3961, allocations: 0.7818 MB / 0.5855 GB, free: 6.895 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00258/0.3987, allocations: 1.287 MB / 0.5868 GB, free: 5.559 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005206/0.3992, allocations: 474.6 kB / 0.5872 GB, free: 5.02 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000237/0.3995, allocations: 131.9 kB / 0.5873 GB, free: 4.891 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003121/0.4026, allocations: 1.624 MB / 0.5889 GB, free: 3.219 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.645e-05/0.4026, allocations: 4 kB / 0.5889 GB, free: 3.215 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001289/0.4028, allocations: 48 kB / 0.589 GB, free: 3.168 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.692e-05/0.4028, allocations: 28 kB / 0.589 GB, free: 3.141 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003321/0.4061, allocations: 1.496 MB / 0.5905 GB, free: 1.637 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.01175/0.4179, allocations: 5.804 MB / 0.5961 GB, free: 11.61 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008304/0.4262, allocations: 3.18 MB / 0.5992 GB, free: 8.301 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002127/0.4284, allocations: 0.9909 MB / 0.6002 GB, free: 7.301 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006494/0.4291, allocations: 0.7271 MB / 0.6009 GB, free: 6.406 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002343/0.4314, allocations: 1.207 MB / 0.6021 GB, free: 5.176 MB / 414.1 MB Notification: Performance of pre-optimization done (n=148): time 5.671e-06/0.4314, allocations: 0 / 0.6021 GB, free: 5.176 MB / 414.1 MB Notification: Performance of matching and sorting (n=148): time 0.03856/0.47, allocations: 9.984 MB / 0.6118 GB, free: 11.13 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001086/0.4702, allocations: 149.8 kB / 0.612 GB, free: 10.95 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002965/0.4731, allocations: 1.643 MB / 0.6136 GB, free: 9.309 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005226/0.4737, allocations: 57.7 kB / 0.6136 GB, free: 9.246 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006258/0.4743, allocations: 0.703 MB / 0.6143 GB, free: 8.531 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007591/0.4751, allocations: 0.5315 MB / 0.6148 GB, free: 7.992 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007341/0.4758, allocations: 395.9 kB / 0.6152 GB, free: 7.598 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.476, allocations: 301.1 kB / 0.6155 GB, free: 7.301 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002239/0.4782, allocations: 1.082 MB / 0.6166 GB, free: 6.215 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002357/0.4806, allocations: 1.307 MB / 0.6178 GB, free: 4.844 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004508/0.4851, allocations: 2.331 MB / 0.6201 GB, free: 2.422 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.196e-06/0.4851, allocations: 0 / 0.6201 GB, free: 2.422 MB / 430.1 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.01032/0.4954, allocations: 4.006 MB / 0.624 GB, free: 14.35 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.328e-05/0.4956, allocations: 33.7 kB / 0.6241 GB, free: 14.31 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.253e-05/0.4956, allocations: 4 kB / 0.6241 GB, free: 14.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009049/0.5047, allocations: 2.652 MB / 0.6267 GB, free: 11.65 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002107/0.5068, allocations: 383.4 kB / 0.627 GB, free: 11.28 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006282/0.5131, allocations: 2.699 MB / 0.6297 GB, free: 8.551 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002909/0.5161, allocations: 290 kB / 0.6299 GB, free: 8.266 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001979/0.5163, allocations: 75.98 kB / 0.63 GB, free: 8.191 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.0008546/0.5171, allocations: 338.4 kB / 0.6303 GB, free: 7.852 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003636/0.5175, allocations: 185.7 kB / 0.6305 GB, free: 7.668 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01629/0.5338, allocations: 5.178 MB / 0.6356 GB, free: 2.465 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.282e-05/0.5339, allocations: 16 kB / 0.6356 GB, free: 2.449 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.284e-05/0.5339, allocations: 4 kB / 0.6356 GB, free: 2.445 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.396e-05/0.534, allocations: 7.969 kB / 0.6356 GB, free: 2.438 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.02066/0.5546, allocations: 7.645 MB / 0.6431 GB, free: 10.64 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.243e-05/0.5547, allocations: 0 / 0.6431 GB, free: 10.64 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001166/0.5559, allocations: 171.8 kB / 0.6432 GB, free: 10.48 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007657/0.5635, allocations: 2.24 MB / 0.6454 GB, free: 8.23 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000421/0.564, allocations: 31.98 kB / 0.6454 GB, free: 8.199 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02812/0.5922, allocations: 12.07 MB / 0.6572 GB, free: 11.85 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.843e-06/0.5922, allocations: 3.938 kB / 0.6572 GB, free: 11.84 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01977/0.612, allocations: 6.368 MB / 0.6634 GB, free: 5.43 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000844/0.6129, allocations: 298.5 kB / 0.6637 GB, free: 5.117 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004017/0.6133, allocations: 31.98 kB / 0.6638 GB, free: 5.086 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001746/0.6151, allocations: 167.8 kB / 0.6639 GB, free: 4.922 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009139/0.616, allocations: 285.3 kB / 0.6642 GB, free: 4.645 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001226/0.6161, allocations: 43.98 kB / 0.6642 GB, free: 4.602 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001824/0.618, allocations: 1.101 MB / 0.6653 GB, free: 3.508 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.618, allocations: 0 / 0.6653 GB, free: 3.508 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001848/0.6198, allocations: 0.6048 MB / 0.6659 GB, free: 2.902 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.0004012/0.6202, allocations: 171 kB / 0.6661 GB, free: 2.727 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009238/0.6295, allocations: 3.174 MB / 0.6692 GB, free: 15.53 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.007e-06/0.6296, allocations: 0 / 0.6692 GB, free: 15.53 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006785/0.6363, allocations: 2.195 MB / 0.6713 GB, free: 13.3 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001724/0.6381, allocations: 169.9 kB / 0.6715 GB, free: 13.14 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007451/0.6456, allocations: 3.556 MB / 0.6749 GB, free: 9.551 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00102/0.6466, allocations: 1.35 MB / 0.6763 GB, free: 8.164 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0007971/0.6475, allocations: 171.6 kB / 0.6764 GB, free: 7.992 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004084/0.6479, allocations: 119.4 kB / 0.6765 GB, free: 7.875 MB / 494.1 MB Notification: Performance of SimCode: time 1.292e-06/0.6479, allocations: 0 / 0.6765 GB, free: 7.875 MB / 494.1 MB Notification: Performance of Templates: time 0.3249/0.9728, allocations: 33.14 MB / 0.7089 GB, free: 104.8 MB / 494.1 MB 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 cvode -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe 2>&1)