Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.conf.json 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/ModelicaServices 4.0.0+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/Complex 4.0.0+maint.om/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 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: translateModel(OpenIPSL.Tests.Controls.PSSE.ES.SEXS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.SEXS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1033/0.1033, allocations: 12.58 MB / 28.22 MB, free: 0.7344 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 111.4 kB / 31.83 MB, free: 3.879 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.405/1.405, allocations: 205.1 MB / 240.4 MB, free: 12.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 180.5 kB / 290.7 MB, free: 13.39 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4364/0.4364, allocations: 78.51 MB / 419.3 MB, free: 11.21 MB / 302.1 MB Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002504/0.002504, allocations: 142.2 kB / 0.5559 GB, free: 28.5 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1255, allocations: 68.13 MB / 0.6224 GB, free: 15.41 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SEXS): time 0.008373/0.1339, allocations: 8.094 MB / 0.6303 GB, free: 7.277 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005153/0.1391, allocations: 2.478 MB / 0.6327 GB, free: 4.789 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001616/0.1407, allocations: 12 kB / 0.6327 GB, free: 4.777 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009904/0.1418, allocations: 313.4 kB / 0.633 GB, free: 4.469 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003082/0.1449, allocations: 1.196 MB / 0.6342 GB, free: 3.27 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001451/0.1464, allocations: 0.6704 MB / 0.6349 GB, free: 2.605 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00326/0.1496, allocations: 2.275 MB / 0.6371 GB, free: 336 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007668/0.1504, allocations: 398 kB / 0.6375 GB, free: 15.91 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001389/0.1518, allocations: 0.8677 MB / 0.6383 GB, free: 15.04 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001234/0.1531, allocations: 1.116 MB / 0.6394 GB, free: 13.92 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002786/0.1534, allocations: 176 kB / 0.6396 GB, free: 13.75 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008528/0.1542, allocations: 403.7 kB / 0.64 GB, free: 13.36 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004295/0.1547, allocations: 450.2 kB / 0.6404 GB, free: 12.91 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008696/0.1555, allocations: 0.878 MB / 0.6412 GB, free: 12.03 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002463/0.158, allocations: 2.241 MB / 0.6434 GB, free: 9.781 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.158, allocations: 4 kB / 0.6434 GB, free: 9.777 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.158, allocations: 3.938 kB / 0.6434 GB, free: 9.773 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.002e-05/0.1581, allocations: 0 / 0.6434 GB, free: 9.773 MB / 462.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.01334/0.1714, allocations: 3.768 MB / 0.6471 GB, free: 5.945 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.1715, allocations: 11.98 kB / 0.6471 GB, free: 5.934 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004539/0.176, allocations: 0.756 MB / 0.6479 GB, free: 5.176 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001954/0.178, allocations: 1.109 MB / 0.649 GB, free: 4.016 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000484/0.1785, allocations: 424.7 kB / 0.6494 GB, free: 3.531 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002012/0.1787, allocations: 107.9 kB / 0.6495 GB, free: 3.426 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002935/0.1816, allocations: 1.385 MB / 0.6508 GB, free: 2.023 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.424e-05/0.1817, allocations: 3.938 kB / 0.6508 GB, free: 2.02 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001149/0.1818, allocations: 36 kB / 0.6509 GB, free: 1.984 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.886e-05/0.1818, allocations: 24 kB / 0.6509 GB, free: 1.961 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002932/0.1848, allocations: 1.312 MB / 0.6522 GB, free: 0.6484 MB / 462.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.008235/0.193, allocations: 4.81 MB / 0.6569 GB, free: 11.62 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008125/0.2012, allocations: 2.857 MB / 0.6596 GB, free: 8.621 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001991/0.2032, allocations: 0.8878 MB / 0.6605 GB, free: 7.727 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000142/0.2033, allocations: 28.98 kB / 0.6605 GB, free: 7.699 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002216/0.2056, allocations: 1.038 MB / 0.6616 GB, free: 6.641 MB / 478.1 MB Notification: Performance of pre-optimization done (n=122): time 2.625e-06/0.2056, allocations: 4 kB / 0.6616 GB, free: 6.637 MB / 478.1 MB Notification: Performance of matching and sorting (n=122): time 0.03985/0.2455, allocations: 9.673 MB / 0.671 GB, free: 12.92 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.269e-05/0.2456, allocations: 123.8 kB / 0.6711 GB, free: 12.78 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002125/0.2477, allocations: 1.394 MB / 0.6725 GB, free: 11.37 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002448/0.248, allocations: 49.7 kB / 0.6725 GB, free: 11.32 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004603/0.2484, allocations: 0.589 MB / 0.6731 GB, free: 10.72 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004566/0.2489, allocations: 460.1 kB / 0.6735 GB, free: 10.27 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005997/0.2495, allocations: 331.5 kB / 0.6739 GB, free: 9.941 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.2496, allocations: 305.1 kB / 0.6741 GB, free: 9.641 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002135/0.2517, allocations: 0.9604 MB / 0.6751 GB, free: 8.68 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002283/0.254, allocations: 1.162 MB / 0.6762 GB, free: 7.469 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00425/0.2583, allocations: 2.05 MB / 0.6782 GB, free: 5.379 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.987e-06/0.2583, allocations: 8 kB / 0.6782 GB, free: 5.371 MB / 494.1 MB Notification: Performance of matching and sorting (n=231) (initialization): time 0.0175/0.2759, allocations: 5.4 MB / 0.6835 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.694e-05/0.2759, allocations: 4 kB / 0.6835 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.656e-05/0.2759, allocations: 4 kB / 0.6835 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009905/0.2859, allocations: 2.883 MB / 0.6863 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001406/0.2873, allocations: 275.6 kB / 0.6866 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006929/0.2942, allocations: 2.873 MB / 0.6894 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002335/0.2966, allocations: 246.8 kB / 0.6896 GB, free: 9.648 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001614/0.2968, allocations: 63.98 kB / 0.6897 GB, free: 9.586 MB / 0.4981 GB 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 (167): * Single equations (assignments): 166 * 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 {(33,32)} Notification: Performance of prepare postOptimizeDAE: time 0.0006229/0.2974, allocations: 295.1 kB / 0.69 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002725/0.2977, allocations: 162.9 kB / 0.6901 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0159/0.3136, allocations: 4.733 MB / 0.6948 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-05/0.3136, allocations: 19.94 kB / 0.6948 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/0.3137, allocations: 0 / 0.6948 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.74e-05/0.3137, allocations: 7.969 kB / 0.6948 GB, free: 4.344 MB / 0.4981 GB 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.01945/0.3332, allocations: 6.792 MB / 0.7014 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-05/0.3332, allocations: 0 / 0.7014 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008977/0.3341, allocations: 139.8 kB / 0.7015 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007853/0.342, allocations: 2.138 MB / 0.7036 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000273/0.3423, allocations: 27.98 kB / 0.7037 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02672/0.369, allocations: 10.08 MB / 0.7135 GB, free: 0.8711 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/0.369, allocations: 7.984 kB / 0.7135 GB, free: 0.8633 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2703/0.6393, allocations: 5.864 MB / 0.7192 GB, free: 84.63 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006049/0.64, allocations: 276.4 kB / 0.7195 GB, free: 84.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002538/0.6402, allocations: 28.06 kB / 0.7195 GB, free: 84.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001645/0.6419, allocations: 133.9 kB / 0.7197 GB, free: 84.54 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008458/0.6428, allocations: 254.7 kB / 0.7199 GB, free: 84.54 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001085/0.6429, allocations: 37.45 kB / 0.7199 GB, free: 84.53 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001531/0.6444, allocations: 0.9453 MB / 0.7209 GB, free: 84.38 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.21e-07/0.6444, allocations: 0.875 kB / 0.7209 GB, free: 84.38 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001395/0.6458, allocations: 0.5135 MB / 0.7214 GB, free: 84.33 MB / 0.5137 GB 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 (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.0003137/0.6461, allocations: 158.7 kB / 0.7215 GB, free: 84.22 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.009527/0.6557, allocations: 2.847 MB / 0.7243 GB, free: 83.43 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.714e-06/0.6557, allocations: 0 / 0.7243 GB, free: 83.43 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.006593/0.6623, allocations: 1.916 MB / 0.7262 GB, free: 82.8 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001199/0.6636, allocations: 127.6 kB / 0.7263 GB, free: 82.71 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005316/0.6689, allocations: 2.994 MB / 0.7292 GB, free: 81.12 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006449/0.6695, allocations: 1.213 MB / 0.7304 GB, free: 80.38 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004994/0.6701, allocations: 140.4 kB / 0.7305 GB, free: 80.35 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000336/0.6704, allocations: 92.2 kB / 0.7306 GB, free: 80.34 MB / 0.5137 GB Notification: Performance of SimCode: time 8.01e-07/0.6704, allocations: 1.125 kB / 0.7306 GB, free: 80.34 MB / 0.5137 GB Notification: Performance of Templates: time 0.037/0.7074, allocations: 29.98 MB / 0.7599 GB, free: 60 MB / 0.5137 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.makefile (rm -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.sim & ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe 2>&1)