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.006725/0.006725, allocations: 101.6 kB / 15.73 MB, free: 5.996 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.311/1.311, allocations: 222.9 MB / 239.4 MB, free: 4.562 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.001322/0.001322, allocations: 192.5 kB / 289.7 MB, free: 2.277 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4459/0.4459, allocations: 78.54 MB / 418.4 MB, free: 3.152 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001597/0.001597, allocations: 83.88 kB / 0.5532 GB, free: 1.5 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3226/0.3242, allocations: 68.17 MB / 0.6197 GB, free: 9.391 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.GAST): time 0.007113/0.3313, allocations: 9.227 MB / 0.6287 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005303/0.3367, allocations: 2.871 MB / 0.6315 GB, free: 14.07 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009367/0.3376, allocations: 16 kB / 0.6316 GB, free: 14.05 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000835/0.3385, allocations: 368.8 kB / 0.6319 GB, free: 13.69 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002943/0.3414, allocations: 1.325 MB / 0.6332 GB, free: 12.36 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001707/0.3432, allocations: 0.8324 MB / 0.634 GB, free: 11.54 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002904/0.3461, allocations: 2.761 MB / 0.6367 GB, free: 8.758 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007307/0.3468, allocations: 0.5466 MB / 0.6372 GB, free: 8.176 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001284/0.3481, allocations: 1.031 MB / 0.6382 GB, free: 7.141 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001378/0.3495, allocations: 1.287 MB / 0.6395 GB, free: 5.848 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002983/0.3498, allocations: 220 kB / 0.6397 GB, free: 5.633 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007898/0.3506, allocations: 475.7 kB / 0.6402 GB, free: 5.168 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004383/0.3511, allocations: 0.5448 MB / 0.6407 GB, free: 4.621 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008625/0.3519, allocations: 1.061 MB / 0.6417 GB, free: 3.555 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002772/0.3547, allocations: 2.763 MB / 0.6444 GB, free: 0.7852 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.3547, allocations: 0 / 0.6444 GB, free: 0.7852 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.3547, allocations: 0 / 0.6444 GB, free: 0.7852 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.457e-05/0.3548, allocations: 0 / 0.6444 GB, free: 0.7852 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.01387/0.3686, allocations: 4.23 MB / 0.6486 GB, free: 12.48 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.3687, allocations: 8.031 kB / 0.6486 GB, free: 12.47 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002202/0.3689, allocations: 181.3 kB / 0.6487 GB, free: 12.29 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004625/0.3735, allocations: 0.7987 MB / 0.6495 GB, free: 11.48 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002142/0.3757, allocations: 1.3 MB / 0.6508 GB, free: 10.14 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004442/0.3761, allocations: 470.7 kB / 0.6512 GB, free: 9.602 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002388/0.3764, allocations: 136 kB / 0.6514 GB, free: 9.469 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003158/0.3796, allocations: 1.624 MB / 0.653 GB, free: 7.801 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.334e-05/0.3796, allocations: 0 / 0.653 GB, free: 7.801 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001371/0.3797, allocations: 44 kB / 0.653 GB, free: 7.758 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.39e-05/0.3798, allocations: 31.94 kB / 0.653 GB, free: 7.727 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003162/0.3829, allocations: 1.5 MB / 0.6545 GB, free: 6.219 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.009275/0.3922, allocations: 5.813 MB / 0.6602 GB, free: 192 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008726/0.401, allocations: 3.173 MB / 0.6633 GB, free: 12.89 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002051/0.403, allocations: 0.9942 MB / 0.6642 GB, free: 11.89 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005459/0.4036, allocations: 0.7297 MB / 0.665 GB, free: 10.99 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002341/0.4059, allocations: 1.207 MB / 0.6661 GB, free: 9.758 MB / 478.1 MB Notification: Performance of pre-optimization done (n=148): time 2.635e-06/0.406, allocations: 0 / 0.6661 GB, free: 9.758 MB / 478.1 MB Notification: Performance of matching and sorting (n=148): time 0.04008/0.4461, allocations: 9.985 MB / 0.6759 GB, free: 15.71 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.622e-05/0.4462, allocations: 145.8 kB / 0.676 GB, free: 15.54 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00255/0.4487, allocations: 1.647 MB / 0.6776 GB, free: 13.89 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003353/0.4491, allocations: 61.64 kB / 0.6777 GB, free: 13.82 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005314/0.4496, allocations: 0.7156 MB / 0.6784 GB, free: 13.1 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005892/0.4502, allocations: 0.55 MB / 0.6789 GB, free: 12.54 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006795/0.4509, allocations: 400 kB / 0.6793 GB, free: 12.14 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.31e-05/0.451, allocations: 301.1 kB / 0.6796 GB, free: 11.85 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002331/0.4533, allocations: 1.078 MB / 0.6806 GB, free: 10.77 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002483/0.4558, allocations: 1.314 MB / 0.6819 GB, free: 9.387 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004578/0.4604, allocations: 2.327 MB / 0.6842 GB, free: 6.969 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/0.4604, allocations: 4 kB / 0.6842 GB, free: 6.965 MB / 494.1 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.009897/0.4703, allocations: 4.015 MB / 0.6881 GB, free: 2.887 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.909e-05/0.4704, allocations: 33.69 kB / 0.6882 GB, free: 2.848 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.3e-05/0.4704, allocations: 8 kB / 0.6882 GB, free: 2.84 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009087/0.4795, allocations: 2.652 MB / 0.6908 GB, free: 188 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001864/0.4814, allocations: 375.5 kB / 0.6911 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006204/0.4876, allocations: 2.703 MB / 0.6938 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002537/0.4902, allocations: 298.5 kB / 0.694 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001646/0.4903, allocations: 79.97 kB / 0.6941 GB, free: 12.71 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.0007136/0.4911, allocations: 345.4 kB / 0.6944 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003209/0.4914, allocations: 194.7 kB / 0.6946 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01678/0.5082, allocations: 5.175 MB / 0.6997 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.141e-05/0.5082, allocations: 16 kB / 0.6997 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.818e-06/0.5082, allocations: 4 kB / 0.6997 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.612e-05/0.5083, allocations: 7.984 kB / 0.6997 GB, free: 6.949 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.02028/0.5286, allocations: 7.646 MB / 0.7072 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.424e-05/0.5286, allocations: 4 kB / 0.7072 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001067/0.5297, allocations: 171.7 kB / 0.7073 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007793/0.5375, allocations: 2.236 MB / 0.7095 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002594/0.5378, allocations: 39.92 kB / 0.7096 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02889/0.5667, allocations: 12.08 MB / 0.7214 GB, free: 352 kB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.5667, allocations: 0 / 0.7214 GB, free: 352 kB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01933/0.586, allocations: 6.377 MB / 0.7276 GB, free: 9.926 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000675/0.5867, allocations: 311.5 kB / 0.7279 GB, free: 9.602 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002618/0.587, allocations: 28 kB / 0.7279 GB, free: 9.574 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001711/0.5887, allocations: 167.8 kB / 0.7281 GB, free: 9.41 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008351/0.5896, allocations: 293.3 kB / 0.7284 GB, free: 9.121 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001089/0.5897, allocations: 39.98 kB / 0.7284 GB, free: 9.082 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001742/0.5914, allocations: 1.105 MB / 0.7295 GB, free: 7.984 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.91e-07/0.5914, allocations: 0 / 0.7295 GB, free: 7.984 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00149/0.5929, allocations: 0.601 MB / 0.7301 GB, free: 7.383 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.01956/0.6125, allocations: 6.994 MB / 0.7369 GB, free: 348 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009226/0.6218, allocations: 3.178 MB / 0.74 GB, free: 13.14 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.197e-06/0.6218, allocations: 4.062 kB / 0.74 GB, free: 13.13 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006451/0.6282, allocations: 2.175 MB / 0.7421 GB, free: 10.92 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001357/0.6296, allocations: 184.9 kB / 0.7423 GB, free: 10.74 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07377/0.7034, allocations: 21.16 MB / 0.763 GB, free: 5.195 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001158/0.7046, allocations: 1.339 MB / 0.7643 GB, free: 3.824 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0008441/0.7055, allocations: 179.6 kB / 0.7644 GB, free: 3.645 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001161/0.7066, allocations: 0.718 MB / 0.7651 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of SimCode: time 9.52e-07/0.7066, allocations: 0 / 0.7651 GB, free: 2.93 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3803/1.087, allocations: 49.45 MB / 0.8134 GB, free: 105.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.76/15.85, allocations: 6.875 kB / 0.8134 GB, free: 105.2 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)