Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL_Tests_Controls_PSSE_TG_GAST",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.GAST,fileNamePrefix="OpenIPSL_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.001126/0.001126, allocations: 108 kB / 15.6 MB, free: 132 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.406/1.406, allocations: 222.9 MB / 239.3 MB, free: 4.574 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.001327/0.001327, allocations: 192.5 kB / 289.6 MB, free: 2.309 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4736/0.4736, allocations: 78.53 MB / 418.2 MB, free: 3.254 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 83.86 kB / 497.6 MB, free: 6.293 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1379, allocations: 68.17 MB / 0.5525 GB, free: 2.078 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.GAST): time 0.2382/0.3761, allocations: 9.22 MB / 0.5615 GB, free: 34.52 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006659/0.3828, allocations: 2.873 MB / 0.5643 GB, free: 33.8 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002454/0.3853, allocations: 15.91 kB / 0.5643 GB, free: 33.8 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001693/0.3871, allocations: 366.6 kB / 0.5646 GB, free: 33.79 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005001/0.3921, allocations: 1.254 MB / 0.5659 GB, free: 33.25 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002171/0.3943, allocations: 0.8455 MB / 0.5667 GB, free: 33.17 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003055/0.3974, allocations: 2.733 MB / 0.5694 GB, free: 32.68 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007016/0.3981, allocations: 0.5428 MB / 0.5699 GB, free: 32.57 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001117/0.3992, allocations: 1.023 MB / 0.5709 GB, free: 32.33 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001136/0.4004, allocations: 1.295 MB / 0.5722 GB, free: 32.01 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003117/0.4007, allocations: 218.4 kB / 0.5724 GB, free: 32.01 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007918/0.4015, allocations: 477.9 kB / 0.5728 GB, free: 32 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003741/0.4019, allocations: 0.5336 MB / 0.5733 GB, free: 31.88 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007058/0.4026, allocations: 1.066 MB / 0.5744 GB, free: 31.51 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002351/0.405, allocations: 2.7 MB / 0.577 GB, free: 30.59 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.405, allocations: 3.562 kB / 0.577 GB, free: 30.59 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.405, allocations: 0 / 0.577 GB, free: 30.59 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.615e-05/0.405, allocations: 0 / 0.577 GB, free: 30.59 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.0144/0.4195, allocations: 4.175 MB / 0.5811 GB, free: 28.89 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.4195, allocations: 9.531 kB / 0.5811 GB, free: 28.89 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001977/0.4197, allocations: 178.2 kB / 0.5813 GB, free: 28.77 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004634/0.4244, allocations: 0.7873 MB / 0.5821 GB, free: 28.58 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002262/0.4266, allocations: 1.286 MB / 0.5833 GB, free: 27.78 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003788/0.427, allocations: 468.5 kB / 0.5838 GB, free: 27.35 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000244/0.4273, allocations: 133.3 kB / 0.5839 GB, free: 27.3 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003051/0.4304, allocations: 1.623 MB / 0.5855 GB, free: 26.65 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.476e-05/0.4304, allocations: 0 / 0.5855 GB, free: 26.65 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001311/0.4305, allocations: 52.8 kB / 0.5855 GB, free: 26.61 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.665e-05/0.4306, allocations: 28.67 kB / 0.5855 GB, free: 26.61 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003054/0.4336, allocations: 1.502 MB / 0.587 GB, free: 26.09 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.009842/0.4435, allocations: 5.828 MB / 0.5927 GB, free: 22.79 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009051/0.4526, allocations: 3.182 MB / 0.5958 GB, free: 21.51 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002328/0.4549, allocations: 0.9915 MB / 0.5968 GB, free: 21.11 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004423/0.4554, allocations: 0.7298 MB / 0.5975 GB, free: 20.26 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002536/0.4579, allocations: 1.202 MB / 0.5987 GB, free: 19.8 MB / 430.1 MB Notification: Performance of pre-optimization done (n=148): time 3.015e-06/0.4579, allocations: 0 / 0.5987 GB, free: 19.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=148): time 0.04145/0.4994, allocations: 9.976 MB / 0.6084 GB, free: 17.25 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.852e-05/0.4995, allocations: 150.5 kB / 0.6086 GB, free: 17.09 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002867/0.5024, allocations: 1.641 MB / 0.6102 GB, free: 16.2 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004942/0.5029, allocations: 60.38 kB / 0.6102 GB, free: 16.14 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004703/0.5034, allocations: 0.7073 MB / 0.6109 GB, free: 15.51 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005464/0.5039, allocations: 0.5322 MB / 0.6114 GB, free: 15.04 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007045/0.5046, allocations: 395 kB / 0.6118 GB, free: 14.81 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.883e-05/0.5047, allocations: 302.2 kB / 0.6121 GB, free: 14.51 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002291/0.507, allocations: 1.078 MB / 0.6131 GB, free: 13.97 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002426/0.5094, allocations: 1.312 MB / 0.6144 GB, free: 13.2 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004481/0.5139, allocations: 2.331 MB / 0.6167 GB, free: 11.86 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.938e-06/0.514, allocations: 1.656 kB / 0.6167 GB, free: 11.86 MB / 430.1 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.009477/0.5234, allocations: 4.007 MB / 0.6206 GB, free: 8.484 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.211e-05/0.5235, allocations: 40.12 kB / 0.6207 GB, free: 8.441 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.189e-05/0.5235, allocations: 4 kB / 0.6207 GB, free: 8.438 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008568/0.5321, allocations: 2.662 MB / 0.6233 GB, free: 5.77 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001899/0.5341, allocations: 379.5 kB / 0.6236 GB, free: 5.398 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00576/0.5398, allocations: 2.691 MB / 0.6262 GB, free: 2.684 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0028/0.5427, allocations: 294.1 kB / 0.6265 GB, free: 2.395 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001998/0.5429, allocations: 83.97 kB / 0.6266 GB, free: 2.312 MB / 430.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.0007001/0.5436, allocations: 342 kB / 0.6269 GB, free: 1.969 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003384/0.5439, allocations: 185.7 kB / 0.6271 GB, free: 1.785 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01693/0.5609, allocations: 5.168 MB / 0.6322 GB, free: 12.59 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.83e-05/0.5609, allocations: 19.98 kB / 0.6322 GB, free: 12.57 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/0.5609, allocations: 0 / 0.6322 GB, free: 12.57 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.602e-05/0.561, allocations: 3.984 kB / 0.6322 GB, free: 12.57 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.02152/0.5825, allocations: 7.654 MB / 0.6397 GB, free: 4.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.889e-05/0.5826, allocations: 4 kB / 0.6397 GB, free: 4.766 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001134/0.5837, allocations: 164.7 kB / 0.6398 GB, free: 4.605 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007969/0.5917, allocations: 2.253 MB / 0.642 GB, free: 2.348 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003406/0.5921, allocations: 39.92 kB / 0.6421 GB, free: 2.309 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02847/0.6206, allocations: 12.07 MB / 0.6538 GB, free: 5.957 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.6206, allocations: 0 / 0.6538 GB, free: 5.957 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02014/0.6407, allocations: 6.359 MB / 0.6601 GB, free: 15.55 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007512/0.6415, allocations: 298.5 kB / 0.6603 GB, free: 15.24 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003654/0.6419, allocations: 36 kB / 0.6604 GB, free: 15.21 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001844/0.6438, allocations: 169 kB / 0.6605 GB, free: 15.04 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000914/0.6447, allocations: 289.2 kB / 0.6608 GB, free: 14.76 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001182/0.6448, allocations: 39.98 kB / 0.6608 GB, free: 14.72 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001926/0.6468, allocations: 1.107 MB / 0.6619 GB, free: 13.62 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.6468, allocations: 0 / 0.6619 GB, free: 13.62 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001738/0.6485, allocations: 0.6048 MB / 0.6625 GB, free: 13.02 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.02006/0.6686, allocations: 6.983 MB / 0.6693 GB, free: 5.992 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01058/0.6792, allocations: 3.234 MB / 0.6725 GB, free: 2.734 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.6792, allocations: 0 / 0.6725 GB, free: 2.734 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006817/0.6861, allocations: 2.184 MB / 0.6746 GB, free: 0.5312 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00161/0.6877, allocations: 178.4 kB / 0.6748 GB, free: 368 kB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0507/0.7384, allocations: 22.86 MB / 0.6971 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009432/0.7394, allocations: 1.343 MB / 0.6984 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0009822/0.7404, allocations: 176.4 kB / 0.6986 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001056/0.7415, allocations: 0.718 MB / 0.6993 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of SimCode: time 9.62e-07/0.7415, allocations: 4 kB / 0.6993 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09005/0.8315, allocations: 48.86 MB / 0.747 GB, free: 5.41 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.28/13.11, allocations: 19.8 kB / 0.747 GB, free: 5.402 MB / 0.545 GB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.GAST.sim & python3 -m fmpy simulate --output-file OpenIPSL_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_OpenIPSL_Tests_Controls_PSSE_TG_GAST.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe 2>&1)