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.001153/0.001153, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.232/1.232, allocations: 223.2 MB / 238.9 MB, free: 5.477 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.001213/0.001213, allocations: 193 kB / 290.2 MB, free: 2.16 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4324/0.4324, allocations: 79.45 MB / 420.7 MB, free: 3.984 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003384/0.0003385, allocations: 16 kB / 0.489 GB, free: 5.613 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1175, allocations: 69.52 MB / 0.5569 GB, free: 44 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.TG.IEESGO): time 0.2215/0.339, allocations: 7.688 MB / 0.5644 GB, free: 36.95 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005961/0.345, allocations: 2.721 MB / 0.567 GB, free: 36.28 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002173/0.3473, allocations: 17.09 kB / 0.5671 GB, free: 36.28 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001081/0.3484, allocations: 248.5 kB / 0.5673 GB, free: 36.17 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002835/0.3512, allocations: 0.9363 MB / 0.5682 GB, free: 35.55 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001777/0.353, allocations: 0.728 MB / 0.5689 GB, free: 35.21 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002669/0.3557, allocations: 1.508 MB / 0.5704 GB, free: 34.39 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006793/0.3564, allocations: 408.5 kB / 0.5708 GB, free: 34.25 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001361/0.3577, allocations: 0.8307 MB / 0.5716 GB, free: 33.88 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001366/0.3591, allocations: 1.036 MB / 0.5726 GB, free: 33.44 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003546/0.3595, allocations: 99.09 kB / 0.5727 GB, free: 33.44 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008762/0.3604, allocations: 295.2 kB / 0.573 GB, free: 33.38 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003139/0.3607, allocations: 385.4 kB / 0.5734 GB, free: 33.17 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004167/0.3611, allocations: 325.1 kB / 0.5737 GB, free: 32.96 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001715/0.3628, allocations: 1.891 MB / 0.5755 GB, free: 32.45 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3629, allocations: 0.6562 kB / 0.5755 GB, free: 32.45 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.966e-06/0.3629, allocations: 1.406 kB / 0.5755 GB, free: 32.45 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.897e-05/0.3629, allocations: 0.6875 kB / 0.5755 GB, free: 32.45 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.0127/0.3756, allocations: 3.665 MB / 0.5791 GB, free: 31.07 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.3757, allocations: 10.84 kB / 0.5791 GB, free: 31.07 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00482/0.3805, allocations: 0.7811 MB / 0.5799 GB, free: 30.89 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002571/0.3831, allocations: 1.18 MB / 0.581 GB, free: 30.17 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004649/0.3836, allocations: 0.5778 MB / 0.5816 GB, free: 29.62 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000229/0.3838, allocations: 134.3 kB / 0.5817 GB, free: 29.57 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002982/0.3868, allocations: 1.656 MB / 0.5833 GB, free: 28.93 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.122e-05/0.3868, allocations: 0 / 0.5833 GB, free: 28.93 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001289/0.387, allocations: 43.88 kB / 0.5834 GB, free: 28.89 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.787e-05/0.387, allocations: 27.06 kB / 0.5834 GB, free: 28.89 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003071/0.3901, allocations: 1.589 MB / 0.5849 GB, free: 28.37 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.01085/0.4009, allocations: 5.828 MB / 0.5906 GB, free: 25.07 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009816/0.4108, allocations: 3.692 MB / 0.5942 GB, free: 23.77 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003423/0.4112, allocations: 31.81 kB / 0.5943 GB, free: 23.76 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003622/0.4148, allocations: 1.225 MB / 0.5955 GB, free: 23.32 MB / 430.1 MB Notification: Performance of pre-optimization done (n=140): time 6.352e-06/0.4149, allocations: 0 / 0.5955 GB, free: 23.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=140): time 0.04665/0.4615, allocations: 11.7 MB / 0.6069 GB, free: 21.41 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001066/0.4617, allocations: 170 kB / 0.6071 GB, free: 21.23 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004231/0.4659, allocations: 1.577 MB / 0.6086 GB, free: 20.61 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005401/0.4665, allocations: 52.14 kB / 0.6086 GB, free: 20.56 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006909/0.4672, allocations: 0.6786 MB / 0.6093 GB, free: 20.02 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009398/0.4681, allocations: 0.5044 MB / 0.6098 GB, free: 19.61 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003844/0.4685, allocations: 40.69 kB / 0.6098 GB, free: 19.57 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.4687, allocations: 378.3 kB / 0.6102 GB, free: 19.21 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00282/0.4715, allocations: 1.124 MB / 0.6113 GB, free: 18.68 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002813/0.4744, allocations: 1.332 MB / 0.6126 GB, free: 17.93 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002805/0.4772, allocations: 1.229 MB / 0.6138 GB, free: 17.31 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.234e-05/0.4772, allocations: 1.375 kB / 0.6138 GB, free: 17.31 MB / 430.1 MB Notification: Performance of matching and sorting (n=259) (initialization): time 0.0112/0.4884, allocations: 4.569 MB / 0.6183 GB, free: 13.59 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003883/0.4888, allocations: 1.38 MB / 0.6196 GB, free: 12.08 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.956e-05/0.4889, allocations: 4.547 kB / 0.6196 GB, free: 12.08 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008723/0.4976, allocations: 2.958 MB / 0.6225 GB, free: 9.117 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001714/0.4994, allocations: 323.5 kB / 0.6228 GB, free: 8.801 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006736/0.5061, allocations: 3.228 MB / 0.626 GB, free: 5.547 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002825/0.509, allocations: 350.7 kB / 0.6263 GB, free: 5.203 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003654/0.5094, allocations: 67.98 kB / 0.6264 GB, free: 5.137 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.5094, allocations: 7.938 kB / 0.6264 GB, free: 5.129 MB / 430.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01004/0.5195, allocations: 4.361 MB / 0.6306 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.524e-05/0.5195, allocations: 0 / 0.6306 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009508/0.529, allocations: 2.942 MB / 0.6335 GB, free: 13.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001725/0.5308, allocations: 324.3 kB / 0.6338 GB, free: 13.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007303/0.5381, allocations: 3.202 MB / 0.6369 GB, free: 10.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002729/0.5409, allocations: 310.4 kB / 0.6372 GB, free: 9.965 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003556/0.5413, allocations: 67.98 kB / 0.6373 GB, free: 9.898 MB / 446.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 ($whenCondition1,$whenCondition2) * 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 (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 44} Notification: Performance of prepare postOptimizeDAE: time 0.001077/0.5424, allocations: 412.7 kB / 0.6377 GB, free: 9.484 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006162/0.543, allocations: 182.4 kB / 0.6379 GB, free: 9.305 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01751/0.5605, allocations: 6.017 MB / 0.6437 GB, free: 3.27 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.606e-05/0.5606, allocations: 16 kB / 0.6438 GB, free: 3.254 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/0.5606, allocations: 0 / 0.6438 GB, free: 3.254 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.873e-05/0.5607, allocations: 6.328 kB / 0.6438 GB, free: 3.25 MB / 446.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.02184/0.5825, allocations: 8.554 MB / 0.6521 GB, free: 10.54 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.545e-05/0.5826, allocations: 0 / 0.6521 GB, free: 10.54 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00118/0.5837, allocations: 191.7 kB / 0.6523 GB, free: 10.35 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00795/0.5917, allocations: 2.511 MB / 0.6547 GB, free: 7.836 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003344/0.5921, allocations: 32.69 kB / 0.6548 GB, free: 7.805 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02612/0.6182, allocations: 10.88 MB / 0.6654 GB, free: 12.79 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.6183, allocations: 0 / 0.6654 GB, free: 12.79 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02062/0.6389, allocations: 7.368 MB / 0.6726 GB, free: 5.359 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006829/0.6396, allocations: 299.2 kB / 0.6729 GB, free: 5.047 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005649/0.6402, allocations: 28 kB / 0.6729 GB, free: 5.02 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002068/0.6423, allocations: 207.8 kB / 0.6731 GB, free: 4.816 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008548/0.6431, allocations: 278.1 kB / 0.6734 GB, free: 4.547 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001783/0.6433, allocations: 40.81 kB / 0.6734 GB, free: 4.508 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00189/0.6452, allocations: 1.053 MB / 0.6744 GB, free: 3.461 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.303e-06/0.6452, allocations: 0 / 0.6744 GB, free: 3.461 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002598/0.6478, allocations: 0.9166 MB / 0.6753 GB, free: 2.543 MB / 478.1 MB 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 (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.0003536/0.6482, allocations: 163 kB / 0.6755 GB, free: 2.371 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01673/0.6649, allocations: 5.795 MB / 0.6812 GB, free: 12.56 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.523e-06/0.665, allocations: 0 / 0.6812 GB, free: 12.56 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006815/0.6718, allocations: 2.26 MB / 0.6834 GB, free: 10.29 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001394/0.6733, allocations: 142.8 kB / 0.6835 GB, free: 10.14 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007328/0.6806, allocations: 4.074 MB / 0.6875 GB, free: 6.117 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009174/0.6816, allocations: 1.346 MB / 0.6888 GB, free: 4.738 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00105/0.6826, allocations: 199.8 kB / 0.689 GB, free: 4.543 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004175/0.6831, allocations: 99.42 kB / 0.6891 GB, free: 4.445 MB / 494.1 MB Notification: Performance of SimCode: time 6.81e-07/0.6831, allocations: 0 / 0.6891 GB, free: 4.445 MB / 494.1 MB Notification: Performance of Templates: time 0.05003/0.7331, allocations: 33.28 MB / 0.7216 GB, free: 3.305 MB / 0.5137 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)