Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.IEESGO,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_IEESGO",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.IEESGO,fileNamePrefix="OpenIPSL_2_0_0_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 3.2.3+maint.om/package.mo): time 0.001069/0.001068, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.377/1.377, allocations: 205.2 MB / 218.5 MB, free: 9.215 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009153/0.0009155, allocations: 98.88 kB / 266.6 MB, free: 9.262 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07563/0.07563, allocations: 12.19 MB / 326.9 MB, free: 12.88 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2806/0.2806, allocations: 78.02 MB / 455.7 MB, free: 15.35 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.22e-05/3.232e-05, allocations: 4 kB / 0.5213 GB, free: 24.12 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1231, allocations: 69.23 MB / 0.5889 GB, free: 2.945 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4121/0.5352, allocations: 113.1 MB / 0.6994 GB, free: 3.301 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002345/0.5355, allocations: 84.45 kB / 0.6995 GB, free: 3.258 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1241/0.6596, allocations: 46.64 MB / 0.745 GB, free: 12.21 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.886e-06/0.6596, allocations: 0 / 0.745 GB, free: 12.21 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000113/0.6597, allocations: 35.94 kB / 0.745 GB, free: 12.17 MB / 490.7 MB 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.005788/0.6655, allocations: 2.245 MB / 0.7472 GB, free: 10.02 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.292e-05/0.6656, allocations: 11.98 kB / 0.7473 GB, free: 10.01 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002392/0.6659, allocations: 179.1 kB / 0.7474 GB, free: 9.902 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002913/0.6688, allocations: 0.5775 MB / 0.748 GB, free: 9.359 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001893/0.6707, allocations: 1.082 MB / 0.749 GB, free: 8.496 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005976/0.6713, allocations: 0.57 MB / 0.7496 GB, free: 7.871 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002229/0.6715, allocations: 120.9 kB / 0.7497 GB, free: 7.793 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002393/0.6739, allocations: 1.372 MB / 0.7511 GB, free: 6.875 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.306e-05/0.674, allocations: 0 / 0.7511 GB, free: 6.875 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001349/0.6741, allocations: 43.38 kB / 0.7511 GB, free: 6.867 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.589e-05/0.6741, allocations: 31.95 kB / 0.7511 GB, free: 6.836 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002227/0.6764, allocations: 1.261 MB / 0.7524 GB, free: 6.047 MB / 490.7 MB 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.01046/0.6869, allocations: 5.584 MB / 0.7578 GB, free: 1.617 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008309/0.6952, allocations: 3.31 MB / 0.761 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00152/0.6968, allocations: 0.7764 MB / 0.7618 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001602/0.6969, allocations: 29.3 kB / 0.7618 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001595/0.6985, allocations: 0.951 MB / 0.7628 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=139): time 3.436e-06/0.6986, allocations: 0 / 0.7628 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of matching and sorting (n=139): time 0.01556/0.7141, allocations: 5.043 MB / 0.7677 GB, free: 7.316 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.697e-05/0.7143, allocations: 171.5 kB / 0.7678 GB, free: 7.105 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00222/0.7165, allocations: 1.283 MB / 0.7691 GB, free: 5.82 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000374/0.7169, allocations: 49.7 kB / 0.7691 GB, free: 5.766 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005738/0.7175, allocations: 0.7073 MB / 0.7698 GB, free: 5.051 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006164/0.7181, allocations: 0.4929 MB / 0.7703 GB, free: 4.551 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.7182, allocations: 28 kB / 0.7703 GB, free: 4.523 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001619/0.7184, allocations: 361.9 kB / 0.7707 GB, free: 4.164 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001225/0.7196, allocations: 0.6562 MB / 0.7713 GB, free: 3.508 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001318/0.7209, allocations: 0.8403 MB / 0.7722 GB, free: 2.613 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001267/0.7222, allocations: 0.7495 MB / 0.7729 GB, free: 1.863 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/0.7222, allocations: 0 / 0.7729 GB, free: 1.863 MB / 0.4948 GB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004328/0.7266, allocations: 2.363 MB / 0.7752 GB, free: 15.48 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006253/0.7272, allocations: 1.483 MB / 0.7766 GB, free: 13.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/0.7272, allocations: 4 kB / 0.7766 GB, free: 13.87 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007845/0.7351, allocations: 2.437 MB / 0.779 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001095/0.7362, allocations: 215.7 kB / 0.7792 GB, free: 11.21 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005482/0.7417, allocations: 2.455 MB / 0.7816 GB, free: 8.734 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002349/0.744, allocations: 298.5 kB / 0.7819 GB, free: 8.441 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001485/0.7442, allocations: 51.98 kB / 0.782 GB, free: 8.391 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.7442, allocations: 4 kB / 0.782 GB, free: 8.387 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003832/0.7481, allocations: 2.168 MB / 0.7841 GB, free: 6.207 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.7481, allocations: 4 kB / 0.7841 GB, free: 6.203 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007593/0.7557, allocations: 2.449 MB / 0.7865 GB, free: 3.75 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001035/0.7568, allocations: 211.6 kB / 0.7867 GB, free: 3.543 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004636/0.7614, allocations: 2.447 MB / 0.7891 GB, free: 1.066 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0024/0.7638, allocations: 282.6 kB / 0.7893 GB, free: 0.7891 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001387/0.764, allocations: 55.92 kB / 0.7894 GB, free: 0.7344 MB / 0.5105 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 (118): * Single equations (assignments): 116 * 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.0004048/0.7644, allocations: 180.7 kB / 0.7896 GB, free: 0.5508 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000335/0.7647, allocations: 177.8 kB / 0.7897 GB, free: 384 kB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01484/0.7796, allocations: 5.21 MB / 0.7948 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-05/0.7797, allocations: 12 kB / 0.7948 GB, free: 11.13 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/0.7797, allocations: 4 kB / 0.7948 GB, free: 11.13 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.32e-05/0.7798, allocations: 7.969 kB / 0.7948 GB, free: 11.12 MB / 0.5261 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.01896/0.7987, allocations: 7.691 MB / 0.8024 GB, free: 3.297 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.93e-05/0.7988, allocations: 4 kB / 0.8024 GB, free: 3.293 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001289/0.8001, allocations: 179.8 kB / 0.8025 GB, free: 3.117 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006581/0.8067, allocations: 2.013 MB / 0.8045 GB, free: 1.098 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003606/0.8071, allocations: 35.94 kB / 0.8045 GB, free: 1.062 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01802/0.8251, allocations: 7.845 MB / 0.8122 GB, free: 9.086 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.8252, allocations: 0 / 0.8122 GB, free: 9.086 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01747/0.8427, allocations: 6.281 MB / 0.8183 GB, free: 2.75 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008197/0.8435, allocations: 294.6 kB / 0.8186 GB, free: 2.441 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003421/0.8439, allocations: 31.98 kB / 0.8186 GB, free: 2.41 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001833/0.8457, allocations: 203.8 kB / 0.8188 GB, free: 2.211 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008667/0.8466, allocations: 277.2 kB / 0.8191 GB, free: 1.938 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001169/0.8467, allocations: 35.98 kB / 0.8191 GB, free: 1.902 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001518/0.8482, allocations: 0.9858 MB / 0.8201 GB, free: 0.9219 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8483, allocations: 0 / 0.8201 GB, free: 0.9219 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002051/0.8503, allocations: 0.8306 MB / 0.8209 GB, free: 92 kB / 0.5417 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.01783/0.8682, allocations: 7.114 MB / 0.8279 GB, free: 8.922 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01341/0.8816, allocations: 4.404 MB / 0.8322 GB, free: 4.496 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.747e-06/0.8817, allocations: 0.9375 kB / 0.8322 GB, free: 4.496 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.006088/0.8878, allocations: 1.955 MB / 0.8341 GB, free: 2.527 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001638/0.8894, allocations: 141.8 kB / 0.8342 GB, free: 2.387 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008287/0.8978, allocations: 3.069 MB / 0.8372 GB, free: 15.26 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001241/0.899, allocations: 1.349 MB / 0.8385 GB, free: 13.87 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001776/0.9008, allocations: 286.9 kB / 0.8388 GB, free: 13.59 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009422/0.9018, allocations: 0.6672 MB / 0.8394 GB, free: 12.92 MB / 0.573 GB Notification: Performance of SimCode: time 1.322e-06/0.9018, allocations: 0 / 0.8394 GB, free: 12.92 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3932/1.295, allocations: 49.43 MB / 0.8877 GB, free: 182.9 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000187/1.295, allocations: 170.2 kB / 0.8879 GB, free: 182.7 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.734/5.029, allocations: 3.938 kB / 0.8879 GB, free: 182.7 MB / 0.5886 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_IEESGO_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_IEESGO.fmu > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.pipe 2>&1)