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.001207/0.001207, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 222.9 MB / 239.3 MB, free: 4.602 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.001918/0.001917, allocations: 191.5 kB / 289.6 MB, free: 2.32 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5312/0.5312, allocations: 91.9 MB / 431.6 MB, free: 9.305 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001695/0.001695, allocations: 79.88 kB / 0.502 GB, free: 7.672 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3575/0.3593, allocations: 71.26 MB / 0.5716 GB, free: 36.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.GAST): time 0.007771/0.3671, allocations: 9.26 MB / 0.5806 GB, free: 30.9 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005505/0.3726, allocations: 2.869 MB / 0.5834 GB, free: 28.87 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001565/0.3742, allocations: 15.12 kB / 0.5834 GB, free: 28.87 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001098/0.3754, allocations: 369.8 kB / 0.5838 GB, free: 28.67 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00311/0.3785, allocations: 1.182 MB / 0.5849 GB, free: 27.89 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001793/0.3803, allocations: 0.8355 MB / 0.5858 GB, free: 27.48 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002781/0.3831, allocations: 2.586 MB / 0.5883 GB, free: 26.21 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007862/0.3839, allocations: 0.5374 MB / 0.5888 GB, free: 25.93 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001479/0.3854, allocations: 1.025 MB / 0.5898 GB, free: 25.42 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001538/0.387, allocations: 1.278 MB / 0.5911 GB, free: 24.8 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004917/0.3875, allocations: 224 kB / 0.5913 GB, free: 24.79 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009569/0.3884, allocations: 480 kB / 0.5917 GB, free: 24.71 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003945/0.3888, allocations: 0.5389 MB / 0.5923 GB, free: 24.36 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009353/0.3898, allocations: 1.054 MB / 0.5933 GB, free: 23.63 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00262/0.3924, allocations: 2.694 MB / 0.5959 GB, free: 22.47 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.3924, allocations: 3.938 kB / 0.5959 GB, free: 22.46 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.3924, allocations: 0 / 0.5959 GB, free: 22.46 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.452e-05/0.3925, allocations: 0 / 0.5959 GB, free: 22.46 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.01413/0.4067, allocations: 3.958 MB / 0.5998 GB, free: 20.77 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.4067, allocations: 9.875 kB / 0.5998 GB, free: 20.77 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000261/0.407, allocations: 179.5 kB / 0.6 GB, free: 20.64 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005195/0.4122, allocations: 0.7885 MB / 0.6007 GB, free: 20.45 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002949/0.4152, allocations: 1.29 MB / 0.602 GB, free: 19.65 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000442/0.4156, allocations: 471.5 kB / 0.6024 GB, free: 19.22 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003168/0.416, allocations: 133.6 kB / 0.6026 GB, free: 19.17 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003563/0.4195, allocations: 1.62 MB / 0.6042 GB, free: 18.52 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.633e-05/0.4196, allocations: 0 / 0.6042 GB, free: 18.52 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001444/0.4197, allocations: 54.72 kB / 0.6042 GB, free: 18.48 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.143e-05/0.4198, allocations: 28.47 kB / 0.6042 GB, free: 18.48 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003599/0.4234, allocations: 1.503 MB / 0.6057 GB, free: 17.96 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.01162/0.435, allocations: 5.824 MB / 0.6114 GB, free: 14.66 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008929/0.444, allocations: 3.179 MB / 0.6145 GB, free: 13.36 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002503/0.4465, allocations: 0.9917 MB / 0.6155 GB, free: 12.95 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005785/0.4471, allocations: 0.7335 MB / 0.6162 GB, free: 12.1 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003115/0.4503, allocations: 1.199 MB / 0.6173 GB, free: 11.64 MB / 430.1 MB Notification: Performance of pre-optimization done (n=148): time 6.973e-06/0.4503, allocations: 0 / 0.6173 GB, free: 11.64 MB / 430.1 MB Notification: Performance of matching and sorting (n=148): time 0.04095/0.4913, allocations: 9.986 MB / 0.6271 GB, free: 4.98 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.3e-05/0.4914, allocations: 141.8 kB / 0.6272 GB, free: 4.812 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002949/0.4943, allocations: 1.65 MB / 0.6288 GB, free: 3.16 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004818/0.4948, allocations: 57.7 kB / 0.6289 GB, free: 3.098 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005418/0.4954, allocations: 0.7068 MB / 0.6296 GB, free: 2.379 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008122/0.4962, allocations: 0.5276 MB / 0.6301 GB, free: 1.844 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001309/0.4975, allocations: 395.9 kB / 0.6305 GB, free: 1.449 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.167e-05/0.4976, allocations: 301.1 kB / 0.6308 GB, free: 1.152 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002314/0.4999, allocations: 1.078 MB / 0.6318 GB, free: 72 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002785/0.5027, allocations: 1.318 MB / 0.6331 GB, free: 14.69 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005121/0.5078, allocations: 2.323 MB / 0.6354 GB, free: 12.27 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-05/0.5079, allocations: 4 kB / 0.6354 GB, free: 12.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.01128/0.5192, allocations: 4.006 MB / 0.6393 GB, free: 8.199 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.586e-05/0.5192, allocations: 37.69 kB / 0.6393 GB, free: 8.156 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.052e-05/0.5193, allocations: 4 kB / 0.6393 GB, free: 8.152 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00965/0.5289, allocations: 2.655 MB / 0.6419 GB, free: 5.488 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002033/0.531, allocations: 383.5 kB / 0.6423 GB, free: 5.113 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006965/0.538, allocations: 2.687 MB / 0.6449 GB, free: 2.398 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003143/0.5412, allocations: 298 kB / 0.6452 GB, free: 2.105 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004194/0.5416, allocations: 75.98 kB / 0.6453 GB, free: 2.031 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.001127/0.5428, allocations: 341.4 kB / 0.6456 GB, free: 1.688 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007413/0.5435, allocations: 189.6 kB / 0.6458 GB, free: 1.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01834/0.5619, allocations: 5.175 MB / 0.6508 GB, free: 12.3 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-05/0.562, allocations: 16 kB / 0.6509 GB, free: 12.29 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.452e-05/0.562, allocations: 4 kB / 0.6509 GB, free: 12.28 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-05/0.5621, allocations: 11.97 kB / 0.6509 GB, free: 12.27 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.02397/0.586, allocations: 7.643 MB / 0.6583 GB, free: 4.488 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.228e-05/0.5861, allocations: 3.984 kB / 0.6583 GB, free: 4.484 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001184/0.5873, allocations: 171.7 kB / 0.6585 GB, free: 4.316 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008248/0.5956, allocations: 2.244 MB / 0.6607 GB, free: 2.062 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000407/0.596, allocations: 35.92 kB / 0.6607 GB, free: 2.027 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03006/0.6261, allocations: 12.07 MB / 0.6725 GB, free: 5.672 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/0.6261, allocations: 4 kB / 0.6725 GB, free: 5.668 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02114/0.6473, allocations: 6.371 MB / 0.6787 GB, free: 15.26 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008588/0.6482, allocations: 294.5 kB / 0.679 GB, free: 14.95 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000803/0.649, allocations: 43.98 kB / 0.6791 GB, free: 14.91 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002502/0.6515, allocations: 159.8 kB / 0.6792 GB, free: 14.75 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001147/0.6527, allocations: 285.3 kB / 0.6795 GB, free: 14.47 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002615/0.653, allocations: 39.98 kB / 0.6795 GB, free: 14.43 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002237/0.6552, allocations: 1.113 MB / 0.6806 GB, free: 13.33 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.6552, allocations: 0 / 0.6806 GB, free: 13.33 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002566/0.6578, allocations: 0.597 MB / 0.6812 GB, free: 12.73 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.02087/0.6787, allocations: 6.985 MB / 0.688 GB, free: 5.695 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01148/0.6902, allocations: 3.244 MB / 0.6912 GB, free: 2.434 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.047e-05/0.6903, allocations: 0 / 0.6912 GB, free: 2.434 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007347/0.6976, allocations: 2.187 MB / 0.6933 GB, free: 220 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002405/0.7001, allocations: 176 kB / 0.6935 GB, free: 44 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05468/0.7548, allocations: 22.85 MB / 0.7158 GB, free: 7.883 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001174/0.756, allocations: 1.343 MB / 0.7171 GB, free: 6.508 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001036/0.7571, allocations: 183.6 kB / 0.7173 GB, free: 6.324 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001192/0.7583, allocations: 0.718 MB / 0.718 GB, free: 5.605 MB / 0.5137 GB Notification: Performance of SimCode: time 1.242e-06/0.7583, allocations: 4 kB / 0.718 GB, free: 5.602 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09007/0.8484, allocations: 48.88 MB / 0.7657 GB, free: 4.859 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.49/13.34, allocations: 7.875 kB / 0.7657 GB, free: 4.852 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 & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_GAST.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe 2>&1)