Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST.conf.json 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 4.0.0+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 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.GAST,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_GAST",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.GAST,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_GAST",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00177/0.001779, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 222.9 MB / 239 MB, free: 4.746 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001613/0.001613, allocations: 196.4 kB / 289.3 MB, free: 2.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5722/0.5722, allocations: 91.9 MB / 431.3 MB, free: 9.379 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 75.89 kB / 0.5015 GB, free: 7.926 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.369/0.3705, allocations: 71.26 MB / 0.5711 GB, free: 36.52 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.GAST): time 0.007676/0.3782, allocations: 9.566 MB / 0.5804 GB, free: 30.62 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005252/0.3835, allocations: 2.901 MB / 0.5833 GB, free: 28.57 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001176/0.3847, allocations: 24.72 kB / 0.5833 GB, free: 28.57 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009096/0.3856, allocations: 283.9 kB / 0.5836 GB, free: 28.45 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00242/0.3881, allocations: 1.04 MB / 0.5846 GB, free: 27.78 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001432/0.3895, allocations: 0.7726 MB / 0.5853 GB, free: 27.36 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002323/0.3918, allocations: 2.587 MB / 0.5879 GB, free: 26.09 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007546/0.3926, allocations: 0.5432 MB / 0.5884 GB, free: 25.81 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001484/0.3941, allocations: 1.029 MB / 0.5894 GB, free: 25.29 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001346/0.3955, allocations: 1.274 MB / 0.5906 GB, free: 24.68 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003133/0.3958, allocations: 219.9 kB / 0.5908 GB, free: 24.68 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009477/0.3967, allocations: 484.5 kB / 0.5913 GB, free: 24.59 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003905/0.3971, allocations: 0.5335 MB / 0.5918 GB, free: 24.24 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008004/0.3979, allocations: 1.065 MB / 0.5929 GB, free: 23.51 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002553/0.4005, allocations: 2.7 MB / 0.5955 GB, free: 22.34 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.4005, allocations: 1.375 kB / 0.5955 GB, free: 22.34 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.4005, allocations: 0 / 0.5955 GB, free: 22.34 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.67e-05/0.4006, allocations: 3.938 kB / 0.5955 GB, free: 22.34 MB / 430.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.01351/0.4141, allocations: 3.956 MB / 0.5994 GB, free: 20.64 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/0.4141, allocations: 9.281 kB / 0.5994 GB, free: 20.64 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002432/0.4144, allocations: 181.2 kB / 0.5996 GB, free: 20.52 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004832/0.4192, allocations: 0.7875 MB / 0.6003 GB, free: 20.33 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002655/0.4219, allocations: 1.289 MB / 0.6016 GB, free: 19.52 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004903/0.4224, allocations: 466.8 kB / 0.602 GB, free: 19.1 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002749/0.4227, allocations: 134.5 kB / 0.6022 GB, free: 19.05 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003776/0.4265, allocations: 1.624 MB / 0.6037 GB, free: 18.39 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.886e-05/0.4265, allocations: 0 / 0.6037 GB, free: 18.39 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001386/0.4267, allocations: 47.16 kB / 0.6038 GB, free: 18.36 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.117e-05/0.4267, allocations: 27.56 kB / 0.6038 GB, free: 18.36 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003353/0.4301, allocations: 1.502 MB / 0.6053 GB, free: 17.84 MB / 430.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.01233/0.4424, allocations: 5.826 MB / 0.611 GB, free: 14.54 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009133/0.4516, allocations: 3.19 MB / 0.6141 GB, free: 13.23 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002144/0.4537, allocations: 0.992 MB / 0.615 GB, free: 12.83 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005539/0.4543, allocations: 0.7296 MB / 0.6158 GB, free: 11.98 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002928/0.4573, allocations: 1.198 MB / 0.6169 GB, free: 11.53 MB / 430.1 MB Notification: Performance of pre-optimization done (n=148): time 1.097e-05/0.4573, allocations: 3.938 kB / 0.6169 GB, free: 11.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=148): time 0.04166/0.4989, allocations: 9.984 MB / 0.6267 GB, free: 5.051 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.637e-05/0.4991, allocations: 145.8 kB / 0.6268 GB, free: 4.879 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003105/0.5022, allocations: 1.642 MB / 0.6284 GB, free: 3.234 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004648/0.5027, allocations: 57.7 kB / 0.6285 GB, free: 3.172 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000609/0.5033, allocations: 0.7068 MB / 0.6292 GB, free: 2.453 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007887/0.5041, allocations: 0.5276 MB / 0.6297 GB, free: 1.918 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001373/0.5055, allocations: 399.9 kB / 0.6301 GB, free: 1.52 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.198e-05/0.5055, allocations: 301.1 kB / 0.6304 GB, free: 1.223 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002301/0.5078, allocations: 1.082 MB / 0.6314 GB, free: 140 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002761/0.5106, allocations: 1.311 MB / 0.6327 GB, free: 14.76 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005192/0.5158, allocations: 2.327 MB / 0.635 GB, free: 12.34 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-05/0.5158, allocations: 4 kB / 0.635 GB, free: 12.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.01157/0.5274, allocations: 4.006 MB / 0.6389 GB, free: 8.27 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.512e-05/0.5275, allocations: 33.7 kB / 0.6389 GB, free: 8.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.791e-05/0.5275, allocations: 4 kB / 0.6389 GB, free: 8.227 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009626/0.5372, allocations: 2.655 MB / 0.6415 GB, free: 5.562 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002108/0.5393, allocations: 387.5 kB / 0.6419 GB, free: 5.184 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006944/0.5463, allocations: 2.684 MB / 0.6445 GB, free: 2.477 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003332/0.5497, allocations: 294.1 kB / 0.6448 GB, free: 2.188 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004763/0.5501, allocations: 75.97 kB / 0.6449 GB, free: 2.113 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.001291/0.5515, allocations: 345.4 kB / 0.6452 GB, free: 1.766 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008255/0.5523, allocations: 189.6 kB / 0.6454 GB, free: 1.578 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01785/0.5702, allocations: 5.167 MB / 0.6504 GB, free: 12.39 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.683e-05/0.5702, allocations: 19.88 kB / 0.6504 GB, free: 12.37 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.404e-05/0.5703, allocations: 4 kB / 0.6504 GB, free: 12.36 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-05/0.5703, allocations: 7.969 kB / 0.6504 GB, free: 12.36 MB / 462.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.02384/0.5942, allocations: 7.655 MB / 0.6579 GB, free: 4.559 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.277e-05/0.5942, allocations: 0 / 0.6579 GB, free: 4.559 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001259/0.5955, allocations: 163.8 kB / 0.6581 GB, free: 4.398 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008171/0.6037, allocations: 2.256 MB / 0.6603 GB, free: 2.133 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004335/0.6042, allocations: 31.94 kB / 0.6603 GB, free: 2.102 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03058/0.6348, allocations: 12.08 MB / 0.6721 GB, free: 5.738 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/0.6348, allocations: 4 kB / 0.6721 GB, free: 5.734 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02121/0.656, allocations: 6.365 MB / 0.6783 GB, free: 15.33 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009727/0.657, allocations: 298.5 kB / 0.6786 GB, free: 15.02 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008664/0.6579, allocations: 28 kB / 0.6786 GB, free: 14.99 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002472/0.6604, allocations: 171.8 kB / 0.6788 GB, free: 14.82 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001207/0.6617, allocations: 281.3 kB / 0.6791 GB, free: 14.55 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003034/0.662, allocations: 43.98 kB / 0.6791 GB, free: 14.51 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002431/0.6644, allocations: 1.109 MB / 0.6802 GB, free: 13.41 MB / 494.1 MB Notification: Performance of sort global known variables: time 7.62e-07/0.6644, allocations: 0 / 0.6802 GB, free: 13.41 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002735/0.6672, allocations: 0.6008 MB / 0.6808 GB, free: 12.8 MB / 494.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.02179/0.689, allocations: 6.981 MB / 0.6876 GB, free: 5.773 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01157/0.7006, allocations: 3.248 MB / 0.6908 GB, free: 2.504 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/0.7007, allocations: 0 / 0.6908 GB, free: 2.504 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007301/0.708, allocations: 2.191 MB / 0.6929 GB, free: 288 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002709/0.7107, allocations: 174.8 kB / 0.6931 GB, free: 116 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06509/0.7758, allocations: 23.45 MB / 0.716 GB, free: 7.352 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001386/0.7773, allocations: 1.339 MB / 0.7173 GB, free: 5.98 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001199/0.7785, allocations: 171.6 kB / 0.7174 GB, free: 5.809 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001521/0.78, allocations: 0.7219 MB / 0.7182 GB, free: 5.086 MB / 0.5137 GB Notification: Performance of SimCode: time 1.863e-06/0.78, allocations: 0 / 0.7182 GB, free: 5.086 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09191/0.872, allocations: 47.38 MB / 0.7644 GB, free: 5.887 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002109/0.8722, allocations: 205.8 kB / 0.7646 GB, free: 5.637 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.313/4.185, allocations: 0 / 0.7646 GB, free: 5.637 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_GAST_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_GAST.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe 2>&1)