Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.GAST.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.GAST,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_GAST",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.GAST,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_GAST",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.007494/0.0075, allocations: 101 kB / 15.73 MB, free: 6.004 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.348/1.348, allocations: 222.9 MB / 239.4 MB, free: 4.516 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.001348/0.001348, allocations: 188.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.4545/0.4545, allocations: 78.53 MB / 418.4 MB, free: 3.141 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001603/0.001603, allocations: 79.88 kB / 0.5532 GB, free: 1.441 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3313/0.3329, allocations: 68.16 MB / 0.6197 GB, free: 9.348 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.GAST): time 0.008009/0.341, allocations: 9.232 MB / 0.6287 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004924/0.3459, allocations: 2.867 MB / 0.6315 GB, free: 14.01 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008235/0.3468, allocations: 16 kB / 0.6316 GB, free: 13.99 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008281/0.3476, allocations: 364.8 kB / 0.6319 GB, free: 13.63 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002827/0.3505, allocations: 1.323 MB / 0.6332 GB, free: 12.31 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001638/0.3521, allocations: 0.8425 MB / 0.634 GB, free: 11.47 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002766/0.3549, allocations: 2.755 MB / 0.6367 GB, free: 8.699 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007142/0.3556, allocations: 0.5349 MB / 0.6372 GB, free: 8.129 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001134/0.3568, allocations: 1.039 MB / 0.6382 GB, free: 7.086 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001372/0.3582, allocations: 1.287 MB / 0.6395 GB, free: 5.793 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002946/0.3585, allocations: 220 kB / 0.6397 GB, free: 5.578 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007824/0.3593, allocations: 475.7 kB / 0.6402 GB, free: 5.113 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004576/0.3597, allocations: 0.5448 MB / 0.6407 GB, free: 4.566 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009092/0.3606, allocations: 1.053 MB / 0.6417 GB, free: 3.508 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002772/0.3634, allocations: 2.763 MB / 0.6444 GB, free: 0.7383 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.3634, allocations: 4 kB / 0.6444 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3635, allocations: 0 / 0.6444 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.661e-05/0.3635, allocations: 0 / 0.6444 GB, free: 0.7344 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: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.01415/0.3776, allocations: 4.23 MB / 0.6486 GB, free: 12.43 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.3777, allocations: 16.03 kB / 0.6486 GB, free: 12.41 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002168/0.3779, allocations: 177.3 kB / 0.6487 GB, free: 12.23 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004774/0.3827, allocations: 0.7987 MB / 0.6495 GB, free: 11.43 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002282/0.385, allocations: 1.296 MB / 0.6508 GB, free: 10.09 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004604/0.3855, allocations: 470.7 kB / 0.6512 GB, free: 9.551 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002253/0.3857, allocations: 136 kB / 0.6514 GB, free: 9.418 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003185/0.3889, allocations: 1.621 MB / 0.653 GB, free: 7.75 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.388e-05/0.3889, allocations: 8 kB / 0.653 GB, free: 7.742 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001314/0.3891, allocations: 44 kB / 0.653 GB, free: 7.699 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.415e-05/0.3891, allocations: 28 kB / 0.653 GB, free: 7.672 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003274/0.3924, allocations: 1.496 MB / 0.6545 GB, free: 6.168 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.01003/0.4024, allocations: 5.821 MB / 0.6602 GB, free: 136 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008825/0.4113, allocations: 3.169 MB / 0.6633 GB, free: 12.84 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002199/0.4135, allocations: 0.9999 MB / 0.6642 GB, free: 11.83 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006394/0.4142, allocations: 0.7338 MB / 0.665 GB, free: 10.93 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002566/0.4168, allocations: 1.201 MB / 0.6661 GB, free: 9.703 MB / 478.1 MB Notification: Performance of pre-optimization done (n=148): time 3.737e-06/0.4168, allocations: 0 / 0.6661 GB, free: 9.703 MB / 478.1 MB Notification: Performance of matching and sorting (n=148): time 0.04244/0.4592, allocations: 9.981 MB / 0.6759 GB, free: 15.66 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.7e-05/0.4594, allocations: 149.8 kB / 0.676 GB, free: 15.48 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002994/0.4624, allocations: 1.643 MB / 0.6776 GB, free: 13.84 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003843/0.4628, allocations: 65.58 kB / 0.6777 GB, free: 13.77 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006274/0.4634, allocations: 0.7195 MB / 0.6784 GB, free: 13.04 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007487/0.4642, allocations: 0.55 MB / 0.6789 GB, free: 12.48 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001005/0.4652, allocations: 396 kB / 0.6793 GB, free: 12.09 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.281e-05/0.4653, allocations: 301.1 kB / 0.6796 GB, free: 11.79 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002531/0.4678, allocations: 1.082 MB / 0.6807 GB, free: 10.71 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002729/0.4706, allocations: 1.307 MB / 0.6819 GB, free: 9.336 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005192/0.4758, allocations: 2.327 MB / 0.6842 GB, free: 6.918 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.117e-06/0.4758, allocations: 0 / 0.6842 GB, free: 6.918 MB / 494.1 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.01087/0.4867, allocations: 4.023 MB / 0.6881 GB, free: 2.832 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.288e-05/0.4868, allocations: 33.7 kB / 0.6882 GB, free: 2.793 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.75e-05/0.4868, allocations: 4 kB / 0.6882 GB, free: 2.789 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01032/0.4971, allocations: 2.655 MB / 0.6908 GB, free: 132 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002141/0.4993, allocations: 379.5 kB / 0.6911 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006604/0.506, allocations: 2.699 MB / 0.6938 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002594/0.5086, allocations: 306.4 kB / 0.6941 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002986/0.5089, allocations: 75.98 kB / 0.6941 GB, free: 12.66 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,$whenCondition4,$whenCondition3,iEEET1.rotatingExciter.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (222): * Single equations (assignments): 219 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 1 * 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.0008047/0.5097, allocations: 333.5 kB / 0.6944 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004503/0.5102, allocations: 194.7 kB / 0.6946 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01765/0.5278, allocations: 5.186 MB / 0.6997 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.626e-05/0.5279, allocations: 16 kB / 0.6997 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.797e-06/0.5279, allocations: 0 / 0.6997 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.22e-05/0.5279, allocations: 11.97 kB / 0.6997 GB, free: 6.891 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.02166/0.5496, allocations: 7.634 MB / 0.7072 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.867e-05/0.5497, allocations: 8.062 kB / 0.7072 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001146/0.5508, allocations: 167.8 kB / 0.7073 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008294/0.5591, allocations: 2.232 MB / 0.7095 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000337/0.5595, allocations: 43.92 kB / 0.7096 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0299/0.5894, allocations: 12.08 MB / 0.7214 GB, free: 304 kB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.5895, allocations: 0 / 0.7214 GB, free: 304 kB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02058/0.61, allocations: 6.381 MB / 0.7276 GB, free: 9.875 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006266/0.6107, allocations: 311.5 kB / 0.7279 GB, free: 9.551 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005202/0.6112, allocations: 32 kB / 0.7279 GB, free: 9.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00201/0.6133, allocations: 163.8 kB / 0.7281 GB, free: 9.359 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009994/0.6143, allocations: 285.3 kB / 0.7283 GB, free: 9.078 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000175/0.6145, allocations: 43.98 kB / 0.7284 GB, free: 9.035 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002107/0.6166, allocations: 1.109 MB / 0.7295 GB, free: 7.934 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.6e-07/0.6166, allocations: 4 kB / 0.7295 GB, free: 7.93 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001956/0.6186, allocations: 0.601 MB / 0.7301 GB, free: 7.328 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 16 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,iEEET1.derivativeLag.x,iEEET1.simpleLagLim.state,iEEET1.rotatingExciter.sISO.y,iEEET1.TransducerDelay.state,gAST.transferFunction1.x_scaled[1],gAST.transferFunction2.x_scaled[1],gAST.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(26,23), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02086/0.6394, allocations: 6.994 MB / 0.7369 GB, free: 292 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01/0.6495, allocations: 3.174 MB / 0.74 GB, free: 13.08 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.6495, allocations: 0.875 kB / 0.74 GB, free: 13.08 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006826/0.6563, allocations: 2.186 MB / 0.7421 GB, free: 10.86 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00165/0.658, allocations: 176 kB / 0.7423 GB, free: 10.69 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05283/0.7109, allocations: 21.16 MB / 0.763 GB, free: 5.156 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001234/0.7121, allocations: 1.339 MB / 0.7643 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0009368/0.7131, allocations: 179.5 kB / 0.7644 GB, free: 3.605 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001142/0.7143, allocations: 0.7219 MB / 0.7651 GB, free: 2.887 MB / 0.5606 GB Notification: Performance of SimCode: time 5.81e-07/0.7143, allocations: 0 / 0.7651 GB, free: 2.887 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3285/1.043, allocations: 49.45 MB / 0.8134 GB, free: 105.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.9/15.94, allocations: 18.69 kB / 0.8135 GB, free: 105.1 MB / 0.5606 GB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.GAST.sim & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.GAST_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_GAST.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe 2>&1)