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/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.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 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: translateModel(OpenIPSL.Tests.Controls.PSSE.TG.IEESGO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO") translateModel(OpenIPSL.Tests.Controls.PSSE.TG.IEESGO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009324/0.0009324, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.39/1.39, allocations: 223.3 MB / 239.4 MB, free: 5.492 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.001426/0.001426, allocations: 179.5 kB / 290.6 MB, free: 2.168 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5577/0.5577, allocations: 91.92 MB / 433.6 MB, free: 10.25 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003894/0.0003893, allocations: 8 kB / 0.5048 GB, free: 7.254 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.413/0.4134, allocations: 72.46 MB / 0.5755 GB, free: 36.75 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.IEESGO): time 0.006978/0.4205, allocations: 8.605 MB / 0.5839 GB, free: 30.82 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00586/0.4264, allocations: 2.783 MB / 0.5866 GB, free: 28.85 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00204/0.4285, allocations: 18.66 kB / 0.5867 GB, free: 28.84 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001402/0.4299, allocations: 277.4 kB / 0.5869 GB, free: 28.73 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003661/0.4336, allocations: 0.9365 MB / 0.5878 GB, free: 28.12 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002075/0.4357, allocations: 0.8535 MB / 0.5887 GB, free: 27.64 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003667/0.4393, allocations: 2.366 MB / 0.591 GB, free: 26.53 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008656/0.4402, allocations: 470.2 kB / 0.5914 GB, free: 26.29 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001766/0.442, allocations: 0.8396 MB / 0.5923 GB, free: 25.92 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001498/0.4435, allocations: 1.084 MB / 0.5933 GB, free: 25.43 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002727/0.4438, allocations: 95.16 kB / 0.5934 GB, free: 25.43 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008589/0.4447, allocations: 326.5 kB / 0.5937 GB, free: 25.35 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003704/0.445, allocations: 396.1 kB / 0.5941 GB, free: 25.13 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008563/0.4459, allocations: 0.9134 MB / 0.595 GB, free: 24.52 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002417/0.4483, allocations: 2.435 MB / 0.5974 GB, free: 23.67 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.4483, allocations: 0 / 0.5974 GB, free: 23.67 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4484, allocations: 0 / 0.5974 GB, free: 23.67 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.32e-05/0.4484, allocations: 0 / 0.5974 GB, free: 23.67 MB / 430.1 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.01365/0.462, allocations: 3.637 MB / 0.6009 GB, free: 22.25 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/0.4621, allocations: 13.34 kB / 0.6009 GB, free: 22.24 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005421/0.4675, allocations: 0.7834 MB / 0.6017 GB, free: 22.06 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003143/0.4707, allocations: 1.234 MB / 0.6029 GB, free: 21.29 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005897/0.4713, allocations: 0.5826 MB / 0.6035 GB, free: 20.73 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003297/0.4717, allocations: 136.2 kB / 0.6036 GB, free: 20.68 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003653/0.4753, allocations: 1.673 MB / 0.6052 GB, free: 20.04 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.556e-05/0.4754, allocations: 0.7031 kB / 0.6052 GB, free: 20.04 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001388/0.4755, allocations: 45.91 kB / 0.6053 GB, free: 20 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.907e-05/0.4755, allocations: 30.5 kB / 0.6053 GB, free: 20 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003703/0.4793, allocations: 1.592 MB / 0.6069 GB, free: 19.48 MB / 430.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.01082/0.4901, allocations: 5.702 MB / 0.6124 GB, free: 16.31 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0101/0.5002, allocations: 3.706 MB / 0.6161 GB, free: 14.98 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002614/0.5029, allocations: 1.068 MB / 0.6171 GB, free: 14.58 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001418/0.503, allocations: 30.3 kB / 0.6171 GB, free: 14.57 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002682/0.5057, allocations: 1.239 MB / 0.6183 GB, free: 14.12 MB / 430.1 MB Notification: Performance of pre-optimization done (n=140): time 3.536e-06/0.5057, allocations: 3.938 kB / 0.6183 GB, free: 14.11 MB / 430.1 MB Notification: Performance of matching and sorting (n=140): time 0.04159/0.5473, allocations: 11.77 MB / 0.6298 GB, free: 5.461 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.956e-05/0.5474, allocations: 167.5 kB / 0.63 GB, free: 5.258 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002317/0.5498, allocations: 1.577 MB / 0.6315 GB, free: 3.676 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004305/0.5502, allocations: 57.7 kB / 0.6316 GB, free: 3.613 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003759/0.5506, allocations: 0.6832 MB / 0.6323 GB, free: 2.918 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004632/0.5511, allocations: 0.5006 MB / 0.6327 GB, free: 2.41 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002213/0.5513, allocations: 185.6 kB / 0.6329 GB, free: 2.223 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.836e-05/0.5513, allocations: 309 kB / 0.6332 GB, free: 1.918 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002174/0.5535, allocations: 1.132 MB / 0.6343 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002491/0.556, allocations: 1.351 MB / 0.6356 GB, free: 15.37 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005089/0.5611, allocations: 2.433 MB / 0.638 GB, free: 12.88 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.752e-06/0.5611, allocations: 0 / 0.638 GB, free: 12.88 MB / 446.1 MB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01957/0.5807, allocations: 6.662 MB / 0.6445 GB, free: 6.188 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001892/0.5809, allocations: 229 kB / 0.6447 GB, free: 5.906 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/0.581, allocations: 4 kB / 0.6447 GB, free: 5.902 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009981/0.591, allocations: 2.955 MB / 0.6476 GB, free: 2.945 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001725/0.5927, allocations: 327.5 kB / 0.6479 GB, free: 2.625 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007445/0.6002, allocations: 3.236 MB / 0.6511 GB, free: 15.36 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003028/0.6032, allocations: 346 kB / 0.6514 GB, free: 15.02 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002763/0.6035, allocations: 67.98 kB / 0.6515 GB, free: 14.95 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.6036, allocations: 8 kB / 0.6515 GB, free: 14.95 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01921/0.6228, allocations: 6.459 MB / 0.6578 GB, free: 8.473 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.059e-05/0.6229, allocations: 4 kB / 0.6578 GB, free: 8.469 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009909/0.6328, allocations: 2.936 MB / 0.6607 GB, free: 5.527 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001724/0.6346, allocations: 319.6 kB / 0.661 GB, free: 5.215 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007342/0.6419, allocations: 3.213 MB / 0.6641 GB, free: 1.973 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002725/0.6447, allocations: 322.3 kB / 0.6644 GB, free: 1.656 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000227/0.6449, allocations: 71.97 kB / 0.6645 GB, free: 1.586 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (187): * Single equations (assignments): 185 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * 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 {(29,44)} Notification: Performance of prepare postOptimizeDAE: time 0.0008579/0.6458, allocations: 411.2 kB / 0.6649 GB, free: 1.176 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004038/0.6462, allocations: 177.8 kB / 0.6651 GB, free: 1 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01853/0.6647, allocations: 6.032 MB / 0.671 GB, free: 10.95 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.15e-05/0.6648, allocations: 15.98 kB / 0.671 GB, free: 10.93 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.218e-05/0.6648, allocations: 4 kB / 0.671 GB, free: 10.93 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.462e-05/0.6649, allocations: 11.91 kB / 0.671 GB, free: 10.91 MB / 478.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 postOpt removeSimpleEquations (simulation): time 0.02315/0.688, allocations: 8.504 MB / 0.6793 GB, free: 2.277 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.471e-05/0.6881, allocations: 0 / 0.6793 GB, free: 2.277 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001251/0.6893, allocations: 191.7 kB / 0.6795 GB, free: 2.09 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008299/0.6977, allocations: 2.509 MB / 0.6819 GB, free: 15.57 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003119/0.698, allocations: 32 kB / 0.6819 GB, free: 15.54 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02645/0.7245, allocations: 10.31 MB / 0.692 GB, free: 5.086 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.7245, allocations: 0 / 0.692 GB, free: 5.086 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02231/0.7468, allocations: 7.336 MB / 0.6992 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001211/0.7481, allocations: 310.5 kB / 0.6995 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004307/0.7486, allocations: 28 kB / 0.6995 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002001/0.7506, allocations: 207.8 kB / 0.6997 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009573/0.7515, allocations: 265.3 kB / 0.7 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001147/0.7517, allocations: 39.98 kB / 0.7 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001972/0.7536, allocations: 1.068 MB / 0.701 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7537, allocations: 4 kB / 0.701 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002541/0.7562, allocations: 0.9049 MB / 0.7019 GB, free: 10.89 MB / 0.4981 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(26,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004044/0.7566, allocations: 175 kB / 0.7021 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01798/0.7746, allocations: 5.811 MB / 0.7078 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.748e-06/0.7747, allocations: 0 / 0.7078 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.007408/0.7821, allocations: 2.261 MB / 0.71 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001823/0.7839, allocations: 168.9 kB / 0.7101 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007231/0.7912, allocations: 4.222 MB / 0.7143 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009098/0.7921, allocations: 1.308 MB / 0.7155 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001153/0.7933, allocations: 207.1 kB / 0.7157 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004001/0.7937, allocations: 103.4 kB / 0.7158 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of SimCode: time 1.272e-06/0.7937, allocations: 0 / 0.7158 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of Templates: time 0.05571/0.8494, allocations: 34.4 MB / 0.7494 GB, free: 10.16 MB / 0.545 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.makefile (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 & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEESGO.pipe 2>&1)