Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GAST.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) 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 3.2.3+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 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.GAST,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_GAST",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.GAST,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_GAST",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08181/0.08181, allocations: 12.59 MB / 28.22 MB, free: 0.7383 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001167/0.001167, allocations: 111.4 kB / 31.83 MB, free: 3.879 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.277/1.277, allocations: 205.1 MB / 240.4 MB, free: 12.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001497/0.001497, allocations: 192.4 kB / 290.7 MB, free: 10.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4035/0.4035, allocations: 78.51 MB / 419.3 MB, free: 10.77 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003667/0.003667, allocations: 147.8 kB / 0.5554 GB, free: 17.79 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1164, allocations: 68.12 MB / 0.6219 GB, free: 13.63 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.GAST): time 0.01023/0.1266, allocations: 9.282 MB / 0.631 GB, free: 4.305 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005693/0.1323, allocations: 2.833 MB / 0.6338 GB, free: 1.461 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009043/0.1333, allocations: 19.94 kB / 0.6338 GB, free: 1.441 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008981/0.1342, allocations: 356.9 kB / 0.6341 GB, free: 1.09 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00297/0.1372, allocations: 1.262 MB / 0.6354 GB, free: 15.83 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001658/0.1389, allocations: 0.8386 MB / 0.6362 GB, free: 14.99 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003062/0.1419, allocations: 2.751 MB / 0.6389 GB, free: 12.23 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007533/0.1427, allocations: 0.5504 MB / 0.6394 GB, free: 11.65 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001186/0.1439, allocations: 1.023 MB / 0.6404 GB, free: 10.62 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00146/0.1454, allocations: 1.295 MB / 0.6417 GB, free: 9.32 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003178/0.1457, allocations: 220 kB / 0.6419 GB, free: 9.105 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007913/0.1465, allocations: 471.7 kB / 0.6423 GB, free: 8.645 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004932/0.147, allocations: 0.537 MB / 0.6428 GB, free: 8.105 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000994/0.148, allocations: 1.064 MB / 0.6439 GB, free: 7.035 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002983/0.151, allocations: 2.762 MB / 0.6466 GB, free: 4.262 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.151, allocations: 7.938 kB / 0.6466 GB, free: 4.254 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.151, allocations: 0 / 0.6466 GB, free: 4.254 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.662e-05/0.1511, allocations: 0 / 0.6466 GB, free: 4.254 MB / 462.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.01445/0.1655, allocations: 4.222 MB / 0.6507 GB, free: 15.96 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.1656, allocations: 15.98 kB / 0.6507 GB, free: 15.94 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002322/0.1658, allocations: 177.3 kB / 0.6509 GB, free: 15.76 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004717/0.1705, allocations: 0.7986 MB / 0.6517 GB, free: 14.96 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002699/0.1733, allocations: 1.308 MB / 0.653 GB, free: 13.61 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005127/0.1738, allocations: 474.7 kB / 0.6534 GB, free: 13.07 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002409/0.174, allocations: 132 kB / 0.6535 GB, free: 12.94 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003388/0.1774, allocations: 1.624 MB / 0.6551 GB, free: 11.27 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.487e-05/0.1775, allocations: 0 / 0.6551 GB, free: 11.27 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001356/0.1776, allocations: 48 kB / 0.6552 GB, free: 11.22 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.161e-05/0.1777, allocations: 28 kB / 0.6552 GB, free: 11.19 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003316/0.181, allocations: 1.496 MB / 0.6567 GB, free: 9.688 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.01032/0.1913, allocations: 5.802 MB / 0.6623 GB, free: 3.664 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009026/0.2004, allocations: 3.187 MB / 0.6654 GB, free: 352 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002232/0.2026, allocations: 0.9951 MB / 0.6664 GB, free: 15.34 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007003/0.2033, allocations: 0.7306 MB / 0.6671 GB, free: 14.45 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002527/0.2059, allocations: 1.208 MB / 0.6683 GB, free: 13.21 MB / 494.1 MB Notification: Performance of pre-optimization done (n=148): time 3.356e-06/0.2059, allocations: 0 / 0.6683 GB, free: 13.21 MB / 494.1 MB Notification: Performance of matching and sorting (n=148): time 0.04143/0.2473, allocations: 9.985 MB / 0.678 GB, free: 3.16 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.669e-05/0.2474, allocations: 149.8 kB / 0.6782 GB, free: 2.984 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002754/0.2502, allocations: 1.646 MB / 0.6798 GB, free: 1.336 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004223/0.2506, allocations: 53.7 kB / 0.6798 GB, free: 1.277 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006832/0.2513, allocations: 0.7234 MB / 0.6806 GB, free: 0.543 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.2151/0.4665, allocations: 0.5392 MB / 0.6811 GB, free: 52.38 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001124/0.4676, allocations: 397.6 kB / 0.6815 GB, free: 52.36 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.012e-05/0.4677, allocations: 302.3 kB / 0.6817 GB, free: 52.07 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002341/0.47, allocations: 1.077 MB / 0.6828 GB, free: 52.06 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002428/0.4725, allocations: 1.309 MB / 0.6841 GB, free: 51.89 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00451/0.477, allocations: 2.328 MB / 0.6864 GB, free: 51.09 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.685e-06/0.477, allocations: 0.7812 kB / 0.6864 GB, free: 51.09 MB / 494.1 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.01011/0.4871, allocations: 4.017 MB / 0.6903 GB, free: 49.77 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.003e-05/0.4872, allocations: 33.67 kB / 0.6903 GB, free: 49.74 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.845e-05/0.4872, allocations: 8.812 kB / 0.6903 GB, free: 49.73 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009559/0.4968, allocations: 2.653 MB / 0.6929 GB, free: 49.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001786/0.4986, allocations: 386.5 kB / 0.6933 GB, free: 49.36 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006078/0.5047, allocations: 2.683 MB / 0.6959 GB, free: 48.12 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002463/0.5072, allocations: 309.3 kB / 0.6962 GB, free: 48.08 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001679/0.5073, allocations: 76.45 kB / 0.6963 GB, free: 48.07 MB / 494.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.0005956/0.5079, allocations: 343.1 kB / 0.6966 GB, free: 47.8 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002814/0.5082, allocations: 200.3 kB / 0.6968 GB, free: 47.78 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01623/0.5245, allocations: 5.172 MB / 0.7018 GB, free: 46.5 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.85e-05/0.5245, allocations: 15.12 kB / 0.7018 GB, free: 46.5 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/0.5245, allocations: 1.375 kB / 0.7018 GB, free: 46.5 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.166e-05/0.5246, allocations: 12.88 kB / 0.7019 GB, free: 46.5 MB / 494.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.01785/0.5424, allocations: 7.648 MB / 0.7093 GB, free: 43.22 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.158e-05/0.5425, allocations: 0 / 0.7093 GB, free: 43.22 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009403/0.5434, allocations: 171.8 kB / 0.7095 GB, free: 43.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007018/0.5504, allocations: 2.238 MB / 0.7117 GB, free: 42.2 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002158/0.5507, allocations: 39.8 kB / 0.7117 GB, free: 42.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02406/0.5747, allocations: 12.07 MB / 0.7235 GB, free: 30.72 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.5748, allocations: 8 kB / 0.7235 GB, free: 30.71 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0171/0.5919, allocations: 6.374 MB / 0.7297 GB, free: 24.3 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005202/0.5924, allocations: 313.4 kB / 0.73 GB, free: 24 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002525/0.5927, allocations: 28 kB / 0.7301 GB, free: 23.97 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001611/0.5943, allocations: 159.8 kB / 0.7302 GB, free: 23.81 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007699/0.5951, allocations: 285.3 kB / 0.7305 GB, free: 23.54 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001042/0.5952, allocations: 43.98 kB / 0.7305 GB, free: 23.49 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001345/0.5966, allocations: 1.108 MB / 0.7316 GB, free: 22.39 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5966, allocations: 0 / 0.7316 GB, free: 22.39 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001233/0.5978, allocations: 0.6009 MB / 0.7322 GB, free: 21.81 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.01788/0.6157, allocations: 6.997 MB / 0.739 GB, free: 14.78 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008096/0.6238, allocations: 3.175 MB / 0.7421 GB, free: 11.59 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/0.6238, allocations: 8.25 kB / 0.7421 GB, free: 11.58 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005706/0.6296, allocations: 2.188 MB / 0.7443 GB, free: 9.359 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001204/0.6308, allocations: 178.4 kB / 0.7444 GB, free: 9.191 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0449/0.6757, allocations: 21.15 MB / 0.7651 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001056/0.6768, allocations: 1.346 MB / 0.7664 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007833/0.6776, allocations: 179.5 kB / 0.7666 GB, free: 2.164 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001058/0.6786, allocations: 0.7258 MB / 0.7673 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of SimCode: time 5.51e-07/0.6787, allocations: 0 / 0.7673 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09401/0.7727, allocations: 49.46 MB / 0.8156 GB, free: 36 kB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.95/14.72, allocations: 19.03 kB / 0.8156 GB, free: 20 kB / 0.545 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GAST.sim & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_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_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_GAST.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe 2>&1)