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-master/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-master/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: translateModel(OpenIPSL.Tests.Controls.PSSE.TG.IEESGO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO") translateModel(OpenIPSL.Tests.Controls.PSSE.TG.IEESGO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009908/0.0009908, allocations: 174.7 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.241/1.241, allocations: 205.2 MB / 218.5 MB, free: 9.219 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.0008694/0.0008694, allocations: 80.17 kB / 266.6 MB, free: 9.285 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06496/0.06496, allocations: 12.59 MB / 327.3 MB, free: 12.49 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.2873/0.2873, allocations: 78.02 MB / 456.1 MB, free: 14.93 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.51e-05/2.514e-05, allocations: 4 kB / 0.5218 GB, free: 23.77 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09684/0.09688, allocations: 69.33 MB / 0.5895 GB, free: 2.488 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3695/0.4665, allocations: 113.2 MB / 0.7 GB, free: 2.375 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002318/0.4667, allocations: 86.83 kB / 0.7001 GB, free: 2.328 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1283/0.595, allocations: 46.63 MB / 0.7456 GB, free: 11.28 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.5951, allocations: 4 kB / 0.7456 GB, free: 11.28 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001029/0.5952, allocations: 35.94 kB / 0.7457 GB, free: 11.24 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.005797/0.601, allocations: 2.239 MB / 0.7478 GB, free: 9.102 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.601, allocations: 19.98 kB / 0.7479 GB, free: 9.082 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003112/0.6041, allocations: 0.5714 MB / 0.7484 GB, free: 8.547 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001879/0.606, allocations: 1.081 MB / 0.7495 GB, free: 7.684 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005849/0.6066, allocations: 0.5775 MB / 0.75 GB, free: 7.051 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000319/0.607, allocations: 114.6 kB / 0.7502 GB, free: 6.977 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002391/0.6094, allocations: 1.373 MB / 0.7515 GB, free: 6.059 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.175e-05/0.6094, allocations: 0 / 0.7515 GB, free: 6.059 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001396/0.6096, allocations: 41.94 kB / 0.7515 GB, free: 6.051 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.247e-05/0.6096, allocations: 31.95 kB / 0.7516 GB, free: 6.02 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002263/0.6118, allocations: 1.26 MB / 0.7528 GB, free: 5.234 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.009829/0.6217, allocations: 5.57 MB / 0.7582 GB, free: 0.9492 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008522/0.6302, allocations: 3.318 MB / 0.7615 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001381/0.6317, allocations: 0.7803 MB / 0.7622 GB, free: 12.7 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000165/0.6318, allocations: 21.3 kB / 0.7623 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001711/0.6336, allocations: 0.9513 MB / 0.7632 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=139): time 3.998e-06/0.6336, allocations: 4 kB / 0.7632 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=139): time 0.01571/0.6493, allocations: 5.043 MB / 0.7681 GB, free: 6.637 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.365e-05/0.6494, allocations: 179.5 kB / 0.7683 GB, free: 6.422 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001952/0.6514, allocations: 1.271 MB / 0.7695 GB, free: 5.148 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002042/0.6516, allocations: 53.7 kB / 0.7696 GB, free: 5.09 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005165/0.6521, allocations: 0.7111 MB / 0.7703 GB, free: 4.371 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000492/0.6526, allocations: 0.489 MB / 0.7708 GB, free: 3.875 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/0.6527, allocations: 28 kB / 0.7708 GB, free: 3.848 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.6529, allocations: 365.9 kB / 0.7711 GB, free: 3.484 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001175/0.6541, allocations: 0.6523 MB / 0.7718 GB, free: 2.832 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001314/0.6554, allocations: 0.8442 MB / 0.7726 GB, free: 1.934 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001285/0.6567, allocations: 0.7534 MB / 0.7733 GB, free: 1.18 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.6567, allocations: 0 / 0.7733 GB, free: 1.18 MB / 0.4948 GB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004361/0.6611, allocations: 2.359 MB / 0.7756 GB, free: 14.8 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004677/0.6616, allocations: 1.479 MB / 0.7771 GB, free: 13.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.6616, allocations: 4 kB / 0.7771 GB, free: 13.19 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007871/0.6695, allocations: 2.44 MB / 0.7795 GB, free: 10.75 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001008/0.6705, allocations: 219.7 kB / 0.7797 GB, free: 10.53 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004734/0.6752, allocations: 2.455 MB / 0.7821 GB, free: 8.047 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002173/0.6774, allocations: 306.5 kB / 0.7824 GB, free: 7.746 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001555/0.6776, allocations: 55.92 kB / 0.7824 GB, free: 7.691 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/0.6776, allocations: 4 kB / 0.7824 GB, free: 7.688 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003893/0.6815, allocations: 2.169 MB / 0.7845 GB, free: 5.508 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.6815, allocations: 4 kB / 0.7845 GB, free: 5.504 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007808/0.6894, allocations: 2.433 MB / 0.7869 GB, free: 3.066 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009563/0.6903, allocations: 211.7 kB / 0.7871 GB, free: 2.859 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00456/0.6949, allocations: 2.447 MB / 0.7895 GB, free: 396 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002023/0.697, allocations: 286.6 kB / 0.7898 GB, free: 108 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001506/0.6971, allocations: 51.98 kB / 0.7898 GB, free: 56 kB / 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.000359/0.6975, allocations: 176.7 kB / 0.79 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003188/0.6978, allocations: 181.8 kB / 0.7902 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01549/0.7133, allocations: 5.206 MB / 0.7953 GB, free: 10.47 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.717e-05/0.7134, allocations: 16 kB / 0.7953 GB, free: 10.45 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.7134, allocations: 3.938 kB / 0.7953 GB, free: 10.45 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.409e-05/0.7134, allocations: 11.97 kB / 0.7953 GB, free: 10.44 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.01861/0.732, allocations: 7.687 MB / 0.8028 GB, free: 2.617 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.113e-06/0.732, allocations: 0 / 0.8028 GB, free: 2.617 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001056/0.7331, allocations: 183.8 kB / 0.803 GB, free: 2.438 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006413/0.7395, allocations: 2.005 MB / 0.8049 GB, free: 436 kB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000178/0.7397, allocations: 35.98 kB / 0.805 GB, free: 400 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01798/0.7577, allocations: 7.845 MB / 0.8126 GB, free: 8.414 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.7578, allocations: 0 / 0.8126 GB, free: 8.414 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01704/0.7748, allocations: 6.28 MB / 0.8188 GB, free: 2.078 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005785/0.7754, allocations: 294.6 kB / 0.819 GB, free: 1.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002947/0.7757, allocations: 31.98 kB / 0.8191 GB, free: 1.738 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00182/0.7775, allocations: 207.8 kB / 0.8193 GB, free: 1.535 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008104/0.7784, allocations: 277.2 kB / 0.8195 GB, free: 1.262 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001394/0.7785, allocations: 43.98 kB / 0.8196 GB, free: 1.219 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001432/0.78, allocations: 0.982 MB / 0.8205 GB, free: 248 kB / 0.5417 GB Notification: Performance of sort global known variables: time 2.8e-07/0.78, allocations: 0 / 0.8205 GB, free: 248 kB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002066/0.7821, allocations: 0.8229 MB / 0.8213 GB, free: 15.41 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.0004018/0.7825, allocations: 190.8 kB / 0.8215 GB, free: 15.22 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01314/0.7956, allocations: 4.408 MB / 0.8258 GB, free: 10.8 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/0.7957, allocations: 4.062 kB / 0.8258 GB, free: 10.79 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.005825/0.8015, allocations: 1.955 MB / 0.8277 GB, free: 8.82 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00111/0.8026, allocations: 142.5 kB / 0.8279 GB, free: 8.68 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005447/0.8081, allocations: 2.74 MB / 0.8305 GB, free: 5.898 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009181/0.809, allocations: 1.349 MB / 0.8319 GB, free: 4.512 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001539/0.8106, allocations: 290.9 kB / 0.8321 GB, free: 4.223 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003048/0.8109, allocations: 79.36 kB / 0.8322 GB, free: 4.145 MB / 0.5573 GB Notification: Performance of SimCode: time 6.21e-07/0.8109, allocations: 0 / 0.8322 GB, free: 4.145 MB / 0.5573 GB Notification: Performance of Templates: time 0.05495/0.8659, allocations: 34.8 MB / 0.8662 GB, free: 1.332 MB / 0.5886 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.makefile (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 & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.pipe 2>&1)