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.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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007341/0.007341, allocations: 99.81 kB / 15.73 MB, free: 6.059 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.404/1.404, allocations: 222.9 MB / 239.4 MB, free: 4.531 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.001512/0.001512, allocations: 188.5 kB / 289.7 MB, free: 2.254 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5344/0.5344, allocations: 91.9 MB / 431.8 MB, free: 9.168 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 80.25 kB / 0.5723 GB, free: 33.83 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1327, allocations: 71.28 MB / 0.6419 GB, free: 4.105 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1): time 0.008469/0.1412, allocations: 7.989 MB / 0.6497 GB, free: 12.07 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.005151/0.1464, allocations: 2.501 MB / 0.6521 GB, free: 9.566 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007669/0.1472, allocations: 12 kB / 0.6521 GB, free: 9.555 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008247/0.148, allocations: 309.4 kB / 0.6524 GB, free: 9.25 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002344/0.1504, allocations: 1.056 MB / 0.6535 GB, free: 8.191 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001608/0.152, allocations: 0.7632 MB / 0.6542 GB, free: 7.434 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002342/0.1543, allocations: 2.127 MB / 0.6563 GB, free: 5.301 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005362/0.1549, allocations: 381.6 kB / 0.6566 GB, free: 4.902 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001174/0.1561, allocations: 0.8443 MB / 0.6575 GB, free: 4.055 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001237/0.1573, allocations: 1.085 MB / 0.6585 GB, free: 2.965 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002626/0.1576, allocations: 176 kB / 0.6587 GB, free: 2.793 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006591/0.1583, allocations: 347.8 kB / 0.659 GB, free: 2.453 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003556/0.1586, allocations: 450.2 kB / 0.6595 GB, free: 2.012 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007344/0.1594, allocations: 0.8624 MB / 0.6603 GB, free: 1.145 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002228/0.1616, allocations: 2.186 MB / 0.6624 GB, free: 14.95 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1616, allocations: 0 / 0.6624 GB, free: 14.95 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.1616, allocations: 0 / 0.6624 GB, free: 14.95 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.119e-05/0.1617, allocations: 0 / 0.6624 GB, free: 14.95 MB / 478.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.01252/0.1742, allocations: 3.561 MB / 0.6659 GB, free: 11.33 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.1742, allocations: 12.03 kB / 0.6659 GB, free: 11.32 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002409/0.1745, allocations: 147.6 kB / 0.6661 GB, free: 11.16 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004541/0.179, allocations: 0.752 MB / 0.6668 GB, free: 10.41 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001956/0.181, allocations: 1.109 MB / 0.6679 GB, free: 9.25 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004295/0.1815, allocations: 421 kB / 0.6683 GB, free: 8.77 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001954/0.1817, allocations: 100 kB / 0.6684 GB, free: 8.672 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002634/0.1843, allocations: 1.364 MB / 0.6697 GB, free: 7.293 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.508e-05/0.1843, allocations: 4 kB / 0.6697 GB, free: 7.289 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001077/0.1845, allocations: 44 kB / 0.6697 GB, free: 7.246 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.833e-05/0.1845, allocations: 24 kB / 0.6698 GB, free: 7.223 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002796/0.1873, allocations: 1.296 MB / 0.671 GB, free: 5.922 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.00768/0.195, allocations: 4.658 MB / 0.6756 GB, free: 1.051 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00795/0.2029, allocations: 2.887 MB / 0.6784 GB, free: 14.02 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00181/0.2048, allocations: 0.9039 MB / 0.6793 GB, free: 13.11 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001326/0.2049, allocations: 20.89 kB / 0.6793 GB, free: 13.09 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002036/0.207, allocations: 1.046 MB / 0.6803 GB, free: 12.02 MB / 494.1 MB Notification: Performance of pre-optimization done (n=124): time 2.785e-06/0.207, allocations: 0 / 0.6803 GB, free: 12.02 MB / 494.1 MB Notification: Performance of matching and sorting (n=124): time 0.04077/0.2477, allocations: 9.918 MB / 0.69 GB, free: 2.062 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.768e-05/0.2479, allocations: 119.8 kB / 0.6901 GB, free: 1.922 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002206/0.2501, allocations: 1.349 MB / 0.6914 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003515/0.2504, allocations: 49.7 kB / 0.6915 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004721/0.2509, allocations: 0.5812 MB / 0.6921 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005116/0.2514, allocations: 468 kB / 0.6925 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006058/0.252, allocations: 331.5 kB / 0.6928 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.2522, allocations: 309.1 kB / 0.6931 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002082/0.2542, allocations: 0.9487 MB / 0.694 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002212/0.2565, allocations: 1.155 MB / 0.6952 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004126/0.2606, allocations: 2.046 MB / 0.6972 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.312e-06/0.2606, allocations: 0 / 0.6972 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of matching and sorting (n=229) (initialization): time 0.0101/0.2707, allocations: 3.832 MB / 0.7009 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.698e-05/0.2708, allocations: 16.78 kB / 0.7009 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.2708, allocations: 0 / 0.7009 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009256/0.2801, allocations: 2.675 MB / 0.7035 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00139/0.2815, allocations: 291.6 kB / 0.7038 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006158/0.2876, allocations: 2.691 MB / 0.7064 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002139/0.2898, allocations: 250.8 kB / 0.7067 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001542/0.29, allocations: 63.98 kB / 0.7067 GB, free: 0.7266 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.0005648/0.2905, allocations: 294.5 kB / 0.707 GB, free: 440 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002608/0.2908, allocations: 159 kB / 0.7072 GB, free: 280 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01546/0.3063, allocations: 4.756 MB / 0.7118 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.809e-05/0.3063, allocations: 16 kB / 0.7118 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.685e-06/0.3063, allocations: 0 / 0.7118 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.43e-05/0.3064, allocations: 11.95 kB / 0.7119 GB, free: 11.46 MB / 0.5137 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.01813/0.3245, allocations: 6.868 MB / 0.7186 GB, free: 4.449 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.445e-05/0.3246, allocations: 3.938 kB / 0.7186 GB, free: 4.445 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000847/0.3254, allocations: 135.8 kB / 0.7187 GB, free: 4.312 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007365/0.3328, allocations: 2.142 MB / 0.7208 GB, free: 2.168 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001993/0.333, allocations: 35.98 kB / 0.7208 GB, free: 2.133 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02497/0.358, allocations: 10.06 MB / 0.7306 GB, free: 7.922 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.358, allocations: 11.94 kB / 0.7307 GB, free: 7.91 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01778/0.3758, allocations: 5.917 MB / 0.7364 GB, free: 1.961 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005482/0.3764, allocations: 271.8 kB / 0.7367 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002644/0.3767, allocations: 24 kB / 0.7367 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001465/0.3781, allocations: 135.8 kB / 0.7368 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007383/0.3789, allocations: 265.2 kB / 0.7371 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001026/0.379, allocations: 32 kB / 0.7371 GB, free: 1.227 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001333/0.3803, allocations: 0.9173 MB / 0.738 GB, free: 316 kB / 0.5294 GB Notification: Performance of sort global known variables: time 3.71e-07/0.3803, allocations: 0 / 0.738 GB, free: 316 kB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001398/0.3817, allocations: 0.5152 MB / 0.7385 GB, free: 15.79 MB / 0.545 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.01865/0.4004, allocations: 6.527 MB / 0.7449 GB, free: 9.227 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008658/0.4091, allocations: 2.817 MB / 0.7477 GB, free: 6.41 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/0.4091, allocations: 3.938 kB / 0.7477 GB, free: 6.406 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006037/0.4152, allocations: 1.919 MB / 0.7495 GB, free: 4.473 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001219/0.4164, allocations: 130.5 kB / 0.7497 GB, free: 4.344 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04587/0.4623, allocations: 19.12 MB / 0.7683 GB, free: 0.8867 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2635/0.7258, allocations: 1.204 MB / 0.7695 GB, free: 119.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007438/0.7266, allocations: 137.2 kB / 0.7696 GB, free: 119.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007597/0.7274, allocations: 0.5783 MB / 0.7702 GB, free: 119.5 MB / 0.5606 GB Notification: Performance of SimCode: time 7.52e-07/0.7274, allocations: 0.6875 kB / 0.7702 GB, free: 119.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07772/0.8051, allocations: 42.12 MB / 0.8113 GB, free: 91.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.82/14.62, allocations: 5.781 kB / 0.8113 GB, free: 91.8 MB / 0.5606 GB (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)