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.004621/0.004621, allocations: 99.86 kB / 15.73 MB, free: 6.043 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.408/1.408, allocations: 222.9 MB / 239.4 MB, free: 4.547 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.001484/0.001484, allocations: 184.5 kB / 289.7 MB, free: 2.27 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4544/0.4544, allocations: 78.54 MB / 418.4 MB, free: 3.227 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002291/0.002291, allocations: 79.88 kB / 0.5532 GB, free: 1.508 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2677/0.27, allocations: 68.17 MB / 0.6197 GB, free: 9.449 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.GAST): time 0.006765/0.2768, allocations: 9.227 MB / 0.6287 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004734/0.2815, allocations: 2.875 MB / 0.6315 GB, free: 14.06 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006435/0.2822, allocations: 12 kB / 0.6316 GB, free: 14.05 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008622/0.2831, allocations: 376.8 kB / 0.6319 GB, free: 13.68 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002941/0.2861, allocations: 1.248 MB / 0.6331 GB, free: 12.43 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001701/0.2878, allocations: 0.8424 MB / 0.634 GB, free: 11.59 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003062/0.2908, allocations: 2.748 MB / 0.6366 GB, free: 8.828 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007688/0.2916, allocations: 0.5427 MB / 0.6372 GB, free: 8.246 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00121/0.2928, allocations: 1.035 MB / 0.6382 GB, free: 7.207 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001548/0.2944, allocations: 1.284 MB / 0.6394 GB, free: 5.918 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003321/0.2947, allocations: 224 kB / 0.6397 GB, free: 5.699 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008294/0.2956, allocations: 479.7 kB / 0.6401 GB, free: 5.23 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005224/0.2961, allocations: 0.5409 MB / 0.6406 GB, free: 4.688 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009872/0.2971, allocations: 1.057 MB / 0.6417 GB, free: 3.625 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002959/0.3001, allocations: 2.763 MB / 0.6444 GB, free: 0.8555 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.3001, allocations: 0 / 0.6444 GB, free: 0.8555 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3001, allocations: 0 / 0.6444 GB, free: 0.8555 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.683e-05/0.3001, allocations: 4 kB / 0.6444 GB, free: 0.8516 MB / 446.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.01476/0.3149, allocations: 4.228 MB / 0.6485 GB, free: 12.55 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.3149, allocations: 8.031 kB / 0.6485 GB, free: 12.54 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002417/0.3152, allocations: 181.3 kB / 0.6487 GB, free: 12.36 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004992/0.3202, allocations: 0.7948 MB / 0.6495 GB, free: 11.56 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002417/0.3226, allocations: 1.304 MB / 0.6507 GB, free: 10.21 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005359/0.3232, allocations: 470.7 kB / 0.6512 GB, free: 9.672 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002476/0.3234, allocations: 132 kB / 0.6513 GB, free: 9.543 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003427/0.3269, allocations: 1.624 MB / 0.6529 GB, free: 7.871 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.742e-05/0.3269, allocations: 0 / 0.6529 GB, free: 7.871 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001441/0.3271, allocations: 51.94 kB / 0.6529 GB, free: 7.82 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.54e-05/0.3271, allocations: 28 kB / 0.653 GB, free: 7.793 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003484/0.3306, allocations: 1.5 MB / 0.6544 GB, free: 6.285 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 preOpt removeSimpleEquations (simulation): time 0.01041/0.341, allocations: 5.813 MB / 0.6601 GB, free: 264 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009595/0.3506, allocations: 3.176 MB / 0.6632 GB, free: 12.95 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002219/0.3529, allocations: 0.9903 MB / 0.6642 GB, free: 11.96 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006897/0.3536, allocations: 0.7348 MB / 0.6649 GB, free: 11.05 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002591/0.3562, allocations: 1.201 MB / 0.6661 GB, free: 9.828 MB / 478.1 MB Notification: Performance of pre-optimization done (n=148): time 3.015e-06/0.3562, allocations: 0 / 0.6661 GB, free: 9.828 MB / 478.1 MB Notification: Performance of matching and sorting (n=148): time 0.04445/0.4006, allocations: 9.985 MB / 0.6758 GB, free: 15.78 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.842e-05/0.4008, allocations: 145.9 kB / 0.676 GB, free: 15.61 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002797/0.4036, allocations: 1.643 MB / 0.6776 GB, free: 13.96 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002388/0.4038, allocations: 61.69 kB / 0.6776 GB, free: 13.9 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006707/0.4045, allocations: 0.7156 MB / 0.6783 GB, free: 13.17 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006361/0.4051, allocations: 0.5577 MB / 0.6789 GB, free: 12.61 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000775/0.4059, allocations: 400 kB / 0.6792 GB, free: 12.21 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.4061, allocations: 305.1 kB / 0.6795 GB, free: 11.91 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002595/0.4087, allocations: 1.074 MB / 0.6806 GB, free: 10.83 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002791/0.4115, allocations: 1.314 MB / 0.6819 GB, free: 9.453 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005208/0.4167, allocations: 2.323 MB / 0.6841 GB, free: 7.039 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.102e-06/0.4167, allocations: 0 / 0.6841 GB, free: 7.039 MB / 494.1 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.01114/0.4279, allocations: 4.015 MB / 0.6881 GB, free: 2.961 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.577e-05/0.4279, allocations: 41.69 kB / 0.6881 GB, free: 2.914 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.231e-05/0.428, allocations: 4 kB / 0.6881 GB, free: 2.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0101/0.4381, allocations: 2.648 MB / 0.6907 GB, free: 264 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001881/0.44, allocations: 391.5 kB / 0.6911 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007005/0.447, allocations: 2.699 MB / 0.6937 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002495/0.4495, allocations: 302.5 kB / 0.694 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001957/0.4497, allocations: 75.97 kB / 0.6941 GB, free: 12.78 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.0007087/0.4504, allocations: 345.5 kB / 0.6944 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003357/0.4508, allocations: 194.7 kB / 0.6946 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01901/0.4698, allocations: 5.171 MB / 0.6996 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.053e-05/0.4698, allocations: 16 kB / 0.6996 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/0.4699, allocations: 7.984 kB / 0.6996 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.386e-05/0.4699, allocations: 3.984 kB / 0.6996 GB, free: 7.016 MB / 0.4981 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.02227/0.4922, allocations: 7.646 MB / 0.7071 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.499e-05/0.4922, allocations: 0 / 0.7071 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00112/0.4933, allocations: 171.7 kB / 0.7073 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008581/0.5019, allocations: 2.236 MB / 0.7095 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002151/0.5022, allocations: 43.92 kB / 0.7095 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0311/0.5333, allocations: 12.08 MB / 0.7213 GB, free: 420 kB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/0.5333, allocations: 4 kB / 0.7213 GB, free: 416 kB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02124/0.5545, allocations: 6.37 MB / 0.7275 GB, free: 9.996 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005736/0.5551, allocations: 315.5 kB / 0.7278 GB, free: 9.668 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002653/0.5554, allocations: 32 kB / 0.7279 GB, free: 9.637 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001822/0.5572, allocations: 163.8 kB / 0.728 GB, free: 9.477 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008968/0.5582, allocations: 289.2 kB / 0.7283 GB, free: 9.191 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001264/0.5583, allocations: 40 kB / 0.7283 GB, free: 9.152 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001886/0.5602, allocations: 1.109 MB / 0.7294 GB, free: 8.051 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5602, allocations: 0 / 0.7294 GB, free: 8.051 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001503/0.5617, allocations: 0.6049 MB / 0.73 GB, free: 7.445 MB / 0.5294 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.02154/0.5832, allocations: 6.99 MB / 0.7368 GB, free: 416 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009849/0.5931, allocations: 3.174 MB / 0.7399 GB, free: 13.21 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.5931, allocations: 0 / 0.7399 GB, free: 13.21 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.007032/0.6002, allocations: 2.195 MB / 0.7421 GB, free: 10.98 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001248/0.6014, allocations: 181.3 kB / 0.7422 GB, free: 10.81 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05113/0.6526, allocations: 21.15 MB / 0.7629 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001012/0.6536, allocations: 1.343 MB / 0.7642 GB, free: 3.898 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006966/0.6543, allocations: 175.6 kB / 0.7644 GB, free: 3.723 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001045/0.6554, allocations: 0.718 MB / 0.7651 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of SimCode: time 5.71e-07/0.6554, allocations: 0 / 0.7651 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3001/0.9555, allocations: 49.44 MB / 0.8134 GB, free: 105.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.21/16.16, allocations: 11.2 kB / 0.8134 GB, free: 105.4 MB / 0.5606 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)