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/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/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.GAST,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_GAST",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.GAST,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_GAST",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07512/0.07512, allocations: 12.19 MB / 27.15 MB, free: 1.535 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.0008994/0.0008995, allocations: 104.1 kB / 30.66 MB, free: 4.883 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.312/1.312, allocations: 205.4 MB / 239.5 MB, free: 13.62 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.001148/0.001148, allocations: 173.2 kB / 290.6 MB, free: 14.05 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4178/0.4178, allocations: 78.5 MB / 420.1 MB, free: 12.29 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.000902/0.0009022, allocations: 32 kB / 0.4895 GB, free: 11.09 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2916/0.2926, allocations: 69.23 MB / 0.5571 GB, free: 21.12 MB / 382.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.GAST): time 0.006186/0.2988, allocations: 8.094 MB / 0.565 GB, free: 13 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004672/0.3035, allocations: 2.796 MB / 0.5677 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001111/0.3047, allocations: 16 kB / 0.5678 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008059/0.3055, allocations: 254.1 kB / 0.568 GB, free: 9.934 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002514/0.308, allocations: 1.108 MB / 0.5691 GB, free: 8.828 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001425/0.3094, allocations: 0.6577 MB / 0.5697 GB, free: 8.176 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002331/0.3118, allocations: 1.667 MB / 0.5714 GB, free: 6.504 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005282/0.3123, allocations: 449.8 kB / 0.5718 GB, free: 6.043 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009104/0.3132, allocations: 0.8639 MB / 0.5726 GB, free: 5.176 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000978/0.3142, allocations: 1.093 MB / 0.5737 GB, free: 4.078 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002065/0.3145, allocations: 96 kB / 0.5738 GB, free: 3.984 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006658/0.3151, allocations: 319.7 kB / 0.5741 GB, free: 3.672 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002694/0.3154, allocations: 402.3 kB / 0.5745 GB, free: 3.277 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002552/0.3157, allocations: 340.6 kB / 0.5748 GB, free: 2.938 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001438/0.3171, allocations: 1.983 MB / 0.5767 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.3171, allocations: 0 / 0.5767 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.3171, allocations: 4 kB / 0.5767 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.913e-05/0.3172, allocations: 0 / 0.5767 GB, free: 0.9453 MB / 382.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.01372/0.3309, allocations: 3.909 MB / 0.5806 GB, free: 12.97 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.592e-05/0.331, allocations: 15.98 kB / 0.5806 GB, free: 12.95 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000596/0.3316, allocations: 181.3 kB / 0.5807 GB, free: 12.77 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004905/0.3365, allocations: 0.7936 MB / 0.5815 GB, free: 11.97 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002763/0.3393, allocations: 1.234 MB / 0.5827 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000526/0.3398, allocations: 478.7 kB / 0.5832 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003094/0.3402, allocations: 139.8 kB / 0.5833 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003276/0.3434, allocations: 1.679 MB / 0.585 GB, free: 8.281 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.182e-05/0.3435, allocations: 0 / 0.585 GB, free: 8.281 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001339/0.3436, allocations: 44 kB / 0.585 GB, free: 8.238 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.191e-05/0.3437, allocations: 28 kB / 0.585 GB, free: 8.211 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00311/0.3468, allocations: 1.578 MB / 0.5866 GB, free: 6.625 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.01049/0.3573, allocations: 6.041 MB / 0.5925 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009138/0.3665, allocations: 3.758 MB / 0.5961 GB, free: 12.44 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005906/0.3671, allocations: 0.7378 MB / 0.5969 GB, free: 11.54 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002478/0.3696, allocations: 1.277 MB / 0.5981 GB, free: 10.24 MB / 414.1 MB Notification: Performance of pre-optimization done (n=148): time 3.537e-06/0.3696, allocations: 0 / 0.5981 GB, free: 10.24 MB / 414.1 MB Notification: Performance of matching and sorting (n=148): time 0.04158/0.4112, allocations: 11.93 MB / 0.6098 GB, free: 14.25 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.102e-05/0.4113, allocations: 149.8 kB / 0.6099 GB, free: 14.07 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002818/0.4141, allocations: 1.631 MB / 0.6115 GB, free: 12.44 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004249/0.4146, allocations: 53.7 kB / 0.6115 GB, free: 12.38 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005289/0.4151, allocations: 0.7186 MB / 0.6122 GB, free: 11.65 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006022/0.4157, allocations: 0.5276 MB / 0.6128 GB, free: 11.11 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001358/0.4159, allocations: 40 kB / 0.6128 GB, free: 11.07 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.416, allocations: 386.3 kB / 0.6132 GB, free: 10.69 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002298/0.4183, allocations: 1.152 MB / 0.6143 GB, free: 9.535 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002473/0.4208, allocations: 1.381 MB / 0.6156 GB, free: 8.09 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002519/0.4233, allocations: 1.262 MB / 0.6169 GB, free: 6.801 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.586e-06/0.4234, allocations: 0 / 0.6169 GB, free: 6.801 MB / 430.1 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.01011/0.4335, allocations: 4.374 MB / 0.6211 GB, free: 2.367 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.345e-05/0.4336, allocations: 37.77 kB / 0.6212 GB, free: 2.324 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.646e-05/0.4336, allocations: 4 kB / 0.6212 GB, free: 2.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009453/0.4431, allocations: 3.03 MB / 0.6241 GB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001973/0.4451, allocations: 387.4 kB / 0.6245 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006867/0.452, allocations: 3.003 MB / 0.6274 GB, free: 11.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00279/0.4548, allocations: 346.1 kB / 0.6278 GB, free: 11.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00025/0.4551, allocations: 75.97 kB / 0.6279 GB, free: 11.46 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 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {30 26} Notification: Performance of prepare postOptimizeDAE: time 0.0007726/0.4559, allocations: 349.1 kB / 0.6282 GB, free: 11.11 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003632/0.4562, allocations: 193.5 kB / 0.6284 GB, free: 10.92 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01772/0.474, allocations: 6.233 MB / 0.6345 GB, free: 4.664 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.803e-05/0.474, allocations: 16 kB / 0.6345 GB, free: 4.648 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/0.4741, allocations: 0 / 0.6345 GB, free: 4.648 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.464e-05/0.4741, allocations: 7.969 kB / 0.6345 GB, free: 4.641 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.02222/0.4963, allocations: 8.76 MB / 0.643 GB, free: 11.73 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.099e-05/0.4964, allocations: 0 / 0.643 GB, free: 11.73 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001166/0.4976, allocations: 167.8 kB / 0.6432 GB, free: 11.56 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008931/0.5065, allocations: 2.619 MB / 0.6458 GB, free: 8.938 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003434/0.5069, allocations: 31.98 kB / 0.6458 GB, free: 8.906 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0312/0.5381, allocations: 12.83 MB / 0.6583 GB, free: 11.79 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.5382, allocations: 0 / 0.6583 GB, free: 11.79 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02095/0.5591, allocations: 7.544 MB / 0.6657 GB, free: 4.191 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006988/0.5599, allocations: 302.5 kB / 0.666 GB, free: 3.875 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003635/0.5602, allocations: 35.95 kB / 0.666 GB, free: 3.84 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001776/0.562, allocations: 219.8 kB / 0.6662 GB, free: 3.625 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008226/0.5629, allocations: 289.2 kB / 0.6665 GB, free: 3.34 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001111/0.563, allocations: 43.98 kB / 0.6665 GB, free: 3.297 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001727/0.5647, allocations: 1.09 MB / 0.6676 GB, free: 2.215 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.5647, allocations: 4 kB / 0.6676 GB, free: 2.211 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001718/0.5665, allocations: 0.6048 MB / 0.6682 GB, free: 1.605 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {26 23,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.02164/0.5881, allocations: 8.345 MB / 0.6763 GB, free: 9.203 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01048/0.5986, allocations: 3.491 MB / 0.6797 GB, free: 5.691 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.134e-05/0.5987, allocations: 0 / 0.6797 GB, free: 5.691 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007051/0.6058, allocations: 2.427 MB / 0.6821 GB, free: 3.23 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001282/0.6071, allocations: 139.2 kB / 0.6823 GB, free: 3.094 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2187/0.8258, allocations: 7.367 MB / 0.6894 GB, free: 116 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009629/0.8268, allocations: 1.381 MB / 0.6908 GB, free: 115.2 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0008091/0.8277, allocations: 178.2 kB / 0.691 GB, free: 115.2 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001017/0.8287, allocations: 0.711 MB / 0.6917 GB, free: 115.2 MB / 494.1 MB Notification: Performance of SimCode: time 1.492e-06/0.8287, allocations: 0 / 0.6917 GB, free: 115.2 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06155/0.8903, allocations: 43.06 MB / 0.7337 GB, free: 82.54 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001352/0.8904, allocations: 195.5 kB / 0.7339 GB, free: 82.3 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.116/4.007, allocations: 0 / 0.7339 GB, free: 82.3 MB / 494.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_GAST_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_GAST.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe 2>&1) Environment - environmentSimulation: