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.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.001845/0.001845, allocations: 103 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.49/1.49, allocations: 230.6 MB / 249.8 MB, free: 9.23 MB / 206.1 MB " [Timeout remaining time 178] 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.001608/0.001608, allocations: 208.9 kB / 306 MB, free: 4.297 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.438/0.438, allocations: 79.71 MB / 441.8 MB, free: 156 kB / 302.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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) 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"}) [Timeout 660] "Notification: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 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.002461/0.002461, allocations: 79.88 kB / 0.5878 GB, free: 1.539 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1405, allocations: 73.26 MB / 0.6594 GB, free: 8.184 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.GAST): time 0.01127/0.1518, allocations: 9.278 MB / 0.6684 GB, free: 14.85 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.006479/0.1583, allocations: 2.895 MB / 0.6713 GB, free: 11.95 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001355/0.1596, allocations: 19.94 kB / 0.6713 GB, free: 11.93 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001138/0.1608, allocations: 368.8 kB / 0.6716 GB, free: 11.57 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003825/0.1646, allocations: 1.326 MB / 0.6729 GB, free: 10.24 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001979/0.1666, allocations: 0.8385 MB / 0.6737 GB, free: 9.41 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003736/0.1703, allocations: 2.76 MB / 0.6764 GB, free: 6.633 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007815/0.1711, allocations: 395.7 kB / 0.6768 GB, free: 6.207 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001759/0.1728, allocations: 1.062 MB / 0.6778 GB, free: 5.141 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001914/0.1748, allocations: 1.307 MB / 0.6791 GB, free: 3.828 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003955/0.1752, allocations: 224 kB / 0.6793 GB, free: 3.609 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009595/0.1761, allocations: 483.7 kB / 0.6798 GB, free: 3.137 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005746/0.1767, allocations: 0.5448 MB / 0.6803 GB, free: 2.59 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001167/0.1779, allocations: 1.053 MB / 0.6814 GB, free: 1.531 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00383/0.1817, allocations: 2.755 MB / 0.684 GB, free: 14.77 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.1817, allocations: 0 / 0.684 GB, free: 14.77 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1817, allocations: 0 / 0.684 GB, free: 14.77 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.046e-05/0.1817, allocations: 3.938 kB / 0.6841 GB, free: 14.76 MB / 494.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.01656/0.1983, allocations: 4.234 MB / 0.6882 GB, free: 10.46 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.1984, allocations: 8.031 kB / 0.6882 GB, free: 10.45 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002806/0.1986, allocations: 181.2 kB / 0.6884 GB, free: 10.26 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005299/0.2039, allocations: 0.7948 MB / 0.6891 GB, free: 9.465 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003044/0.207, allocations: 1.308 MB / 0.6904 GB, free: 8.109 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005543/0.2075, allocations: 470.6 kB / 0.6909 GB, free: 7.574 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003231/0.2079, allocations: 136 kB / 0.691 GB, free: 7.441 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003653/0.2115, allocations: 1.621 MB / 0.6926 GB, free: 5.773 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.674e-05/0.2115, allocations: 3.938 kB / 0.6926 GB, free: 5.77 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000158/0.2117, allocations: 48 kB / 0.6926 GB, free: 5.723 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.678e-05/0.2117, allocations: 28 kB / 0.6927 GB, free: 5.695 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003676/0.2154, allocations: 1.508 MB / 0.6941 GB, free: 4.18 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 preOpt removeSimpleEquations (simulation): time 0.2715/0.4869, allocations: 5.797 MB / 0.6998 GB, free: 33.75 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009457/0.4963, allocations: 3.062 MB / 0.7028 GB, free: 33.1 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002403/0.4987, allocations: 0.9056 MB / 0.7037 GB, free: 33.07 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004508/0.4992, allocations: 0.7326 MB / 0.7044 GB, free: 32.23 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002656/0.5018, allocations: 1.21 MB / 0.7056 GB, free: 32.12 MB / 494.1 MB Notification: Performance of pre-optimization done (n=148): time 4.549e-06/0.5018, allocations: 0 / 0.7056 GB, free: 32.12 MB / 494.1 MB Notification: Performance of matching and sorting (n=148): time 0.04398/0.5458, allocations: 9.938 MB / 0.7153 GB, free: 30.83 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.177e-05/0.5459, allocations: 153 kB / 0.7154 GB, free: 30.66 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002612/0.5485, allocations: 1.642 MB / 0.717 GB, free: 29.81 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004186/0.5489, allocations: 57.55 kB / 0.7171 GB, free: 29.75 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004274/0.5493, allocations: 0.7212 MB / 0.7178 GB, free: 29.21 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004867/0.5498, allocations: 0.555 MB / 0.7183 GB, free: 28.79 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007054/0.5505, allocations: 391.8 kB / 0.7187 GB, free: 28.57 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 3.778e-05/0.5506, allocations: 306.3 kB / 0.719 GB, free: 28.27 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002367/0.5529, allocations: 1.077 MB / 0.72 GB, free: 27.72 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002515/0.5554, allocations: 1.305 MB / 0.7213 GB, free: 26.96 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004856/0.5603, allocations: 2.334 MB / 0.7236 GB, free: 25.62 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.105e-05/0.5603, allocations: 1.562 kB / 0.7236 GB, free: 25.62 MB / 494.1 MB Notification: Performance of matching and sorting (n=278) (initialization): time 0.01019/0.5705, allocations: 3.976 MB / 0.7275 GB, free: 23.58 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.565e-05/0.5705, allocations: 33.61 kB / 0.7275 GB, free: 23.55 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.683e-05/0.5706, allocations: 7.953 kB / 0.7275 GB, free: 23.55 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009308/0.5799, allocations: 2.644 MB / 0.7301 GB, free: 22.49 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001931/0.5818, allocations: 375.3 kB / 0.7305 GB, free: 22.41 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006258/0.5881, allocations: 2.708 MB / 0.7331 GB, free: 20.79 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002746/0.5908, allocations: 292.2 kB / 0.7334 GB, free: 20.62 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002406/0.591, allocations: 80 kB / 0.7335 GB, free: 20.59 MB / 494.1 MB 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 (221): * Single equations (assignments): 218 * 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.0007427/0.5918, allocations: 346.7 kB / 0.7338 GB, free: 20.32 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000383/0.5922, allocations: 199 kB / 0.734 GB, free: 20.21 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01711/0.6093, allocations: 5.133 MB / 0.739 GB, free: 16.04 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.12e-05/0.6093, allocations: 16 kB / 0.739 GB, free: 16.03 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.087e-05/0.6093, allocations: 3.984 kB / 0.739 GB, free: 16.02 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-05/0.6094, allocations: 7.984 kB / 0.739 GB, free: 16.02 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.0197/0.629, allocations: 7.608 MB / 0.7464 GB, free: 8.297 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.651e-05/0.6291, allocations: 0.8125 kB / 0.7464 GB, free: 8.297 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001124/0.6302, allocations: 173.8 kB / 0.7466 GB, free: 8.129 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007854/0.638, allocations: 2.243 MB / 0.7488 GB, free: 5.887 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003686/0.6384, allocations: 28 kB / 0.7488 GB, free: 5.859 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03045/0.6689, allocations: 12.09 MB / 0.7606 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.6689, allocations: 4 kB / 0.7606 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02233/0.6912, allocations: 6.329 MB / 0.7668 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007705/0.692, allocations: 319.5 kB / 0.7671 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004136/0.6924, allocations: 28 kB / 0.7671 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002042/0.6944, allocations: 170.1 kB / 0.7673 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009667/0.6954, allocations: 277.4 kB / 0.7676 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001532/0.6955, allocations: 43.98 kB / 0.7676 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002104/0.6976, allocations: 1.109 MB / 0.7687 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6976, allocations: 0 / 0.7687 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001926/0.6996, allocations: 0.6087 MB / 0.7693 GB, free: 0.5898 MB / 0.4981 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.02262/0.7222, allocations: 6.961 MB / 0.7761 GB, free: 9.59 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01063/0.7328, allocations: 2.988 MB / 0.779 GB, free: 6.578 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.7328, allocations: 0 / 0.779 GB, free: 6.578 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.007611/0.7404, allocations: 2.101 MB / 0.7811 GB, free: 4.453 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001585/0.742, allocations: 183 kB / 0.7812 GB, free: 4.281 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05645/0.7985, allocations: 21.34 MB / 0.8021 GB, free: 14.58 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001234/0.7997, allocations: 1.339 MB / 0.8034 GB, free: 13.2 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0008426/0.8006, allocations: 171.6 kB / 0.8035 GB, free: 13.03 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001299/0.8019, allocations: 0.7258 MB / 0.8043 GB, free: 12.3 MB / 0.545 GB Notification: Performance of SimCode: time 1.212e-06/0.8019, allocations: 0 / 0.8043 GB, free: 12.3 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1067/0.9086, allocations: 50 MB / 0.8531 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.31/16.22, allocations: 9.969 kB / 0.8531 GB, free: 10.44 MB / 0.5919 GB " [Timeout remaining time 644] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.16730166900379] Failed to read output from testmodel.py, exit status != 0: 16.345632962009404 16.367240716 16.181057234 Calling exit ...