Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.08166/0.08166, allocations: 12.35 MB / 31.2 MB, free: 6.434 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 109 kB / 37.24 MB, free: 1.113 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.38/1.38, allocations: 207.7 MB / 250.9 MB, free: 7.281 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001704/0.001704, allocations: 216.3 kB / 306.1 MB, free: 296 kB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3198/0.3198, allocations: 79.73 MB / 441 MB, free: 12.27 MB / 318.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.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.1.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.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.004348/0.004348, allocations: 147.8 kB / 0.5875 GB, free: 7.43 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3394/0.3437, allocations: 71.95 MB / 0.6578 GB, free: 2.492 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1): time 0.008458/0.3522, allocations: 7.025 MB / 0.6646 GB, free: 13.73 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00572/0.3579, allocations: 2.37 MB / 0.667 GB, free: 12.09 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008266/0.3587, allocations: 10.5 kB / 0.667 GB, free: 12.09 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000881/0.3596, allocations: 305.2 kB / 0.6673 GB, free: 11.93 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003288/0.3629, allocations: 1.234 MB / 0.6685 GB, free: 11.14 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001797/0.3647, allocations: 0.6716 MB / 0.6691 GB, free: 10.81 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00303/0.3677, allocations: 2.304 MB / 0.6714 GB, free: 9.719 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004975/0.3682, allocations: 251.8 kB / 0.6716 GB, free: 9.57 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001323/0.3695, allocations: 0.8895 MB / 0.6725 GB, free: 9.133 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001371/0.3709, allocations: 1.024 MB / 0.6735 GB, free: 8.449 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002635/0.3712, allocations: 173 kB / 0.6736 GB, free: 8.449 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006926/0.3719, allocations: 333.2 kB / 0.674 GB, free: 8.383 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004242/0.3723, allocations: 460 kB / 0.6744 GB, free: 7.996 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007372/0.373, allocations: 0.7131 MB / 0.6751 GB, free: 7.48 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002445/0.3755, allocations: 2.221 MB / 0.6773 GB, free: 5.832 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3755, allocations: 0 / 0.6773 GB, free: 5.832 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.3755, allocations: 0.9688 kB / 0.6773 GB, free: 5.832 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.409e-05/0.3755, allocations: 0 / 0.6773 GB, free: 5.832 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: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.01665/0.3922, allocations: 3.941 MB / 0.6811 GB, free: 3.59 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.3922, allocations: 14.25 kB / 0.6811 GB, free: 3.586 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002919/0.3925, allocations: 142.9 kB / 0.6813 GB, free: 3.469 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004894/0.3974, allocations: 0.7547 MB / 0.682 GB, free: 3.145 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00222/0.3996, allocations: 1.032 MB / 0.683 GB, free: 2.344 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005827/0.4002, allocations: 0.5604 MB / 0.6836 GB, free: 1.758 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002038/0.4004, allocations: 107.1 kB / 0.6837 GB, free: 1.719 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002805/0.4032, allocations: 1.366 MB / 0.685 GB, free: 0.9219 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.317e-05/0.4032, allocations: 0 / 0.685 GB, free: 0.9219 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001154/0.4033, allocations: 36.16 kB / 0.685 GB, free: 0.8945 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.206e-05/0.4034, allocations: 22.09 kB / 0.685 GB, free: 0.8945 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002836/0.4062, allocations: 1.292 MB / 0.6863 GB, free: 280 kB / 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.007965/0.4142, allocations: 3.57 MB / 0.6898 GB, free: 13.77 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008012/0.4222, allocations: 2.33 MB / 0.6921 GB, free: 12.69 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001964/0.4241, allocations: 0.8227 MB / 0.6929 GB, free: 12.26 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001201/0.4243, allocations: 18.91 kB / 0.6929 GB, free: 12.25 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002214/0.4265, allocations: 1.045 MB / 0.6939 GB, free: 11.62 MB / 478.1 MB Notification: Performance of pre-optimization done (n=124): time 3.917e-06/0.4265, allocations: 0 / 0.6939 GB, free: 11.62 MB / 478.1 MB Notification: Performance of matching and sorting (n=124): time 0.04872/0.4752, allocations: 9.795 MB / 0.7035 GB, free: 3.215 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001057/0.4753, allocations: 115.8 kB / 0.7036 GB, free: 3.074 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00283/0.4781, allocations: 1.353 MB / 0.7049 GB, free: 1.699 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003463/0.4785, allocations: 57.7 kB / 0.705 GB, free: 1.637 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006162/0.4791, allocations: 0.5695 MB / 0.7055 GB, free: 1.062 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007957/0.4799, allocations: 479.9 kB / 0.706 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001092/0.481, allocations: 323.5 kB / 0.7063 GB, free: 276 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.4811, allocations: 309.1 kB / 0.7066 GB, free: 15.96 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002312/0.4835, allocations: 0.9487 MB / 0.7075 GB, free: 15.02 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002519/0.486, allocations: 1.155 MB / 0.7086 GB, free: 13.82 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004589/0.4906, allocations: 2.058 MB / 0.7106 GB, free: 11.71 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/0.4906, allocations: 0 / 0.7106 GB, free: 11.71 MB / 494.1 MB Notification: Performance of matching and sorting (n=229) (initialization): time 0.01084/0.5014, allocations: 3.789 MB / 0.7143 GB, free: 7.91 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.914e-05/0.5014, allocations: 11.94 kB / 0.7144 GB, free: 7.898 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.536e-05/0.5015, allocations: 7.984 kB / 0.7144 GB, free: 7.891 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009807/0.5113, allocations: 2.661 MB / 0.717 GB, free: 5.227 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001548/0.5128, allocations: 307.5 kB / 0.7173 GB, free: 4.926 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006874/0.5197, allocations: 2.686 MB / 0.7199 GB, free: 2.211 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00252/0.5222, allocations: 254.8 kB / 0.7201 GB, free: 1.961 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000288/0.5225, allocations: 59.98 kB / 0.7202 GB, free: 1.902 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0008593/0.5234, allocations: 289.5 kB / 0.7205 GB, free: 1.609 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005728/0.5239, allocations: 166.9 kB / 0.7206 GB, free: 1.445 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02005/0.544, allocations: 4.717 MB / 0.7252 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.853e-05/0.544, allocations: 16 kB / 0.7252 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.125e-05/0.544, allocations: 0 / 0.7252 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.388e-05/0.5441, allocations: 3.984 kB / 0.7252 GB, free: 12.68 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.02302/0.5671, allocations: 6.113 MB / 0.7312 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.817e-05/0.5671, allocations: 0 / 0.7312 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009281/0.568, allocations: 131.8 kB / 0.7313 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007789/0.5758, allocations: 2.142 MB / 0.7334 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002614/0.5761, allocations: 31.98 kB / 0.7335 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02708/0.6032, allocations: 9.719 MB / 0.7429 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.66e-06/0.6032, allocations: 3.938 kB / 0.743 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01956/0.6227, allocations: 5.878 MB / 0.7487 GB, free: 4.438 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007161/0.6234, allocations: 194.6 kB / 0.7489 GB, free: 4.246 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004642/0.6239, allocations: 27.98 kB / 0.7489 GB, free: 4.219 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001846/0.6258, allocations: 139.8 kB / 0.749 GB, free: 4.082 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008503/0.6266, allocations: 261.3 kB / 0.7493 GB, free: 3.824 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001665/0.6268, allocations: 39.98 kB / 0.7493 GB, free: 3.785 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001908/0.6287, allocations: 0.9173 MB / 0.7502 GB, free: 2.867 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6287, allocations: 0 / 0.7502 GB, free: 2.867 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001878/0.6306, allocations: 0.5113 MB / 0.7507 GB, free: 2.355 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 11 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,tGOV1.imLeadLag.TF.x_scaled[1],tGOV1.simpleLagLim.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(26,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01994/0.6505, allocations: 6.481 MB / 0.757 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009348/0.6598, allocations: 2.65 MB / 0.7596 GB, free: 9.176 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.6598, allocations: 4.062 kB / 0.7596 GB, free: 9.172 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006344/0.6662, allocations: 1.829 MB / 0.7614 GB, free: 7.336 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001506/0.6677, allocations: 147.9 kB / 0.7616 GB, free: 7.199 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0484/0.7161, allocations: 19.03 MB / 0.7801 GB, free: 3.832 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007569/0.7169, allocations: 0.6208 MB / 0.7808 GB, free: 3.168 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006098/0.7175, allocations: 137.7 kB / 0.7809 GB, free: 3.031 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009117/0.7184, allocations: 0.5735 MB / 0.7814 GB, free: 2.457 MB / 0.545 GB Notification: Performance of SimCode: time 8.22e-07/0.7184, allocations: 0 / 0.7814 GB, free: 2.457 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09093/0.8093, allocations: 43.95 MB / 0.8244 GB, free: 6.48 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.34/15.15, allocations: 4 kB / 0.8244 GB, free: 6.477 MB / 0.5919 GB " [Timeout remaining time 645] (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.sim & python3 -m fmpy simulate --output-file OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1_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_TGOV1.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.404830373823643] Failed to read output from testmodel.py, exit status != 0: 15.293243573978543 15.324517424 14.943037679 Calling exit ...