Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.conf.json 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/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.IEESGO,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_IEESGO",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.IEESGO,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_IEESGO",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 172.5 kB / 7.646 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 221.5 MB / 229.6 MB, free: 7.586 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009265/0.0009267, allocations: 100.2 kB / 280.5 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4805/0.4805, allocations: 78.95 MB / 410.2 MB, free: 6.016 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.055e-05/2.073e-05, allocations: 4 kB / 486 MB, free: 11.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1507, allocations: 69.51 MB / 0.5425 GB, free: 5.82 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4598/0.6106, allocations: 111.6 MB / 0.6515 GB, free: 2.375 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003578/0.611, allocations: 91.94 kB / 0.6516 GB, free: 2.285 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1271/0.7381, allocations: 44.73 MB / 0.6953 GB, free: 5.574 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.763e-06/0.7381, allocations: 0 / 0.6953 GB, free: 5.574 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002072/0.7384, allocations: 32.97 kB / 0.6953 GB, free: 5.543 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.007494/0.7459, allocations: 2.247 MB / 0.6975 GB, free: 3.238 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.7459, allocations: 8.031 kB / 0.6975 GB, free: 3.23 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005013/0.7509, allocations: 0.7897 MB / 0.6983 GB, free: 2.438 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003454/0.7544, allocations: 1.149 MB / 0.6994 GB, free: 1.238 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007479/0.7552, allocations: 0.5248 MB / 0.6999 GB, free: 0.6133 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005735/0.7558, allocations: 75.89 kB / 0.7 GB, free: 0.5391 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003154/0.759, allocations: 1.199 MB / 0.7011 GB, free: 15.34 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00318/0.7621, allocations: 1.201 MB / 0.7023 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.961e-05/0.7622, allocations: 0 / 0.7023 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001918/0.7624, allocations: 0 / 0.7023 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.772e-05/0.7624, allocations: 29.12 kB / 0.7023 GB, free: 14.07 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or 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.01475/0.7772, allocations: 5.481 MB / 0.7077 GB, free: 8.371 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008638/0.7859, allocations: 3.26 MB / 0.7109 GB, free: 4.977 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00185/0.7878, allocations: 0.7374 MB / 0.7116 GB, free: 4.23 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002772/0.7881, allocations: 29.28 kB / 0.7116 GB, free: 4.203 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002221/0.7903, allocations: 0.9055 MB / 0.7125 GB, free: 3.27 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=139): time 5.64e-06/0.7904, allocations: 0 / 0.7125 GB, free: 3.27 MB / 0.5105 GB Notification: Performance of matching and sorting (n=139): time 0.01707/0.8074, allocations: 4.957 MB / 0.7174 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.865e-05/0.8076, allocations: 171.5 kB / 0.7175 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002778/0.8104, allocations: 1.218 MB / 0.7187 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.000443/0.8108, allocations: 25.7 kB / 0.7187 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006811/0.8115, allocations: 0.7152 MB / 0.7194 GB, free: 12.11 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008562/0.8124, allocations: 480.8 kB / 0.7199 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002211/0.8126, allocations: 0 / 0.7199 GB, free: 11.64 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000198/0.8128, allocations: 357.9 kB / 0.7202 GB, free: 11.28 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001255/0.8141, allocations: 0.6211 MB / 0.7208 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001391/0.8155, allocations: 0.8051 MB / 0.7216 GB, free: 9.805 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001477/0.817, allocations: 0.6931 MB / 0.7223 GB, free: 9.117 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.358e-06/0.817, allocations: 0 / 0.7223 GB, free: 9.117 MB / 0.5261 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.004782/0.8218, allocations: 2.194 MB / 0.7244 GB, free: 6.91 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006742/0.8225, allocations: 1.481 MB / 0.7259 GB, free: 5.297 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.57e-05/0.8225, allocations: 4 kB / 0.7259 GB, free: 5.293 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007579/0.8301, allocations: 2.312 MB / 0.7282 GB, free: 2.977 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001071/0.8312, allocations: 214.5 kB / 0.7284 GB, free: 2.77 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005166/0.8364, allocations: 2.622 MB / 0.7309 GB, free: 128 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002572/0.839, allocations: 262.6 kB / 0.7312 GB, free: 15.87 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002233/0.8392, allocations: 55.98 kB / 0.7312 GB, free: 15.81 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.8392, allocations: 9.203 kB / 0.7312 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003924/0.8432, allocations: 1.975 MB / 0.7332 GB, free: 13.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.67e-05/0.8432, allocations: 5.312 kB / 0.7332 GB, free: 13.82 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007327/0.8505, allocations: 2.312 MB / 0.7354 GB, free: 11.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001052/0.8516, allocations: 207.7 kB / 0.7356 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005193/0.8568, allocations: 2.631 MB / 0.7382 GB, free: 8.645 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002584/0.8594, allocations: 246.8 kB / 0.7384 GB, free: 8.402 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002679/0.8597, allocations: 51.98 kB / 0.7385 GB, free: 8.352 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 (sCRX.booleanConstant.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (116): * Single equations (assignments): 114 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {29 43} Notification: Performance of prepare postOptimizeDAE: time 0.000497/0.8602, allocations: 122.8 kB / 0.7386 GB, free: 8.227 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01524/0.8755, allocations: 4.951 MB / 0.7434 GB, free: 3.262 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001006/0.8765, allocations: 181.8 kB / 0.7436 GB, free: 3.082 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01572/0.8923, allocations: 5.071 MB / 0.7486 GB, free: 13.98 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.101e-05/0.8924, allocations: 12 kB / 0.7486 GB, free: 13.97 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.515e-05/0.8924, allocations: 7.984 kB / 0.7486 GB, free: 13.96 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.175e-05/0.8924, allocations: 7.984 kB / 0.7486 GB, free: 13.96 MB / 0.5573 GB Warning: The model contains alias variables with conflicting start and/or 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.02085/0.9133, allocations: 7.498 MB / 0.7559 GB, free: 6.336 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.78e-05/0.9134, allocations: 5.5 kB / 0.7559 GB, free: 6.332 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001206/0.9146, allocations: 183.7 kB / 0.7561 GB, free: 6.152 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006373/0.921, allocations: 1.993 MB / 0.758 GB, free: 4.16 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003031/0.9213, allocations: 11.98 kB / 0.758 GB, free: 4.148 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.374/1.295, allocations: 7.704 MB / 0.7656 GB, free: 134.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/1.295, allocations: 3.25 kB / 0.7656 GB, free: 134.3 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01658/1.312, allocations: 6.163 MB / 0.7716 GB, free: 133.9 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008033/1.313, allocations: 300.2 kB / 0.7719 GB, free: 133.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003062/1.313, allocations: 3.031 kB / 0.7719 GB, free: 133.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001783/1.315, allocations: 189 kB / 0.7721 GB, free: 133.7 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008024/1.316, allocations: 272 kB / 0.7723 GB, free: 133.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001082/1.316, allocations: 39.03 kB / 0.7724 GB, free: 133.7 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001259/1.317, allocations: 0.9266 MB / 0.7733 GB, free: 133.6 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.81e-07/1.317, allocations: 3.906 kB / 0.7733 GB, free: 133.6 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0021/1.319, allocations: 0.767 MB / 0.774 GB, free: 133.6 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 15 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENSAL.w,gENSAL.delta,gENSAL.Epq,gENSAL.PSIkd,gENSAL.PSIppq,sCRX.imLeadLag.TF.x_scaled[1],sCRX.simpleLagLim.state,iEESGO.imSimpleLag.state,iEESGO.imLeadLag.TF.x_scaled[1],iEESGO.imSimpleLag1.state,iEESGO.imSimpleLag2.state,iEESGO.imSimpleLag3.state) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.01625/1.335, allocations: 6.964 MB / 0.7808 GB, free: 132.5 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01411/1.35, allocations: 4.262 MB / 0.785 GB, free: 132.2 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.159e-05/1.35, allocations: 0 / 0.785 GB, free: 132.2 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.006129/1.356, allocations: 1.898 MB / 0.7868 GB, free: 132 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001657/1.358, allocations: 115.9 kB / 0.7869 GB, free: 132 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007278/1.365, allocations: 2.934 MB / 0.7898 GB, free: 131 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009116/1.366, allocations: 1.347 MB / 0.7911 GB, free: 130.2 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001535/1.367, allocations: 283.9 kB / 0.7914 GB, free: 130.2 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007707/1.368, allocations: 0.6584 MB / 0.792 GB, free: 130.2 MB / 0.5573 GB Notification: Performance of SimCode: time 1.263e-06/1.368, allocations: 0 / 0.792 GB, free: 130.2 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0954/1.464, allocations: 46.04 MB / 0.837 GB, free: 127.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001378/1.464, allocations: 127.9 kB / 0.8371 GB, free: 127.2 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.737/5.201, allocations: 1.953 kB / 0.8371 GB, free: 127.2 MB / 0.5573 GB (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_IEESGO_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_IEESGO.fmu > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.pipe 2>&1)