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.00124/0.00124, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.314/1.314, allocations: 222.9 MB / 239.3 MB, free: 4.617 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.001304/0.001304, allocations: 192.5 kB / 289.6 MB, free: 2.328 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4906/0.4906, allocations: 91.89 MB / 431.6 MB, free: 9.309 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002278/0.002278, allocations: 71.89 kB / 0.502 GB, free: 7.664 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3284/0.3307, allocations: 71.26 MB / 0.5716 GB, free: 36.79 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1): time 0.006367/0.3371, allocations: 7.995 MB / 0.5794 GB, free: 32.02 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004533/0.3417, allocations: 2.5 MB / 0.5818 GB, free: 30.26 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001009/0.3427, allocations: 10.47 kB / 0.5818 GB, free: 30.26 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000849/0.3436, allocations: 319.6 kB / 0.5821 GB, free: 30.09 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002176/0.3458, allocations: 0.9935 MB / 0.5831 GB, free: 29.44 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001458/0.3473, allocations: 0.7554 MB / 0.5838 GB, free: 29.06 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001881/0.3491, allocations: 2.119 MB / 0.5859 GB, free: 28.02 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004994/0.3497, allocations: 371.6 kB / 0.5863 GB, free: 27.84 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001073/0.3507, allocations: 0.8481 MB / 0.5871 GB, free: 27.43 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001179/0.3519, allocations: 1.092 MB / 0.5882 GB, free: 26.91 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003526/0.3523, allocations: 173.2 kB / 0.5883 GB, free: 26.91 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008474/0.3531, allocations: 346.1 kB / 0.5887 GB, free: 26.85 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003311/0.3535, allocations: 447.8 kB / 0.5891 GB, free: 26.57 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006517/0.3542, allocations: 0.8685 MB / 0.5899 GB, free: 25.98 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001963/0.3561, allocations: 2.158 MB / 0.592 GB, free: 25.02 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3561, allocations: 0 / 0.592 GB, free: 25.02 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3562, allocations: 0 / 0.592 GB, free: 25.02 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.304e-05/0.3562, allocations: 1.094 kB / 0.592 GB, free: 25.02 MB / 430.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.01231/0.3685, allocations: 3.499 MB / 0.5955 GB, free: 23.59 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.3686, allocations: 9.375 kB / 0.5955 GB, free: 23.59 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001847/0.3688, allocations: 146.9 kB / 0.5956 GB, free: 23.48 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004746/0.3735, allocations: 0.7441 MB / 0.5963 GB, free: 23.32 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001876/0.3754, allocations: 1.086 MB / 0.5974 GB, free: 22.61 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003741/0.3758, allocations: 431.8 kB / 0.5978 GB, free: 22.21 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002214/0.376, allocations: 103.5 kB / 0.5979 GB, free: 22.18 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002739/0.3788, allocations: 1.363 MB / 0.5992 GB, free: 21.67 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.033e-05/0.3788, allocations: 3.938 kB / 0.5992 GB, free: 21.66 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001189/0.3789, allocations: 35.94 kB / 0.5993 GB, free: 21.64 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.008e-05/0.379, allocations: 25.5 kB / 0.5993 GB, free: 21.63 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002843/0.3818, allocations: 1.298 MB / 0.6006 GB, free: 21.2 MB / 430.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.00811/0.3899, allocations: 4.666 MB / 0.6051 GB, free: 18.5 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008178/0.3981, allocations: 2.892 MB / 0.608 GB, free: 17.32 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001895/0.4001, allocations: 0.9059 MB / 0.6088 GB, free: 16.95 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001259/0.4002, allocations: 23.75 kB / 0.6089 GB, free: 16.95 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00205/0.4023, allocations: 1.047 MB / 0.6099 GB, free: 16.55 MB / 430.1 MB Notification: Performance of pre-optimization done (n=124): time 3.076e-06/0.4023, allocations: 3.938 kB / 0.6099 GB, free: 16.55 MB / 430.1 MB Notification: Performance of matching and sorting (n=124): time 0.04103/0.4433, allocations: 9.903 MB / 0.6196 GB, free: 12.81 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.885e-05/0.4434, allocations: 121.7 kB / 0.6197 GB, free: 12.68 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001915/0.4453, allocations: 1.347 MB / 0.621 GB, free: 11.5 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002601/0.4456, allocations: 53.7 kB / 0.621 GB, free: 11.44 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002832/0.4459, allocations: 0.5647 MB / 0.6216 GB, free: 10.87 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003479/0.4462, allocations: 457.6 kB / 0.622 GB, free: 10.41 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005049/0.4467, allocations: 323.4 kB / 0.6223 GB, free: 10.09 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.417e-05/0.4468, allocations: 313 kB / 0.6226 GB, free: 9.785 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001841/0.4486, allocations: 0.9487 MB / 0.6236 GB, free: 8.836 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001891/0.4505, allocations: 1.151 MB / 0.6247 GB, free: 7.637 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003601/0.4541, allocations: 2.058 MB / 0.6267 GB, free: 5.539 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.4542, allocations: 0 / 0.6267 GB, free: 5.539 MB / 430.1 MB Notification: Performance of matching and sorting (n=229) (initialization): time 0.009084/0.4632, allocations: 3.812 MB / 0.6304 GB, free: 1.715 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.58e-05/0.4633, allocations: 14.28 kB / 0.6304 GB, free: 1.703 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.473e-05/0.4633, allocations: 8 kB / 0.6304 GB, free: 1.695 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009018/0.4723, allocations: 2.675 MB / 0.633 GB, free: 15.01 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001595/0.474, allocations: 295.6 kB / 0.6333 GB, free: 14.72 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006328/0.4803, allocations: 2.695 MB / 0.636 GB, free: 12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00238/0.4827, allocations: 242.3 kB / 0.6362 GB, free: 11.76 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000149/0.4829, allocations: 63.98 kB / 0.6363 GB, free: 11.7 MB / 446.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.000579/0.4835, allocations: 298.5 kB / 0.6365 GB, free: 11.4 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002694/0.4838, allocations: 154.1 kB / 0.6367 GB, free: 11.25 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01598/0.4998, allocations: 4.759 MB / 0.6413 GB, free: 6.453 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.68e-05/0.4998, allocations: 12 kB / 0.6413 GB, free: 6.441 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.457e-06/0.4998, allocations: 4 kB / 0.6414 GB, free: 6.438 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.185e-05/0.4999, allocations: 11.97 kB / 0.6414 GB, free: 6.426 MB / 446.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.01903/0.5189, allocations: 6.86 MB / 0.6481 GB, free: 15.42 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.072e-05/0.519, allocations: 7.938 kB / 0.6481 GB, free: 15.41 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009551/0.5199, allocations: 135.8 kB / 0.6482 GB, free: 15.28 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007682/0.5276, allocations: 2.146 MB / 0.6503 GB, free: 13.13 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000247/0.5279, allocations: 27.98 kB / 0.6503 GB, free: 13.1 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02521/0.5531, allocations: 10.07 MB / 0.6602 GB, free: 2.887 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.5531, allocations: 3.938 kB / 0.6602 GB, free: 2.883 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01856/0.5717, allocations: 5.925 MB / 0.6659 GB, free: 12.92 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006243/0.5724, allocations: 270.8 kB / 0.6662 GB, free: 12.64 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000272/0.5727, allocations: 20 kB / 0.6662 GB, free: 12.62 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001555/0.5742, allocations: 135.8 kB / 0.6664 GB, free: 12.48 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007491/0.575, allocations: 265.3 kB / 0.6666 GB, free: 12.23 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.222e-05/0.5751, allocations: 32 kB / 0.6666 GB, free: 12.2 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001299/0.5764, allocations: 0.9095 MB / 0.6675 GB, free: 11.29 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.5764, allocations: 0 / 0.6675 GB, free: 11.29 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001244/0.5776, allocations: 0.5152 MB / 0.668 GB, free: 10.77 MB / 478.1 MB 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.01844/0.5961, allocations: 6.508 MB / 0.6744 GB, free: 4.219 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009054/0.6052, allocations: 2.868 MB / 0.6772 GB, free: 1.348 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.583e-06/0.6052, allocations: 4.25 kB / 0.6772 GB, free: 1.344 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006055/0.6113, allocations: 1.911 MB / 0.6791 GB, free: 15.42 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001202/0.6125, allocations: 127.6 kB / 0.6792 GB, free: 15.3 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04482/0.6573, allocations: 20.19 MB / 0.6989 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006507/0.658, allocations: 1.203 MB / 0.7001 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000653/0.6587, allocations: 137.7 kB / 0.7002 GB, free: 9.004 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007376/0.6594, allocations: 0.5813 MB / 0.7008 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of SimCode: time 6.11e-07/0.6594, allocations: 0 / 0.7008 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07164/0.7311, allocations: 41.62 MB / 0.7414 GB, free: 14.92 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/12.6, allocations: 10.66 kB / 0.7414 GB, free: 14.91 MB / 0.545 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)