Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.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.SEXS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SEXS") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.SEXS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SEXS") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009797/0.0009797, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.285/1.285, allocations: 223.3 MB / 239 MB, free: 5.438 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.0009451/0.0009451, allocations: 188.5 kB / 290.3 MB, free: 2.125 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4833/0.4833, allocations: 91.92 MB / 433.3 MB, free: 10.4 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003682/0.0003682, allocations: 16 kB / 0.5042 GB, free: 7.621 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3015/0.3019, allocations: 72.47 MB / 0.575 GB, free: 36.28 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SEXS): time 0.005405/0.3073, allocations: 7.401 MB / 0.5822 GB, free: 31.54 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0039/0.3112, allocations: 2.433 MB / 0.5846 GB, free: 29.82 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008092/0.3121, allocations: 11.59 kB / 0.5846 GB, free: 29.82 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006072/0.3127, allocations: 218.2 kB / 0.5848 GB, free: 29.72 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001812/0.3145, allocations: 0.9112 MB / 0.5857 GB, free: 29.13 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001039/0.3156, allocations: 0.5428 MB / 0.5862 GB, free: 28.88 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001508/0.3171, allocations: 1.895 MB / 0.588 GB, free: 27.94 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004226/0.3175, allocations: 322.5 kB / 0.5884 GB, free: 27.8 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006824/0.3182, allocations: 0.7312 MB / 0.5891 GB, free: 27.5 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008826/0.3191, allocations: 0.9659 MB / 0.59 GB, free: 27.09 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001885/0.3193, allocations: 85.09 kB / 0.5901 GB, free: 27.09 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005731/0.3199, allocations: 303.8 kB / 0.5904 GB, free: 27.02 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002474/0.3201, allocations: 349.3 kB / 0.5907 GB, free: 26.83 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002386/0.3204, allocations: 285.1 kB / 0.591 GB, free: 26.65 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001142/0.3215, allocations: 1.627 MB / 0.5926 GB, free: 26.2 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.748e-06/0.3215, allocations: 0 / 0.5926 GB, free: 26.2 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3216, allocations: 5.188 kB / 0.5926 GB, free: 26.19 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.296e-05/0.3216, allocations: 0 / 0.5926 GB, free: 26.19 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: 234 * Number of variables: 234 Notification: Performance of Generate backend data structure: time 0.01026/0.3319, allocations: 3.315 MB / 0.5958 GB, free: 24.91 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.293e-05/0.3319, allocations: 14.41 kB / 0.5958 GB, free: 24.91 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004543/0.3364, allocations: 0.7524 MB / 0.5966 GB, free: 24.75 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001762/0.3382, allocations: 1.037 MB / 0.5976 GB, free: 24.1 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003484/0.3386, allocations: 437.2 kB / 0.598 GB, free: 23.71 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001854/0.3388, allocations: 112.1 kB / 0.5981 GB, free: 23.66 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002639/0.3414, allocations: 1.458 MB / 0.5995 GB, free: 23.13 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.078e-05/0.3415, allocations: 3.953 kB / 0.5995 GB, free: 23.12 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000109/0.3416, allocations: 41.31 kB / 0.5996 GB, free: 23.09 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.499e-05/0.3416, allocations: 22.75 kB / 0.5996 GB, free: 23.09 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002822/0.3444, allocations: 1.392 MB / 0.601 GB, free: 22.64 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.008125/0.3526, allocations: 4.915 MB / 0.6058 GB, free: 19.82 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008021/0.3606, allocations: 3.419 MB / 0.6091 GB, free: 18.58 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002131/0.3628, allocations: 0.969 MB / 0.61 GB, free: 18.21 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001676/0.363, allocations: 20.72 kB / 0.6101 GB, free: 18.21 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002252/0.3652, allocations: 1.122 MB / 0.6112 GB, free: 17.8 MB / 430.1 MB Notification: Performance of pre-optimization done (n=122): time 3.577e-06/0.3653, allocations: 0 / 0.6112 GB, free: 17.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=122): time 0.03736/0.4026, allocations: 11.69 MB / 0.6226 GB, free: 12.54 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.144e-05/0.4027, allocations: 119.8 kB / 0.6227 GB, free: 12.4 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001825/0.4045, allocations: 1.382 MB / 0.624 GB, free: 11 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002167/0.4048, allocations: 53.64 kB / 0.6241 GB, free: 10.95 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003017/0.4051, allocations: 0.5767 MB / 0.6246 GB, free: 10.36 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003468/0.4054, allocations: 457.6 kB / 0.6251 GB, free: 9.91 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/0.4055, allocations: 36 kB / 0.6251 GB, free: 9.875 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.41e-05/0.4056, allocations: 369.9 kB / 0.6255 GB, free: 9.508 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001766/0.4074, allocations: 1.035 MB / 0.6265 GB, free: 8.473 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001825/0.4092, allocations: 1.229 MB / 0.6277 GB, free: 7.199 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001874/0.4111, allocations: 1.115 MB / 0.6288 GB, free: 6.086 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/0.4111, allocations: 0 / 0.6288 GB, free: 6.086 MB / 430.1 MB Notification: Performance of matching and sorting (n=231) (initialization): time 0.01527/0.4264, allocations: 6.415 MB / 0.635 GB, free: 15.65 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.792e-05/0.4265, allocations: 4 kB / 0.635 GB, free: 15.65 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.619e-05/0.4265, allocations: 7.938 kB / 0.635 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009518/0.436, allocations: 3.258 MB / 0.6382 GB, free: 12.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00137/0.4374, allocations: 275.6 kB / 0.6385 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006719/0.4442, allocations: 3.181 MB / 0.6416 GB, free: 8.902 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00239/0.4466, allocations: 290.3 kB / 0.6419 GB, free: 8.617 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001639/0.4468, allocations: 63.98 kB / 0.6419 GB, free: 8.555 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 (167): * Single equations (assignments): 166 * 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 {33 32} Notification: Performance of prepare postOptimizeDAE: time 0.0006635/0.4474, allocations: 289.5 kB / 0.6422 GB, free: 8.262 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002635/0.4477, allocations: 166 kB / 0.6424 GB, free: 8.098 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0167/0.4644, allocations: 5.768 MB / 0.648 GB, free: 2.301 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.981e-05/0.4645, allocations: 15.98 kB / 0.648 GB, free: 2.285 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.325e-06/0.4645, allocations: 4 kB / 0.648 GB, free: 2.281 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-05/0.4645, allocations: 7.969 kB / 0.648 GB, free: 2.273 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.01977/0.4843, allocations: 7.835 MB / 0.6557 GB, free: 10.3 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-05/0.4843, allocations: 4 kB / 0.6557 GB, free: 10.3 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008966/0.4852, allocations: 135.8 kB / 0.6558 GB, free: 10.16 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007516/0.4928, allocations: 2.509 MB / 0.6583 GB, free: 7.648 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002741/0.4931, allocations: 27.98 kB / 0.6583 GB, free: 7.621 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02379/0.5169, allocations: 10.32 MB / 0.6684 GB, free: 13.16 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.5169, allocations: 4 kB / 0.6684 GB, free: 13.16 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01816/0.5351, allocations: 6.98 MB / 0.6752 GB, free: 6.145 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007776/0.5359, allocations: 278.7 kB / 0.6754 GB, free: 5.852 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000541/0.5365, allocations: 24 kB / 0.6755 GB, free: 5.828 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001694/0.5382, allocations: 179.8 kB / 0.6756 GB, free: 5.652 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008168/0.539, allocations: 257 kB / 0.6759 GB, free: 5.402 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001468/0.5392, allocations: 32 kB / 0.6759 GB, free: 5.371 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001532/0.5407, allocations: 0.9301 MB / 0.6768 GB, free: 4.441 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5407, allocations: 0 / 0.6768 GB, free: 4.441 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001709/0.5424, allocations: 0.5268 MB / 0.6773 GB, free: 3.914 MB / 478.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,sEXS.simpleLagLim.state,sEXS.leadLag.TF.x_scaled[1]) * 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 (79): * Single equations (assignments): 78 * 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.0003207/0.5428, allocations: 143.1 kB / 0.6775 GB, free: 3.766 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008218/0.551, allocations: 3.169 MB / 0.6806 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.551, allocations: 0 / 0.6806 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005791/0.5568, allocations: 2.152 MB / 0.6827 GB, free: 14.43 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0015/0.5583, allocations: 137.1 kB / 0.6828 GB, free: 14.3 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006123/0.5645, allocations: 3.468 MB / 0.6862 GB, free: 10.8 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007334/0.5652, allocations: 1.211 MB / 0.6874 GB, free: 9.559 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000648/0.5659, allocations: 137.7 kB / 0.6875 GB, free: 9.422 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003715/0.5663, allocations: 87.42 kB / 0.6876 GB, free: 9.336 MB / 494.1 MB Notification: Performance of SimCode: time 6.61e-07/0.5663, allocations: 0 / 0.6876 GB, free: 9.336 MB / 494.1 MB Notification: Performance of Templates: time 0.03922/0.6055, allocations: 25.32 MB / 0.7123 GB, free: 44 kB / 0.4981 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SEXS -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe 2>&1)