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.007124/0.007124, allocations: 101.4 kB / 15.73 MB, free: 6.012 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.3/1.3, allocations: 222.9 MB / 239.4 MB, free: 4.559 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.001387/0.001387, allocations: 192.5 kB / 289.7 MB, free: 2.281 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4416/0.4416, allocations: 78.54 MB / 418.4 MB, free: 3.184 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001557/0.001557, allocations: 80.09 kB / 0.5532 GB, free: 1.516 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3437/0.3453, allocations: 68.17 MB / 0.6197 GB, free: 9.379 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.GAST): time 0.008654/0.354, allocations: 9.226 MB / 0.6287 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0063/0.3604, allocations: 2.875 MB / 0.6315 GB, free: 14.09 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001895/0.3623, allocations: 16 kB / 0.6316 GB, free: 14.07 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001562/0.3639, allocations: 368.8 kB / 0.6319 GB, free: 13.71 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004324/0.3683, allocations: 1.251 MB / 0.6331 GB, free: 12.46 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002211/0.3705, allocations: 0.8361 MB / 0.6339 GB, free: 11.62 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004183/0.3747, allocations: 2.759 MB / 0.6366 GB, free: 8.848 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001136/0.3759, allocations: 0.5388 MB / 0.6372 GB, free: 8.27 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001846/0.3777, allocations: 1.035 MB / 0.6382 GB, free: 7.23 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002109/0.3798, allocations: 1.287 MB / 0.6394 GB, free: 5.938 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008301/0.3807, allocations: 220 kB / 0.6396 GB, free: 5.723 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001369/0.3821, allocations: 471.7 kB / 0.6401 GB, free: 5.262 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008945/0.383, allocations: 0.5409 MB / 0.6406 GB, free: 4.719 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001785/0.3848, allocations: 1.06 MB / 0.6417 GB, free: 3.652 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004367/0.3892, allocations: 2.752 MB / 0.6443 GB, free: 0.8906 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.3892, allocations: 0 / 0.6443 GB, free: 0.8906 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.3892, allocations: 4 kB / 0.6443 GB, free: 0.8867 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001175/0.3894, allocations: 0 / 0.6443 GB, free: 0.8867 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.01668/0.406, allocations: 4.163 MB / 0.6484 GB, free: 12.66 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.4061, allocations: 8.031 kB / 0.6484 GB, free: 12.65 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000453/0.4066, allocations: 177.3 kB / 0.6486 GB, free: 12.46 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005108/0.4117, allocations: 0.7935 MB / 0.6494 GB, free: 11.67 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0031/0.4148, allocations: 1.283 MB / 0.6506 GB, free: 10.34 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005642/0.4154, allocations: 470.7 kB / 0.6511 GB, free: 9.801 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004771/0.4159, allocations: 135.9 kB / 0.6512 GB, free: 9.668 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004188/0.4201, allocations: 1.621 MB / 0.6528 GB, free: 8 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.076e-05/0.4202, allocations: 3.938 kB / 0.6528 GB, free: 7.996 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001879/0.4203, allocations: 55.97 kB / 0.6528 GB, free: 7.941 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.955e-05/0.4204, allocations: 28 kB / 0.6529 GB, free: 7.914 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003778/0.4242, allocations: 1.496 MB / 0.6543 GB, free: 6.41 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.01314/0.4373, allocations: 5.796 MB / 0.66 GB, free: 404 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009517/0.4469, allocations: 3.18 MB / 0.6631 GB, free: 13.09 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002467/0.4494, allocations: 0.9924 MB / 0.6641 GB, free: 12.09 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007615/0.4502, allocations: 0.727 MB / 0.6648 GB, free: 11.2 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003003/0.4532, allocations: 1.204 MB / 0.6659 GB, free: 9.965 MB / 478.1 MB Notification: Performance of pre-optimization done (n=148): time 6.672e-06/0.4533, allocations: 7.984 kB / 0.666 GB, free: 9.957 MB / 478.1 MB Notification: Performance of matching and sorting (n=148): time 0.04395/0.4972, allocations: 9.98 MB / 0.6757 GB, free: 15.91 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001143/0.4974, allocations: 145.8 kB / 0.6758 GB, free: 15.74 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003667/0.5011, allocations: 1.635 MB / 0.6774 GB, free: 14.11 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005124/0.5016, allocations: 57.7 kB / 0.6775 GB, free: 14.04 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008185/0.5024, allocations: 0.7146 MB / 0.6782 GB, free: 13.32 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008966/0.5033, allocations: 0.5276 MB / 0.6787 GB, free: 12.78 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001204/0.5045, allocations: 395.9 kB / 0.6791 GB, free: 12.39 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.5047, allocations: 305.1 kB / 0.6794 GB, free: 12.09 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002631/0.5073, allocations: 1.078 MB / 0.6804 GB, free: 11 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002759/0.5101, allocations: 1.314 MB / 0.6817 GB, free: 9.625 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005065/0.5152, allocations: 2.323 MB / 0.684 GB, free: 7.211 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.157e-06/0.5152, allocations: 4 kB / 0.684 GB, free: 7.207 MB / 494.1 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.01108/0.5263, allocations: 4.006 MB / 0.6879 GB, free: 3.137 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.016e-05/0.5264, allocations: 33.7 kB / 0.6879 GB, free: 3.098 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.506e-05/0.5264, allocations: 4 kB / 0.6879 GB, free: 3.094 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009753/0.5361, allocations: 2.652 MB / 0.6905 GB, free: 448 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001982/0.5382, allocations: 383.5 kB / 0.6909 GB, free: 64 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006731/0.5449, allocations: 2.703 MB / 0.6935 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002747/0.5477, allocations: 290.1 kB / 0.6938 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003528/0.548, allocations: 75.98 kB / 0.6939 GB, free: 12.97 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.0009344/0.549, allocations: 345.4 kB / 0.6942 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005442/0.5495, allocations: 189.6 kB / 0.6944 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0179/0.5675, allocations: 5.171 MB / 0.6994 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.398e-05/0.5675, allocations: 12 kB / 0.6994 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.249e-05/0.5675, allocations: 4 kB / 0.6994 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.393e-05/0.5676, allocations: 11.97 kB / 0.6995 GB, free: 7.215 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.0218/0.5894, allocations: 7.641 MB / 0.7069 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.032e-05/0.5894, allocations: 3.984 kB / 0.7069 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001097/0.5905, allocations: 171.7 kB / 0.7071 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008083/0.5986, allocations: 2.236 MB / 0.7093 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002608/0.5989, allocations: 35.92 kB / 0.7093 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02947/0.6284, allocations: 12.06 MB / 0.7211 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/0.6285, allocations: 3.984 kB / 0.7211 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02131/0.6498, allocations: 6.368 MB / 0.7273 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000757/0.6506, allocations: 302.5 kB / 0.7276 GB, free: 9.902 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005639/0.6511, allocations: 32 kB / 0.7276 GB, free: 9.871 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002102/0.6533, allocations: 163.8 kB / 0.7278 GB, free: 9.711 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001023/0.6543, allocations: 289.2 kB / 0.7281 GB, free: 9.426 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002106/0.6545, allocations: 39.98 kB / 0.7281 GB, free: 9.387 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002236/0.6568, allocations: 1.109 MB / 0.7292 GB, free: 8.285 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.11e-07/0.6568, allocations: 0 / 0.7292 GB, free: 8.285 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002378/0.6592, allocations: 0.6048 MB / 0.7298 GB, free: 7.68 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.021/0.6802, allocations: 6.974 MB / 0.7366 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01015/0.6904, allocations: 3.171 MB / 0.7397 GB, free: 13.46 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.6904, allocations: 12 kB / 0.7397 GB, free: 13.45 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006873/0.6973, allocations: 2.175 MB / 0.7418 GB, free: 11.24 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001844/0.6992, allocations: 181 kB / 0.742 GB, free: 11.07 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05162/0.7508, allocations: 21.08 MB / 0.7626 GB, free: 5.605 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001045/0.7519, allocations: 1.347 MB / 0.7639 GB, free: 4.227 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007851/0.7527, allocations: 167.5 kB / 0.764 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001102/0.7538, allocations: 0.7258 MB / 0.7648 GB, free: 3.34 MB / 0.5606 GB Notification: Performance of SimCode: time 6.51e-07/0.7538, allocations: 0 / 0.7648 GB, free: 3.34 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.343/1.097, allocations: 51.37 MB / 0.8149 GB, free: 103.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.63/15.73, allocations: 20.03 kB / 0.8149 GB, free: 103.9 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_GAST_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_GAST.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.GAST.pipe 2>&1)