Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.TGOV1,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1",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.004723/0.004723, allocations: 100.6 kB / 15.73 MB, free: 6.008 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.409/1.409, allocations: 222.9 MB / 239.4 MB, free: 4.512 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.001466/0.001466, allocations: 192.5 kB / 289.7 MB, free: 2.23 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4649/0.4649, allocations: 78.52 MB / 418.4 MB, free: 3.105 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002375/0.002375, allocations: 84.05 kB / 0.5532 GB, free: 1.434 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3054/0.3078, allocations: 68.17 MB / 0.6197 GB, free: 9.332 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1): time 0.00607/0.3139, allocations: 7.979 MB / 0.6275 GB, free: 2.137 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004378/0.3183, allocations: 2.497 MB / 0.63 GB, free: 15.63 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001038/0.3194, allocations: 15.94 kB / 0.63 GB, free: 15.62 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009396/0.3204, allocations: 309.4 kB / 0.6303 GB, free: 15.31 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003518/0.3239, allocations: 1.193 MB / 0.6314 GB, free: 14.12 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00191/0.3259, allocations: 0.6587 MB / 0.6321 GB, free: 13.47 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003838/0.3297, allocations: 2.283 MB / 0.6343 GB, free: 11.17 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007869/0.3305, allocations: 381.3 kB / 0.6347 GB, free: 10.78 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00171/0.3323, allocations: 0.8638 MB / 0.6355 GB, free: 9.914 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001804/0.3341, allocations: 1.105 MB / 0.6366 GB, free: 8.805 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004628/0.3346, allocations: 172 kB / 0.6368 GB, free: 8.637 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009403/0.3356, allocations: 351.8 kB / 0.6371 GB, free: 8.289 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000479/0.3361, allocations: 454.2 kB / 0.6375 GB, free: 7.844 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001122/0.3372, allocations: 0.8779 MB / 0.6384 GB, free: 6.961 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003299/0.3405, allocations: 2.191 MB / 0.6405 GB, free: 4.766 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.3405, allocations: 0 / 0.6405 GB, free: 4.766 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3406, allocations: 0 / 0.6405 GB, free: 4.766 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.152e-05/0.3406, allocations: 0 / 0.6405 GB, free: 4.766 MB / 446.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.01535/0.356, allocations: 3.85 MB / 0.6443 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.356, allocations: 8.031 kB / 0.6443 GB, free: 0.8438 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002174/0.3563, allocations: 147.6 kB / 0.6444 GB, free: 0.6914 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005085/0.3614, allocations: 0.7601 MB / 0.6452 GB, free: 15.93 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002616/0.364, allocations: 1.097 MB / 0.6462 GB, free: 14.78 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000521/0.3646, allocations: 421 kB / 0.6466 GB, free: 14.3 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002682/0.3649, allocations: 108 kB / 0.6468 GB, free: 14.2 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003075/0.3679, allocations: 1.364 MB / 0.6481 GB, free: 12.82 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.344e-05/0.368, allocations: 0 / 0.6481 GB, free: 12.82 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001269/0.3681, allocations: 39.98 kB / 0.6481 GB, free: 12.78 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.072e-05/0.3681, allocations: 20 kB / 0.6481 GB, free: 12.76 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003094/0.3712, allocations: 1.304 MB / 0.6494 GB, free: 11.46 MB / 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.009082/0.3803, allocations: 4.654 MB / 0.654 GB, free: 6.594 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009105/0.3895, allocations: 2.891 MB / 0.6568 GB, free: 3.562 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002329/0.3918, allocations: 0.8996 MB / 0.6577 GB, free: 2.652 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001489/0.392, allocations: 28.92 kB / 0.6577 GB, free: 2.625 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002478/0.3945, allocations: 1.042 MB / 0.6587 GB, free: 1.559 MB / 462.1 MB Notification: Performance of pre-optimization done (n=124): time 3.486e-06/0.3945, allocations: 4 kB / 0.6587 GB, free: 1.555 MB / 462.1 MB Notification: Performance of matching and sorting (n=124): time 0.0451/0.4396, allocations: 9.918 MB / 0.6684 GB, free: 7.598 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.651e-05/0.4397, allocations: 123.9 kB / 0.6685 GB, free: 7.449 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002303/0.442, allocations: 1.349 MB / 0.6698 GB, free: 6.086 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000277/0.4423, allocations: 49.7 kB / 0.6699 GB, free: 6.031 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005105/0.4429, allocations: 0.5695 MB / 0.6704 GB, free: 5.457 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005831/0.4434, allocations: 475.9 kB / 0.6709 GB, free: 4.988 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006513/0.4441, allocations: 327.5 kB / 0.6712 GB, free: 4.664 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.4442, allocations: 305.1 kB / 0.6715 GB, free: 4.363 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002332/0.4466, allocations: 0.9526 MB / 0.6724 GB, free: 3.41 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002535/0.4491, allocations: 1.166 MB / 0.6736 GB, free: 2.199 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004841/0.454, allocations: 2.042 MB / 0.6756 GB, free: 112 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/0.454, allocations: 0 / 0.6756 GB, free: 112 kB / 478.1 MB Notification: Performance of matching and sorting (n=229) (initialization): time 0.01164/0.4656, allocations: 3.824 MB / 0.6793 GB, free: 12.27 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.716e-05/0.4657, allocations: 11.94 kB / 0.6793 GB, free: 12.26 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/0.4657, allocations: 7.938 kB / 0.6793 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01063/0.4764, allocations: 2.679 MB / 0.6819 GB, free: 9.566 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001571/0.478, allocations: 299.6 kB / 0.6822 GB, free: 9.273 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00706/0.485, allocations: 2.692 MB / 0.6848 GB, free: 6.555 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002308/0.4874, allocations: 242.9 kB / 0.6851 GB, free: 6.316 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001785/0.4876, allocations: 63.97 kB / 0.6851 GB, free: 6.254 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.0006139/0.4882, allocations: 297.5 kB / 0.6854 GB, free: 5.953 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003052/0.4885, allocations: 162.9 kB / 0.6856 GB, free: 5.793 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01784/0.5063, allocations: 4.756 MB / 0.6902 GB, free: 1.02 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.451e-05/0.5064, allocations: 15.98 kB / 0.6902 GB, free: 1.004 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.298e-06/0.5064, allocations: 7.938 kB / 0.6902 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.327e-05/0.5064, allocations: 3.984 kB / 0.6902 GB, free: 0.9922 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.02052/0.527, allocations: 6.864 MB / 0.6969 GB, free: 9.973 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.467e-05/0.527, allocations: 4 kB / 0.6969 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009471/0.528, allocations: 139.8 kB / 0.6971 GB, free: 9.832 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008404/0.5364, allocations: 2.138 MB / 0.6992 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002508/0.5366, allocations: 24 kB / 0.6992 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02852/0.5652, allocations: 10.08 MB / 0.709 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.5652, allocations: 3.938 kB / 0.709 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02052/0.5857, allocations: 5.925 MB / 0.7148 GB, free: 7.48 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005542/0.5863, allocations: 275.7 kB / 0.7151 GB, free: 7.191 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002469/0.5866, allocations: 20 kB / 0.7151 GB, free: 7.172 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001649/0.5882, allocations: 139.8 kB / 0.7152 GB, free: 7.035 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008835/0.5891, allocations: 261.4 kB / 0.7155 GB, free: 6.777 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001127/0.5892, allocations: 35.98 kB / 0.7155 GB, free: 6.742 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001511/0.5908, allocations: 0.9134 MB / 0.7164 GB, free: 5.828 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.21e-07/0.5908, allocations: 0 / 0.7164 GB, free: 5.828 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001371/0.5921, allocations: 0.5152 MB / 0.7169 GB, free: 5.312 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.02073/0.6129, allocations: 6.522 MB / 0.7233 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009587/0.6225, allocations: 2.809 MB / 0.726 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/0.6225, allocations: 4 kB / 0.726 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006802/0.6294, allocations: 1.922 MB / 0.7279 GB, free: 10 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001267/0.6306, allocations: 140.2 kB / 0.728 GB, free: 9.867 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05186/0.6825, allocations: 19.12 MB / 0.7467 GB, free: 6.414 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009118/0.6835, allocations: 1.207 MB / 0.7479 GB, free: 5.172 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000726/0.6842, allocations: 141.7 kB / 0.748 GB, free: 5.031 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000939/0.6852, allocations: 0.5773 MB / 0.7486 GB, free: 4.453 MB / 0.545 GB Notification: Performance of SimCode: time 7.31e-07/0.6852, allocations: 0 / 0.7486 GB, free: 4.453 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3247/1.01, allocations: 42.09 MB / 0.7897 GB, free: 129.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.54/15.55, allocations: 1.688 kB / 0.7897 GB, free: 129.9 MB / 0.5606 GB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.sim & python3 -m fmpy simulate --output-file OpenIPSL_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_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.pipe 2>&1)