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.004387/0.004387, allocations: 99.81 kB / 15.73 MB, free: 6.062 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.323/1.323, allocations: 222.9 MB / 239.4 MB, free: 4.535 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.001408/0.001408, allocations: 192.5 kB / 289.7 MB, free: 2.246 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4914/0.4914, allocations: 91.9 MB / 431.8 MB, free: 9.145 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001452/0.001452, allocations: 81.31 kB / 0.5723 GB, free: 33.57 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1193, allocations: 71.3 MB / 0.6419 GB, free: 4.066 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.GAST): time 0.008846/0.1282, allocations: 9.238 MB / 0.6509 GB, free: 10.78 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005343/0.1336, allocations: 2.867 MB / 0.6537 GB, free: 7.902 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001008/0.1346, allocations: 19.94 kB / 0.6537 GB, free: 7.883 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008985/0.1355, allocations: 356.9 kB / 0.6541 GB, free: 7.531 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002613/0.1381, allocations: 1.242 MB / 0.6553 GB, free: 6.285 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001638/0.1398, allocations: 0.849 MB / 0.6561 GB, free: 5.441 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002601/0.1424, allocations: 2.599 MB / 0.6586 GB, free: 2.836 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007114/0.1431, allocations: 0.5388 MB / 0.6592 GB, free: 2.266 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001228/0.1444, allocations: 1.043 MB / 0.6602 GB, free: 1.219 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001284/0.1457, allocations: 1.272 MB / 0.6614 GB, free: 15.94 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003143/0.146, allocations: 220 kB / 0.6616 GB, free: 15.73 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007908/0.1468, allocations: 479.6 kB / 0.6621 GB, free: 15.26 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004264/0.1472, allocations: 0.537 MB / 0.6626 GB, free: 14.72 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008239/0.148, allocations: 1.057 MB / 0.6637 GB, free: 13.66 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002634/0.1507, allocations: 2.747 MB / 0.6663 GB, free: 10.9 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1507, allocations: 0 / 0.6663 GB, free: 10.9 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.1507, allocations: 0 / 0.6663 GB, free: 10.9 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.873e-05/0.1507, allocations: 0 / 0.6663 GB, free: 10.9 MB / 478.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.01271/0.1635, allocations: 4.023 MB / 0.6703 GB, free: 6.805 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.166e-05/0.1635, allocations: 12.03 kB / 0.6703 GB, free: 6.793 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002217/0.1638, allocations: 181.3 kB / 0.6705 GB, free: 6.605 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004403/0.1682, allocations: 0.7948 MB / 0.6712 GB, free: 5.809 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002572/0.1708, allocations: 1.304 MB / 0.6725 GB, free: 4.457 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005265/0.1713, allocations: 470.7 kB / 0.6729 GB, free: 3.922 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002657/0.1716, allocations: 136 kB / 0.6731 GB, free: 3.789 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003156/0.1747, allocations: 1.621 MB / 0.6747 GB, free: 2.121 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.695e-05/0.1748, allocations: 4 kB / 0.6747 GB, free: 2.117 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001237/0.1749, allocations: 44 kB / 0.6747 GB, free: 2.074 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.189e-05/0.1749, allocations: 28 kB / 0.6747 GB, free: 2.047 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003144/0.1781, allocations: 1.5 MB / 0.6762 GB, free: 0.5391 MB / 478.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.009834/0.1879, allocations: 5.817 MB / 0.6819 GB, free: 10.5 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008424/0.1964, allocations: 3.175 MB / 0.685 GB, free: 7.191 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002102/0.1985, allocations: 0.9981 MB / 0.686 GB, free: 6.188 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006745/0.1992, allocations: 0.7271 MB / 0.6867 GB, free: 5.293 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002519/0.2017, allocations: 1.204 MB / 0.6878 GB, free: 4.062 MB / 494.1 MB Notification: Performance of pre-optimization done (n=148): time 4.018e-06/0.2017, allocations: 0 / 0.6878 GB, free: 4.062 MB / 494.1 MB Notification: Performance of matching and sorting (n=148): time 0.04035/0.2421, allocations: 9.981 MB / 0.6976 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.873e-05/0.2422, allocations: 149.8 kB / 0.6977 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003054/0.2453, allocations: 1.65 MB / 0.6993 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003292/0.2456, allocations: 61.64 kB / 0.6994 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000633/0.2463, allocations: 0.7196 MB / 0.7001 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007269/0.247, allocations: 0.55 MB / 0.7006 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001087/0.2481, allocations: 396 kB / 0.701 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.61e-05/0.2482, allocations: 301.1 kB / 0.7013 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00251/0.2507, allocations: 1.078 MB / 0.7024 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00255/0.2533, allocations: 1.307 MB / 0.7036 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004735/0.258, allocations: 2.331 MB / 0.7059 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.949e-06/0.2581, allocations: 3.938 kB / 0.7059 GB, free: 1.262 MB / 0.4981 GB Notification: Performance of matching and sorting (n=279) (initialization): time 0.01023/0.2683, allocations: 4.015 MB / 0.7098 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.533e-05/0.2684, allocations: 34.95 kB / 0.7099 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.681e-05/0.2684, allocations: 8.062 kB / 0.7099 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008921/0.2773, allocations: 2.651 MB / 0.7125 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001853/0.2792, allocations: 383.5 kB / 0.7128 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00645/0.2857, allocations: 2.695 MB / 0.7155 GB, free: 7.383 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002543/0.2883, allocations: 306.5 kB / 0.7158 GB, free: 7.082 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003704/0.2886, allocations: 71.98 kB / 0.7158 GB, free: 7.012 MB / 0.5137 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.0009951/0.2897, allocations: 353.3 kB / 0.7162 GB, free: 6.66 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005853/0.2902, allocations: 198.7 kB / 0.7164 GB, free: 6.465 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01683/0.3071, allocations: 5.167 MB / 0.7214 GB, free: 1.27 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.228e-05/0.3071, allocations: 16 kB / 0.7214 GB, free: 1.254 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.065e-05/0.3072, allocations: 0 / 0.7214 GB, free: 1.254 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.981e-05/0.3072, allocations: 11.97 kB / 0.7214 GB, free: 1.242 MB / 0.5137 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.02084/0.3281, allocations: 7.645 MB / 0.7289 GB, free: 9.461 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.451e-05/0.3281, allocations: 4 kB / 0.7289 GB, free: 9.457 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001006/0.3291, allocations: 167.9 kB / 0.7291 GB, free: 9.293 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007701/0.3368, allocations: 2.236 MB / 0.7312 GB, free: 7.047 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003055/0.3372, allocations: 39.92 kB / 0.7313 GB, free: 7.008 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02818/0.3654, allocations: 12.08 MB / 0.7431 GB, free: 10.63 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.3654, allocations: 0 / 0.7431 GB, free: 10.63 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02001/0.3854, allocations: 6.372 MB / 0.7493 GB, free: 4.219 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006892/0.3862, allocations: 315.5 kB / 0.7496 GB, free: 3.891 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005454/0.3867, allocations: 28 kB / 0.7496 GB, free: 3.863 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001949/0.3887, allocations: 163.8 kB / 0.7498 GB, free: 3.703 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009149/0.3896, allocations: 289.2 kB / 0.7501 GB, free: 3.422 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001979/0.3898, allocations: 43.98 kB / 0.7501 GB, free: 3.379 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001978/0.3918, allocations: 1.117 MB / 0.7512 GB, free: 2.27 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.7e-07/0.3918, allocations: 0 / 0.7512 GB, free: 2.27 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00193/0.3937, allocations: 0.601 MB / 0.7518 GB, free: 1.668 MB / 0.545 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.01939/0.4132, allocations: 6.99 MB / 0.7586 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009236/0.4224, allocations: 3.169 MB / 0.7617 GB, free: 7.434 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.4224, allocations: 0 / 0.7617 GB, free: 7.434 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006607/0.4291, allocations: 2.199 MB / 0.7638 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001711/0.4308, allocations: 172.6 kB / 0.764 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3113/0.7421, allocations: 21.15 MB / 0.7847 GB, free: 115.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005969/0.7428, allocations: 1.34 MB / 0.786 GB, free: 114.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006938/0.7435, allocations: 177.1 kB / 0.7861 GB, free: 114.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008433/0.7443, allocations: 0.717 MB / 0.7868 GB, free: 113.9 MB / 0.5606 GB Notification: Performance of SimCode: time 1.032e-06/0.7443, allocations: 0 / 0.7868 GB, free: 113.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07395/0.8183, allocations: 49.48 MB / 0.8352 GB, free: 68.68 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.39/15.21, allocations: 12.45 kB / 0.8352 GB, free: 68.67 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)