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.08054/0.08054, allocations: 12.59 MB / 28.22 MB, free: 0.7188 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.001013/0.001013, allocations: 111.4 kB / 31.83 MB, free: 3.863 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.356/1.356, allocations: 205.1 MB / 240.4 MB, free: 12.34 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.001278/0.001278, allocations: 184.5 kB / 290.7 MB, free: 13.38 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4428/0.4428, allocations: 78.51 MB / 419.3 MB, free: 11.22 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.002527/0.002527, allocations: 137.9 kB / 0.5559 GB, free: 28.59 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1522, 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.01055/0.1628, allocations: 9.277 MB / 0.6315 GB, free: 6.102 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007115/0.17, allocations: 2.841 MB / 0.6342 GB, free: 3.25 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001952/0.172, allocations: 16 kB / 0.6342 GB, free: 3.234 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001251/0.1732, allocations: 360.8 kB / 0.6346 GB, free: 2.879 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003836/0.1771, allocations: 1.257 MB / 0.6358 GB, free: 1.621 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001991/0.1791, allocations: 0.8496 MB / 0.6366 GB, free: 0.7773 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004302/0.1835, allocations: 2.744 MB / 0.6393 GB, free: 14.02 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008676/0.1843, allocations: 0.5466 MB / 0.6399 GB, free: 13.44 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001715/0.1861, allocations: 1.035 MB / 0.6409 GB, free: 12.4 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001691/0.1878, allocations: 1.295 MB / 0.6421 GB, free: 11.1 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003585/0.1881, allocations: 220 kB / 0.6423 GB, free: 10.89 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001052/0.1892, allocations: 471.7 kB / 0.6428 GB, free: 10.43 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004853/0.1897, allocations: 0.537 MB / 0.6433 GB, free: 9.887 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001033/0.1907, allocations: 1.064 MB / 0.6444 GB, free: 8.816 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003606/0.1944, allocations: 2.758 MB / 0.6471 GB, free: 6.047 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.1944, allocations: 0 / 0.6471 GB, free: 6.047 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1944, allocations: 8 kB / 0.6471 GB, free: 6.039 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.39e-05/0.1945, allocations: 0 / 0.6471 GB, free: 6.039 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.01533/0.2098, allocations: 4.218 MB / 0.6512 GB, free: 1.75 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/0.2099, allocations: 15.98 kB / 0.6512 GB, free: 1.734 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004837/0.2147, allocations: 0.7908 MB / 0.652 GB, free: 0.9414 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002783/0.2175, allocations: 1.316 MB / 0.6533 GB, free: 15.58 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005254/0.2181, allocations: 470.7 kB / 0.6537 GB, free: 15.04 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000253/0.2183, allocations: 136 kB / 0.6538 GB, free: 14.91 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003382/0.2217, allocations: 1.621 MB / 0.6554 GB, free: 13.24 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.594e-05/0.2218, allocations: 0 / 0.6554 GB, free: 13.24 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001382/0.2219, allocations: 48 kB / 0.6555 GB, free: 13.2 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.343e-05/0.222, allocations: 32 kB / 0.6555 GB, free: 13.16 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003269/0.2252, allocations: 1.496 MB / 0.657 GB, free: 11.66 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.0115/0.2368, allocations: 5.802 MB / 0.6626 GB, free: 5.637 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008703/0.2455, allocations: 3.179 MB / 0.6657 GB, free: 2.324 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002266/0.2478, allocations: 0.9948 MB / 0.6667 GB, free: 1.324 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006676/0.2485, allocations: 0.7349 MB / 0.6674 GB, free: 432 kB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002491/0.251, allocations: 1.208 MB / 0.6686 GB, free: 15.19 MB / 494.1 MB Notification: Performance of pre-optimization done (n=148): time 4.098e-06/0.251, allocations: 0 / 0.6686 GB, free: 15.19 MB / 494.1 MB Notification: Performance of matching and sorting (n=148): time 0.04263/0.2936, allocations: 9.985 MB / 0.6783 GB, free: 5.137 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.957e-05/0.2938, allocations: 145.8 kB / 0.6785 GB, free: 4.965 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003439/0.2972, allocations: 1.65 MB / 0.6801 GB, free: 3.312 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000504/0.2978, allocations: 57.77 kB / 0.6801 GB, free: 3.25 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007508/0.2985, allocations: 0.7117 MB / 0.6808 GB, free: 2.527 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001059/0.2996, allocations: 0.554 MB / 0.6814 GB, free: 1.969 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008965/0.3005, allocations: 392 kB / 0.6818 GB, free: 1.578 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.3006, allocations: 309.1 kB / 0.6821 GB, free: 1.273 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002433/0.3031, allocations: 1.074 MB / 0.6831 GB, free: 200 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002607/0.3057, allocations: 1.315 MB / 0.6844 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005031/0.3108, allocations: 2.323 MB / 0.6867 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-05/0.3108, allocations: 0 / 0.6867 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of matching and sorting (n=279) (initialization): time 0.01093/0.3217, allocations: 4.015 MB / 0.6906 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.395e-05/0.3218, allocations: 45.75 kB / 0.6906 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.021e-05/0.3219, allocations: 4 kB / 0.6906 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009561/0.3315, allocations: 2.647 MB / 0.6932 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002053/0.3336, allocations: 387.4 kB / 0.6936 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006913/0.3405, allocations: 2.684 MB / 0.6962 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003295/0.3438, allocations: 306.5 kB / 0.6965 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005729/0.3444, allocations: 83.91 kB / 0.6966 GB, free: 2.145 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.001399/0.3459, allocations: 350.5 kB / 0.6969 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008287/0.3467, allocations: 202.7 kB / 0.6971 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01809/0.3648, allocations: 5.171 MB / 0.7021 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.944e-05/0.3649, allocations: 16 kB / 0.7022 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.522e-05/0.3649, allocations: 0 / 0.7022 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.712e-05/0.365, allocations: 3.984 kB / 0.7022 GB, free: 12.38 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.0234/0.3884, allocations: 7.653 MB / 0.7096 GB, free: 4.594 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.047e-05/0.3884, allocations: 0 / 0.7096 GB, free: 4.594 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001259/0.3897, allocations: 175.8 kB / 0.7098 GB, free: 4.422 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008119/0.3978, allocations: 2.24 MB / 0.712 GB, free: 2.176 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004988/0.3984, allocations: 35.98 kB / 0.712 GB, free: 2.141 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3327/0.7311, allocations: 12.07 MB / 0.7238 GB, free: 80.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.7312, allocations: 4.875 kB / 0.7238 GB, free: 80.59 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02004/0.7512, allocations: 6.379 MB / 0.7301 GB, free: 78.92 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000658/0.7519, allocations: 308.7 kB / 0.7303 GB, free: 78.69 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002855/0.7522, allocations: 28 kB / 0.7304 GB, free: 78.67 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001722/0.7539, allocations: 164 kB / 0.7305 GB, free: 78.65 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009997/0.755, allocations: 288.5 kB / 0.7308 GB, free: 78.57 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001224/0.7551, allocations: 44.55 kB / 0.7308 GB, free: 78.57 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001704/0.7568, allocations: 1.105 MB / 0.7319 GB, free: 78.15 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.91e-07/0.7568, allocations: 0 / 0.7319 GB, free: 78.15 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001754/0.7586, allocations: 0.6065 MB / 0.7325 GB, free: 78.07 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.0003707/0.7589, allocations: 164.4 kB / 0.7327 GB, free: 77.96 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008699/0.7677, allocations: 3.172 MB / 0.7358 GB, free: 76.94 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.7677, allocations: 0 / 0.7358 GB, free: 76.94 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.006204/0.7739, allocations: 2.197 MB / 0.7379 GB, free: 76.09 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001329/0.7752, allocations: 171.7 kB / 0.7381 GB, free: 75.98 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005533/0.7808, allocations: 3.62 MB / 0.7416 GB, free: 74.01 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006867/0.7815, allocations: 1.338 MB / 0.7429 GB, free: 73.26 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0006834/0.7822, allocations: 178 kB / 0.7431 GB, free: 73.23 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003904/0.7826, allocations: 118 kB / 0.7432 GB, free: 73.21 MB / 0.5137 GB Notification: Performance of SimCode: time 1.242e-06/0.7826, allocations: 4 kB / 0.7432 GB, free: 73.2 MB / 0.5137 GB Notification: Performance of Templates: time 0.04045/0.8231, allocations: 33.5 MB / 0.7759 GB, free: 41.8 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)