Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.conf.json 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.0007287/0.0007287, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8605/0.8605, allocations: 177.1 MB / 199.4 MB, free: 5.93 MB / 186.7 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.001106/0.001106, allocations: 152.6 kB / 256 MB, free: 13.33 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.2562/0.2562, allocations: 80.36 MB / 392.7 MB, free: 2.367 MB / 314.7 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 0.555 GB, free: 12.47 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.86e-05/1.993e-05, allocations: 2.281 kB / 0.555 GB, free: 12.47 MB / 490.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1): time 0.005428/0.005448, allocations: 7.052 MB / 0.5619 GB, free: 5.379 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003853/0.009301, allocations: 2.431 MB / 0.5642 GB, free: 2.938 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008917/0.01019, allocations: 15.94 kB / 0.5642 GB, free: 2.922 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007314/0.01092, allocations: 301.4 kB / 0.5645 GB, free: 2.625 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001783/0.01271, allocations: 1.059 MB / 0.5656 GB, free: 1.562 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001194/0.0139, allocations: 0.7813 MB / 0.5663 GB, free: 0.7891 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001996/0.0159, allocations: 2.126 MB / 0.5684 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003901/0.01629, allocations: 250 kB / 0.5686 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001678/0.01797, allocations: 1.181 MB / 0.5698 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008584/0.01882, allocations: 0.8801 MB / 0.5707 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0002713/0.01909, allocations: 180 kB / 0.5708 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004905/0.01959, allocations: 343.7 kB / 0.5712 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002502/0.01984, allocations: 450.2 kB / 0.5716 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.0004854/0.02032, allocations: 0.5958 MB / 0.5722 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001752/0.02207, allocations: 2.258 MB / 0.5744 GB, free: 8.5 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.02208, allocations: 0 / 0.5744 GB, free: 8.5 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.473e-06/0.02208, allocations: 0 / 0.5744 GB, free: 8.5 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.784e-05/0.02213, allocations: 0 / 0.5744 GB, free: 8.5 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.006843/0.02897, allocations: 3.636 MB / 0.5779 GB, free: 4.812 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.02901, allocations: 8.031 kB / 0.5779 GB, free: 4.805 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001469/0.02916, allocations: 151.6 kB / 0.5781 GB, free: 4.648 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002222/0.03138, allocations: 0.7521 MB / 0.5788 GB, free: 3.895 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001294/0.03267, allocations: 1.041 MB / 0.5798 GB, free: 2.816 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003136/0.03299, allocations: 0.5734 MB / 0.5804 GB, free: 2.141 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001461/0.03313, allocations: 96 kB / 0.5805 GB, free: 2.047 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001722/0.03485, allocations: 1.38 MB / 0.5818 GB, free: 0.6484 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.03487, allocations: 4 kB / 0.5818 GB, free: 0.6445 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-05/0.03496, allocations: 39.94 kB / 0.5819 GB, free: 0.6055 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.454e-05/0.03497, allocations: 24 kB / 0.5819 GB, free: 0.582 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001993/0.03696, allocations: 1.304 MB / 0.5832 GB, free: 15.28 MB / 0.5105 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 preOpt removeSimpleEquations (simulation): time 0.004733/0.0417, allocations: 3.568 MB / 0.5867 GB, free: 11.63 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004174/0.04587, allocations: 2.353 MB / 0.5889 GB, free: 9.25 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001356/0.04723, allocations: 0.8292 MB / 0.5898 GB, free: 8.41 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 9.508e-05/0.04732, allocations: 16.98 kB / 0.5898 GB, free: 8.395 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001298/0.04862, allocations: 1.065 MB / 0.5908 GB, free: 7.305 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=125): time 2.875e-06/0.04862, allocations: 0 / 0.5908 GB, free: 7.305 MB / 0.5105 GB Notification: Performance of matching and sorting (n=125): time 0.2138/0.2624, allocations: 10.13 MB / 0.6007 GB, free: 93.58 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.719e-05/0.2625, allocations: 121.4 kB / 0.6008 GB, free: 93.45 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00141/0.2639, allocations: 1.356 MB / 0.6021 GB, free: 93.3 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000228/0.2641, allocations: 50.95 kB / 0.6022 GB, free: 93.27 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002325/0.2644, allocations: 0.5725 MB / 0.6028 GB, free: 93.09 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003016/0.2647, allocations: 473.4 kB / 0.6032 GB, free: 92.85 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003409/0.265, allocations: 328 kB / 0.6035 GB, free: 92.7 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 2.521e-05/0.265, allocations: 301.1 kB / 0.6038 GB, free: 92.4 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001177/0.2662, allocations: 0.9638 MB / 0.6047 GB, free: 92.06 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001209/0.2674, allocations: 1.164 MB / 0.6059 GB, free: 91.55 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002299/0.2697, allocations: 2.069 MB / 0.6079 GB, free: 90.59 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.2697, allocations: 3.594 kB / 0.6079 GB, free: 90.59 MB / 0.5105 GB Notification: Performance of matching and sorting (n=230) (initialization): time 0.006017/0.2757, allocations: 3.804 MB / 0.6116 GB, free: 89.33 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.552e-05/0.2758, allocations: 7.141 kB / 0.6116 GB, free: 89.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.2758, allocations: 3.625 kB / 0.6116 GB, free: 89.33 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005354/0.2811, allocations: 2.731 MB / 0.6143 GB, free: 88.91 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009411/0.2821, allocations: 300.6 kB / 0.6146 GB, free: 88.88 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003809/0.2859, allocations: 2.716 MB / 0.6172 GB, free: 87.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001397/0.2873, allocations: 251.8 kB / 0.6175 GB, free: 87.54 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001175/0.2874, allocations: 64.48 kB / 0.6175 GB, free: 87.52 MB / 0.5105 GB 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 (175): * Single equations (assignments): 174 * 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.00045/0.2878, allocations: 294.2 kB / 0.6178 GB, free: 87.29 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001978/0.288, allocations: 163.2 kB / 0.618 GB, free: 87.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008923/0.297, allocations: 4.769 MB / 0.6226 GB, free: 86.11 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.948e-05/0.297, allocations: 11.66 kB / 0.6226 GB, free: 86.11 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.156e-06/0.297, allocations: 1.281 kB / 0.6226 GB, free: 86.11 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.888e-05/0.297, allocations: 8.141 kB / 0.6227 GB, free: 86.11 MB / 0.5105 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.01058/0.3076, allocations: 6.163 MB / 0.6287 GB, free: 84.28 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.748e-06/0.3076, allocations: 5.375 kB / 0.6287 GB, free: 84.27 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005065/0.3081, allocations: 135.1 kB / 0.6288 GB, free: 84.26 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004037/0.3121, allocations: 2.197 MB / 0.631 GB, free: 83.34 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000132/0.3123, allocations: 32.55 kB / 0.631 GB, free: 83.31 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01341/0.3257, allocations: 9.871 MB / 0.6406 GB, free: 77.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.3257, allocations: 6.516 kB / 0.6406 GB, free: 77.1 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009075/0.3348, allocations: 5.973 MB / 0.6465 GB, free: 71.1 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004193/0.3352, allocations: 195.8 kB / 0.6466 GB, free: 70.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001564/0.3353, allocations: 20 kB / 0.6467 GB, free: 70.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007459/0.3361, allocations: 143.8 kB / 0.6468 GB, free: 70.77 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005162/0.3366, allocations: 265.9 kB / 0.6471 GB, free: 70.51 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.697e-05/0.3367, allocations: 35.98 kB / 0.6471 GB, free: 70.47 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0007852/0.3374, allocations: 0.9095 MB / 0.648 GB, free: 69.56 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3374, allocations: 0 / 0.648 GB, free: 69.56 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0009639/0.3384, allocations: 0.5229 MB / 0.6485 GB, free: 69.06 MB / 0.5105 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 (82): * Single equations (assignments): 81 * 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.008888/0.3473, allocations: 6.574 MB / 0.6549 GB, free: 62.46 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004499/0.3518, allocations: 2.709 MB / 0.6576 GB, free: 59.76 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.3518, allocations: 0 / 0.6576 GB, free: 59.76 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003054/0.3549, allocations: 1.879 MB / 0.6594 GB, free: 57.87 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008974/0.3558, allocations: 127.2 kB / 0.6595 GB, free: 57.75 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02599/0.3817, allocations: 19.98 MB / 0.679 GB, free: 37.54 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003417/0.3821, allocations: 0.6131 MB / 0.6796 GB, free: 36.89 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0004398/0.3825, allocations: 146.5 kB / 0.6798 GB, free: 36.74 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004614/0.383, allocations: 0.5784 MB / 0.6803 GB, free: 36.16 MB / 0.5105 GB Notification: Performance of SimCode: time 1.122e-06/0.383, allocations: 0 / 0.6803 GB, free: 36.16 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04776/0.4307, allocations: 44.28 MB / 0.7236 GB, free: 8.105 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.292/8.723, allocations: 4.062 kB / 0.7236 GB, free: 8.102 MB / 0.5261 GB " [Timeout remaining time 651] (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_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_dev_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.057376641780138] Failed to read output from testmodel.py, exit status != 0: 8.830241768620908 8.838836874 8.815135115 Calling exit ...