Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.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.ES.SCRX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.SCRX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 99.86 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.287/1.287, allocations: 223.2 MB / 238.9 MB, free: 5.645 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.001083/0.001083, allocations: 196.2 kB / 290.2 MB, free: 2.332 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4333/0.4333, allocations: 79.46 MB / 420.7 MB, free: 4.02 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003369/0.0003369, allocations: 16 kB / 0.489 GB, free: 5.625 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1302, allocations: 69.51 MB / 0.5569 GB, free: 56 kB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SCRX): time 0.2129/0.3431, allocations: 7.228 MB / 0.5639 GB, free: 37.23 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005706/0.3489, allocations: 2.517 MB / 0.5664 GB, free: 36.82 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0015/0.3504, allocations: 14 kB / 0.5664 GB, free: 36.82 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008821/0.3513, allocations: 219.4 kB / 0.5666 GB, free: 36.74 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002504/0.3538, allocations: 0.9849 MB / 0.5676 GB, free: 36.21 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001299/0.3551, allocations: 0.5567 MB / 0.5681 GB, free: 35.96 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001922/0.3571, allocations: 1.346 MB / 0.5694 GB, free: 35.24 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005083/0.3576, allocations: 353 kB / 0.5698 GB, free: 35.1 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008663/0.3585, allocations: 0.7374 MB / 0.5705 GB, free: 34.78 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009266/0.3594, allocations: 0.9685 MB / 0.5714 GB, free: 34.37 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001673/0.3596, allocations: 88.12 kB / 0.5715 GB, free: 34.37 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006318/0.3602, allocations: 292 kB / 0.5718 GB, free: 34.31 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002742/0.3605, allocations: 345.6 kB / 0.5721 GB, free: 34.12 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00024/0.3607, allocations: 291 kB / 0.5724 GB, free: 33.94 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001312/0.3621, allocations: 1.649 MB / 0.574 GB, free: 33.48 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.3621, allocations: 0.625 kB / 0.574 GB, free: 33.48 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.976e-06/0.3621, allocations: 0 / 0.574 GB, free: 33.48 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.077e-05/0.3621, allocations: 0.625 kB / 0.574 GB, free: 33.48 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.01105/0.3732, allocations: 3.344 MB / 0.5773 GB, free: 32.24 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.3732, allocations: 11.16 kB / 0.5773 GB, free: 32.24 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004574/0.3778, allocations: 0.7567 MB / 0.578 GB, free: 32.07 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002093/0.3799, allocations: 1.054 MB / 0.5791 GB, free: 31.42 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003739/0.3803, allocations: 448.9 kB / 0.5795 GB, free: 31.02 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002148/0.3805, allocations: 112.2 kB / 0.5796 GB, free: 30.98 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002684/0.3832, allocations: 1.493 MB / 0.5811 GB, free: 30.43 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.973e-05/0.3833, allocations: 2.875 kB / 0.5811 GB, free: 30.43 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001158/0.3834, allocations: 41.09 kB / 0.5811 GB, free: 30.39 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.79e-05/0.3834, allocations: 21.44 kB / 0.5811 GB, free: 30.39 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002565/0.386, allocations: 1.433 MB / 0.5825 GB, free: 29.93 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.007979/0.394, allocations: 5.136 MB / 0.5875 GB, free: 26.95 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008457/0.4025, allocations: 3.468 MB / 0.5909 GB, free: 25.7 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002308/0.4027, allocations: 27.64 kB / 0.591 GB, free: 25.69 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002244/0.405, allocations: 1.136 MB / 0.5921 GB, free: 25.28 MB / 430.1 MB Notification: Performance of pre-optimization done (n=126): time 3.557e-06/0.405, allocations: 0 / 0.5921 GB, free: 25.28 MB / 430.1 MB Notification: Performance of matching and sorting (n=126): time 0.04373/0.4487, allocations: 11.9 MB / 0.6037 GB, free: 23.41 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.985e-05/0.4488, allocations: 125.3 kB / 0.6038 GB, free: 23.28 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002422/0.4512, allocations: 1.398 MB / 0.6052 GB, free: 22.71 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004298/0.4517, allocations: 51.61 kB / 0.6052 GB, free: 22.66 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004327/0.4521, allocations: 0.5969 MB / 0.6058 GB, free: 22.19 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004792/0.4526, allocations: 462.8 kB / 0.6062 GB, free: 21.83 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001281/0.4528, allocations: 39.44 kB / 0.6063 GB, free: 21.8 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.4529, allocations: 380.2 kB / 0.6066 GB, free: 21.46 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002299/0.4552, allocations: 1.042 MB / 0.6077 GB, free: 21.09 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002358/0.4576, allocations: 1.246 MB / 0.6089 GB, free: 20.55 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002318/0.4599, allocations: 1.121 MB / 0.61 GB, free: 20.08 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.313e-06/0.4599, allocations: 1.125 kB / 0.61 GB, free: 20.08 MB / 430.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.009689/0.4696, allocations: 4.137 MB / 0.614 GB, free: 18.11 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.68e-05/0.4697, allocations: 8 kB / 0.614 GB, free: 18.1 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.548e-05/0.4697, allocations: 2.312 kB / 0.614 GB, free: 18.1 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00945/0.4791, allocations: 3.362 MB / 0.6173 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001414/0.4806, allocations: 267.6 kB / 0.6176 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006629/0.4873, allocations: 3.311 MB / 0.6208 GB, free: 11.13 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002513/0.4898, allocations: 298.3 kB / 0.6211 GB, free: 10.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001551/0.49, allocations: 60.61 kB / 0.6211 GB, free: 10.78 MB / 430.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 (161): * Single equations (assignments): 160 * 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 {34 42} Notification: Performance of prepare postOptimizeDAE: time 0.000578/0.4906, allocations: 301.5 kB / 0.6214 GB, free: 10.48 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002932/0.4909, allocations: 166.8 kB / 0.6216 GB, free: 10.31 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01536/0.5062, allocations: 5.862 MB / 0.6273 GB, free: 4.434 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.738e-05/0.5063, allocations: 12 kB / 0.6273 GB, free: 4.422 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.325e-06/0.5063, allocations: 4 kB / 0.6273 GB, free: 4.418 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-05/0.5063, allocations: 4.734 kB / 0.6273 GB, free: 4.414 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 postOpt removeSimpleEquations (simulation): time 0.01874/0.5251, allocations: 7.984 MB / 0.6351 GB, free: 12.28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.576e-05/0.5251, allocations: 0 / 0.6351 GB, free: 12.28 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000894/0.526, allocations: 143.8 kB / 0.6353 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007876/0.5339, allocations: 2.51 MB / 0.6377 GB, free: 9.621 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002664/0.5342, allocations: 33.48 kB / 0.6377 GB, free: 9.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02541/0.5596, allocations: 10.88 MB / 0.6484 GB, free: 14.56 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.5596, allocations: 1.781 kB / 0.6484 GB, free: 14.56 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01888/0.5785, allocations: 7.096 MB / 0.6553 GB, free: 7.422 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005942/0.5791, allocations: 282.6 kB / 0.6556 GB, free: 7.125 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004463/0.5796, allocations: 28.58 kB / 0.6556 GB, free: 7.098 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001761/0.5814, allocations: 183.8 kB / 0.6558 GB, free: 6.918 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007403/0.5821, allocations: 257.8 kB / 0.656 GB, free: 6.664 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001229/0.5823, allocations: 35.98 kB / 0.6561 GB, free: 6.629 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001462/0.5837, allocations: 0.9464 MB / 0.657 GB, free: 5.684 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.5837, allocations: 0 / 0.657 GB, free: 5.684 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001537/0.5853, allocations: 0.5268 MB / 0.6575 GB, free: 5.156 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 11 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,sCRX.imLeadLag.TF.x_scaled[1],sCRX.simpleLagLim.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 (83): * Single equations (assignments): 82 * 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.0003072/0.5856, allocations: 156.6 kB / 0.6576 GB, free: 4.996 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008832/0.5944, allocations: 3.209 MB / 0.6608 GB, free: 1.801 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.5945, allocations: 0 / 0.6608 GB, free: 1.801 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006531/0.601, allocations: 2.166 MB / 0.6629 GB, free: 15.62 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001257/0.6023, allocations: 118 kB / 0.663 GB, free: 15.5 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005995/0.6083, allocations: 3.615 MB / 0.6665 GB, free: 11.93 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007868/0.6091, allocations: 1.258 MB / 0.6678 GB, free: 10.64 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006525/0.6098, allocations: 139 kB / 0.6679 GB, free: 10.51 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003115/0.6101, allocations: 87.42 kB / 0.668 GB, free: 10.43 MB / 478.1 MB Notification: Performance of SimCode: time 5.11e-07/0.6101, allocations: 0 / 0.668 GB, free: 10.43 MB / 478.1 MB Notification: Performance of Templates: time 0.03763/0.6478, allocations: 25.83 MB / 0.6932 GB, free: 0.7305 MB / 494.1 MB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SCRX.pipe 2>&1)