Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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 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_OpenIPSL_Tests_Controls_PSSE_TG_IEESGO",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.IEESGO,fileNamePrefix="OpenIPSL_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.001017/0.001017, allocations: 172.5 kB / 7.647 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.392/1.392, 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.0008273/0.0008271, allocations: 100.8 kB / 280.5 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5028/0.5028, allocations: 78.08 MB / 409.3 MB, free: 6.363 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.106e-05/2.108e-05, allocations: 4 kB / 485 MB, free: 12.16 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.1634, allocations: 69.36 MB / 0.5414 GB, free: 6.734 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4742/0.6376, allocations: 110.9 MB / 0.6497 GB, free: 4.527 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003369/0.638, allocations: 92.78 kB / 0.6498 GB, free: 4.438 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1283/0.7663, allocations: 47.15 MB / 0.6958 GB, free: 5.297 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.054e-06/0.7663, allocations: 0 / 0.6958 GB, free: 5.297 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001182/0.7665, allocations: 39.94 kB / 0.6959 GB, free: 5.258 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.006342/0.7728, allocations: 2.238 MB / 0.6981 GB, free: 2.961 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.351e-05/0.7729, allocations: 8.031 kB / 0.6981 GB, free: 2.953 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003334/0.7762, allocations: 0.579 MB / 0.6986 GB, free: 2.371 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002149/0.7784, allocations: 1.083 MB / 0.6997 GB, free: 1.238 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005816/0.779, allocations: 0.5209 MB / 0.7002 GB, free: 0.6172 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002095/0.7792, allocations: 91.81 kB / 0.7003 GB, free: 0.5273 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002191/0.7814, allocations: 1.192 MB / 0.7015 GB, free: 15.33 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002098/0.7835, allocations: 1.201 MB / 0.7026 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.285e-05/0.7835, allocations: 0 / 0.7026 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001148/0.7837, allocations: 0 / 0.7026 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.606e-05/0.7837, allocations: 28 kB / 0.7027 GB, free: 14.06 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.01018/0.7939, allocations: 5.364 MB / 0.7079 GB, free: 8.484 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008034/0.8019, allocations: 3.26 MB / 0.7111 GB, free: 5.09 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001424/0.8034, allocations: 0.7458 MB / 0.7118 GB, free: 4.336 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001607/0.8036, allocations: 25.23 kB / 0.7118 GB, free: 4.312 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001411/0.805, allocations: 0.9055 MB / 0.7127 GB, free: 3.379 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=139): time 3.667e-06/0.805, allocations: 0 / 0.7127 GB, free: 3.379 MB / 0.5105 GB Notification: Performance of matching and sorting (n=139): time 0.01489/0.8199, allocations: 4.949 MB / 0.7176 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001031/0.8201, allocations: 183.4 kB / 0.7177 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002099/0.8222, allocations: 1.132 MB / 0.7188 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003752/0.8226, allocations: 26.27 kB / 0.7189 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005097/0.8231, allocations: 0.7105 MB / 0.7196 GB, free: 12.31 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006013/0.8237, allocations: 484.9 kB / 0.72 GB, free: 11.83 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.617e-05/0.8238, allocations: 0 / 0.72 GB, free: 11.83 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.824, allocations: 361.9 kB / 0.7204 GB, free: 11.47 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001039/0.825, allocations: 0.625 MB / 0.721 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001112/0.8261, allocations: 0.8008 MB / 0.7218 GB, free: 9.996 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001204/0.8273, allocations: 0.697 MB / 0.7224 GB, free: 9.305 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.741e-06/0.8274, allocations: 0 / 0.7224 GB, free: 9.305 MB / 0.5261 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.003929/0.8313, allocations: 2.189 MB / 0.7246 GB, free: 7.102 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005861/0.8319, allocations: 1.473 MB / 0.726 GB, free: 5.496 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.63e-05/0.8319, allocations: 6.812 kB / 0.726 GB, free: 5.492 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007654/0.8396, allocations: 2.319 MB / 0.7283 GB, free: 3.168 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001138/0.8408, allocations: 207.7 kB / 0.7285 GB, free: 2.965 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005144/0.8459, allocations: 2.619 MB / 0.731 GB, free: 332 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002537/0.8485, allocations: 262.6 kB / 0.7313 GB, free: 68 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000165/0.8487, allocations: 51.98 kB / 0.7313 GB, free: 16 kB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.8487, allocations: 7.953 kB / 0.7313 GB, free: 8 kB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003586/0.8523, allocations: 1.979 MB / 0.7333 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.8523, allocations: 6.344 kB / 0.7333 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007276/0.8596, allocations: 2.311 MB / 0.7355 GB, free: 11.7 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001045/0.8606, allocations: 207.7 kB / 0.7357 GB, free: 11.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004827/0.8655, allocations: 2.623 MB / 0.7383 GB, free: 8.852 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002382/0.8679, allocations: 246.8 kB / 0.7385 GB, free: 8.609 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001435/0.868, allocations: 51.98 kB / 0.7386 GB, free: 8.559 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.000389/0.8684, allocations: 129.9 kB / 0.7387 GB, free: 8.426 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01472/0.8832, allocations: 4.951 MB / 0.7435 GB, free: 3.461 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008971/0.8841, allocations: 174.6 kB / 0.7437 GB, free: 3.289 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01487/0.899, allocations: 5.079 MB / 0.7487 GB, free: 14.18 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.392e-05/0.8991, allocations: 12 kB / 0.7487 GB, free: 14.17 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/0.8991, allocations: 4 kB / 0.7487 GB, free: 14.17 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.135e-05/0.8991, allocations: 3.984 kB / 0.7487 GB, free: 14.16 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.01865/0.9178, allocations: 7.449 MB / 0.756 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.297e-05/0.9179, allocations: 3.188 kB / 0.756 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001241/0.9191, allocations: 179.8 kB / 0.7561 GB, free: 6.414 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006413/0.9255, allocations: 1.995 MB / 0.7581 GB, free: 4.418 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003376/0.9259, allocations: 11.98 kB / 0.7581 GB, free: 4.406 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3509/1.277, allocations: 7.707 MB / 0.7656 GB, free: 135.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/1.277, allocations: 0 / 0.7656 GB, free: 135.4 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01695/1.294, allocations: 6.163 MB / 0.7716 GB, free: 135.1 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000847/1.295, allocations: 290.1 kB / 0.7719 GB, free: 134.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000303/1.295, allocations: 7.562 kB / 0.7719 GB, free: 134.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001759/1.297, allocations: 187.6 kB / 0.7721 GB, free: 134.9 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007941/1.298, allocations: 272.1 kB / 0.7724 GB, free: 134.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001016/1.298, allocations: 36.12 kB / 0.7724 GB, free: 134.9 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001204/1.299, allocations: 0.8676 MB / 0.7732 GB, free: 134.8 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.342e-06/1.299, allocations: 0 / 0.7732 GB, free: 134.8 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002095/1.301, allocations: 0.7553 MB / 0.774 GB, free: 134.8 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.01663/1.318, allocations: 6.961 MB / 0.7808 GB, free: 133.6 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0147/1.333, allocations: 4.259 MB / 0.7849 GB, free: 133.4 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.515e-06/1.333, allocations: 0 / 0.7849 GB, free: 133.4 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.005767/1.338, allocations: 1.896 MB / 0.7868 GB, free: 133.2 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001388/1.34, allocations: 113.4 kB / 0.7869 GB, free: 133.2 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006175/1.346, allocations: 2.936 MB / 0.7898 GB, free: 132.2 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008593/1.347, allocations: 1.344 MB / 0.7911 GB, free: 131.5 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001253/1.348, allocations: 282 kB / 0.7913 GB, free: 131.4 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007033/1.349, allocations: 0.6605 MB / 0.792 GB, free: 131.4 MB / 0.5573 GB Notification: Performance of SimCode: time 1.182e-06/1.349, allocations: 0 / 0.792 GB, free: 131.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0869/1.436, allocations: 45.59 MB / 0.8365 GB, free: 128.7 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001351/1.436, allocations: 118.1 kB / 0.8366 GB, free: 128.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.723/5.159, allocations: 3.188 kB / 0.8366 GB, free: 128.5 MB / 0.5573 GB (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_IEESGO_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_IEESGO.fmu > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.pipe 2>&1)