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.07763/0.07763, allocations: 12.37 MB / 31.19 MB, free: 24 kB / 19.63 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.001168/0.001168, allocations: 119.5 kB / 37.25 MB, free: 1.246 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.259/1.259, allocations: 207.6 MB / 250.8 MB, free: 7.359 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.00142/0.00142, allocations: 208.4 kB / 306.1 MB, free: 500 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.2941/0.2941, allocations: 79.73 MB / 440.9 MB, free: 12.46 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.003873/0.003873, allocations: 144.9 kB / 0.5875 GB, free: 7.625 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2985/0.3024, allocations: 71.95 MB / 0.6578 GB, free: 2.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1): time 0.007618/0.31, allocations: 8.094 MB / 0.6657 GB, free: 12.76 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004679/0.3147, allocations: 2.491 MB / 0.6681 GB, free: 10.99 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005003/0.3152, allocations: 12.03 kB / 0.6682 GB, free: 10.99 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007217/0.3159, allocations: 318.5 kB / 0.6685 GB, free: 10.82 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002547/0.3185, allocations: 1.267 MB / 0.6697 GB, free: 10 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001365/0.3198, allocations: 0.6711 MB / 0.6703 GB, free: 9.664 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002687/0.3225, allocations: 2.307 MB / 0.6726 GB, free: 8.574 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004298/0.3229, allocations: 264.4 kB / 0.6729 GB, free: 8.414 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001175/0.3241, allocations: 0.89 MB / 0.6737 GB, free: 7.988 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001325/0.3254, allocations: 1.125 MB / 0.6748 GB, free: 7.207 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002318/0.3257, allocations: 174.4 kB / 0.675 GB, free: 7.207 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006018/0.3263, allocations: 342 kB / 0.6753 GB, free: 7.133 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003935/0.3267, allocations: 456.2 kB / 0.6757 GB, free: 6.75 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007783/0.3275, allocations: 0.8761 MB / 0.6766 GB, free: 6.07 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002279/0.3297, allocations: 2.195 MB / 0.6787 GB, free: 4.43 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3297, allocations: 0 / 0.6787 GB, free: 4.43 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3297, allocations: 0 / 0.6787 GB, free: 4.43 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.226e-05/0.3298, allocations: 4 kB / 0.6788 GB, free: 4.426 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.01364/0.3434, allocations: 3.946 MB / 0.6826 GB, free: 2.18 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.3434, allocations: 9.625 kB / 0.6826 GB, free: 2.18 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001938/0.3436, allocations: 145.9 kB / 0.6828 GB, free: 2.059 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004247/0.3479, allocations: 0.7515 MB / 0.6835 GB, free: 1.738 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001922/0.3498, allocations: 1.032 MB / 0.6845 GB, free: 0.9375 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005073/0.3503, allocations: 0.5651 MB / 0.685 GB, free: 356 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001859/0.3505, allocations: 106.6 kB / 0.6851 GB, free: 316 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002583/0.3531, allocations: 1.363 MB / 0.6865 GB, free: 15.51 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.045e-05/0.3531, allocations: 5.094 kB / 0.6865 GB, free: 15.51 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001072/0.3532, allocations: 35.31 kB / 0.6865 GB, free: 15.48 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.716e-05/0.3532, allocations: 22.09 kB / 0.6865 GB, free: 15.48 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002678/0.3559, allocations: 1.305 MB / 0.6878 GB, free: 14.86 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.007852/0.3638, allocations: 4.599 MB / 0.6923 GB, free: 11.2 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007632/0.3714, allocations: 2.343 MB / 0.6946 GB, free: 10.11 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001727/0.3731, allocations: 0.8187 MB / 0.6954 GB, free: 9.688 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000134/0.3732, allocations: 25.5 kB / 0.6954 GB, free: 9.676 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002004/0.3753, allocations: 1.044 MB / 0.6964 GB, free: 9.051 MB / 478.1 MB Notification: Performance of pre-optimization done (n=124): time 2.365e-06/0.3753, allocations: 0 / 0.6964 GB, free: 9.051 MB / 478.1 MB Notification: Performance of matching and sorting (n=124): time 0.04016/0.4154, allocations: 9.802 MB / 0.706 GB, free: 0.7031 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.524e-05/0.4155, allocations: 119.8 kB / 0.7061 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002044/0.4175, allocations: 1.353 MB / 0.7074 GB, free: 15.19 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001419/0.4177, allocations: 53.77 kB / 0.7075 GB, free: 15.13 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004681/0.4181, allocations: 0.5733 MB / 0.7081 GB, free: 14.55 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004637/0.4186, allocations: 472 kB / 0.7085 GB, free: 14.09 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005727/0.4192, allocations: 327.5 kB / 0.7088 GB, free: 13.77 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.4193, allocations: 305.1 kB / 0.7091 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00207/0.4214, allocations: 0.9526 MB / 0.71 GB, free: 12.51 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002196/0.4236, allocations: 1.151 MB / 0.7112 GB, free: 11.32 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004068/0.4276, allocations: 2.05 MB / 0.7132 GB, free: 9.219 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.4276, allocations: 0 / 0.7132 GB, free: 9.219 MB / 494.1 MB Notification: Performance of matching and sorting (n=229) (initialization): time 0.009743/0.4374, allocations: 3.789 MB / 0.7169 GB, free: 5.418 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.4374, allocations: 7.938 kB / 0.7169 GB, free: 5.41 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.4374, allocations: 4 kB / 0.7169 GB, free: 5.406 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009193/0.4466, allocations: 2.677 MB / 0.7195 GB, free: 2.727 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001431/0.448, allocations: 295.6 kB / 0.7198 GB, free: 2.438 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006097/0.4541, allocations: 2.69 MB / 0.7224 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002038/0.4562, allocations: 246.8 kB / 0.7226 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00014/0.4563, allocations: 67.92 kB / 0.7227 GB, free: 15.41 MB / 0.4981 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 (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.0005785/0.4569, allocations: 289.5 kB / 0.723 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002658/0.4572, allocations: 162.9 kB / 0.7231 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01528/0.4724, allocations: 4.724 MB / 0.7277 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.628e-05/0.4724, allocations: 16 kB / 0.7278 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.4724, allocations: 0 / 0.7278 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.997e-05/0.4725, allocations: 7.969 kB / 0.7278 GB, free: 10.19 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.01769/0.4902, allocations: 6.789 MB / 0.7344 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.078e-05/0.4902, allocations: 3.938 kB / 0.7344 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007916/0.491, allocations: 139.8 kB / 0.7345 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007053/0.498, allocations: 2.142 MB / 0.7366 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001136/0.4981, allocations: 28 kB / 0.7367 GB, free: 0.9375 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02404/0.5222, allocations: 9.972 MB / 0.7464 GB, free: 6.848 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.5222, allocations: 0 / 0.7464 GB, free: 6.848 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01781/0.54, allocations: 5.89 MB / 0.7521 GB, free: 0.9219 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006033/0.5406, allocations: 194.6 kB / 0.7523 GB, free: 0.7305 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002284/0.5408, allocations: 31.94 kB / 0.7524 GB, free: 0.6992 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001463/0.5423, allocations: 139.8 kB / 0.7525 GB, free: 0.5625 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007356/0.543, allocations: 269.2 kB / 0.7527 GB, free: 304 kB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.279e-05/0.5431, allocations: 35.98 kB / 0.7528 GB, free: 268 kB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.001373/0.5445, allocations: 0.9057 MB / 0.7537 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.5445, allocations: 0 / 0.7537 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001246/0.5457, allocations: 0.5152 MB / 0.7542 GB, free: 14.84 MB / 0.5294 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.01751/0.5632, allocations: 6.481 MB / 0.7605 GB, free: 8.316 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007921/0.5712, allocations: 2.657 MB / 0.7631 GB, free: 5.652 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.5712, allocations: 0 / 0.7631 GB, free: 5.652 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005643/0.5768, allocations: 1.833 MB / 0.7649 GB, free: 3.812 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/0.5779, allocations: 132.5 kB / 0.765 GB, free: 3.688 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04334/0.6212, allocations: 19.04 MB / 0.7836 GB, free: 320 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008892/0.6221, allocations: 1.207 MB / 0.7848 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0005022/0.6226, allocations: 137.7 kB / 0.7849 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007908/0.6234, allocations: 0.5735 MB / 0.7855 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of SimCode: time 8.71e-07/0.6234, allocations: 0 / 0.7855 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08259/0.706, allocations: 43.8 MB / 0.8282 GB, free: 2.578 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.3/15.01, allocations: 3.938 kB / 0.8283 GB, free: 2.574 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: 17.996889042002294] Failed to read output from testmodel.py, exit status != 0: 15.13556020499891 15.149686535 14.817138167 Calling exit ...