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/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/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/package.mo): time 0.08827/0.08827, allocations: 12.2 MB / 27.48 MB, free: 0.9258 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.0008708/0.0008709, allocations: 99.52 kB / 31 MB, free: 4.531 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.398/1.398, allocations: 205.4 MB / 239.8 MB, free: 12.09 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.0009958/0.0009957, allocations: 181.7 kB / 291 MB, free: 13.36 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4674/0.4674, allocations: 78.53 MB / 420.5 MB, free: 48.88 MB / 334.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.0009309/0.0009313, allocations: 36.94 kB / 0.4901 GB, free: 2.188 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3894/0.3904, allocations: 69.22 MB / 0.5577 GB, free: 42.81 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SEXS): time 0.007845/0.3983, allocations: 7.928 MB / 0.5654 GB, free: 39.38 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005519/0.4038, allocations: 2.514 MB / 0.5679 GB, free: 37.61 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001857/0.4057, allocations: 15.19 kB / 0.5679 GB, free: 37.61 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001526/0.4073, allocations: 243 kB / 0.5681 GB, free: 37.51 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004945/0.4122, allocations: 1.06 MB / 0.5692 GB, free: 36.84 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00178/0.414, allocations: 0.6209 MB / 0.5698 GB, free: 36.5 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00343/0.4175, allocations: 2.163 MB / 0.5719 GB, free: 35.51 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007562/0.4183, allocations: 342.6 kB / 0.5722 GB, free: 35.34 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001365/0.4196, allocations: 0.7583 MB / 0.573 GB, free: 35 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001667/0.4213, allocations: 0.9995 MB / 0.5739 GB, free: 34.57 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005767/0.4219, allocations: 92.19 kB / 0.574 GB, free: 34.56 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001143/0.423, allocations: 299.5 kB / 0.5743 GB, free: 34.5 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004847/0.4235, allocations: 362 kB / 0.5747 GB, free: 34.29 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001132/0.4247, allocations: 0.8 MB / 0.5754 GB, free: 33.77 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001937/0.4266, allocations: 2.093 MB / 0.5775 GB, free: 33.02 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.4266, allocations: 2.906 kB / 0.5775 GB, free: 33.02 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.4267, allocations: 0 / 0.5775 GB, free: 33.02 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.5e-05/0.4267, allocations: 4 kB / 0.5775 GB, free: 33.02 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.01256/0.4393, allocations: 3.505 MB / 0.5809 GB, free: 31.72 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.698e-05/0.4393, allocations: 12.14 kB / 0.5809 GB, free: 31.71 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004554/0.4439, allocations: 0.7491 MB / 0.5817 GB, free: 31.55 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002088/0.446, allocations: 1.095 MB / 0.5827 GB, free: 30.85 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004263/0.4464, allocations: 439 kB / 0.5831 GB, free: 30.46 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002125/0.4467, allocations: 113.3 kB / 0.5833 GB, free: 30.41 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002664/0.4493, allocations: 1.464 MB / 0.5847 GB, free: 29.88 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.984e-05/0.4494, allocations: 3.938 kB / 0.5847 GB, free: 29.88 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001147/0.4495, allocations: 36.56 kB / 0.5847 GB, free: 29.85 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.903e-05/0.4495, allocations: 22.72 kB / 0.5847 GB, free: 29.85 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002619/0.4521, allocations: 1.407 MB / 0.5861 GB, free: 29.39 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.007481/0.4596, allocations: 4.913 MB / 0.5909 GB, free: 26.59 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008157/0.4678, allocations: 3.426 MB / 0.5943 GB, free: 25.35 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002071/0.4699, allocations: 0.9708 MB / 0.5952 GB, free: 24.98 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001211/0.47, allocations: 27.22 kB / 0.5952 GB, free: 24.96 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002182/0.4722, allocations: 1.123 MB / 0.5963 GB, free: 24.56 MB / 430.1 MB Notification: Performance of pre-optimization done (n=122): time 2.705e-06/0.4722, allocations: 0 / 0.5963 GB, free: 24.56 MB / 430.1 MB Notification: Performance of matching and sorting (n=122): time 0.04751/0.5198, allocations: 11.77 MB / 0.6078 GB, free: 21.63 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.494e-05/0.5199, allocations: 115.7 kB / 0.6079 GB, free: 21.5 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003383/0.5233, allocations: 1.395 MB / 0.6093 GB, free: 20.73 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004261/0.5237, allocations: 46.92 kB / 0.6093 GB, free: 20.68 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005458/0.5243, allocations: 0.5807 MB / 0.6099 GB, free: 20.17 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007189/0.525, allocations: 446.4 kB / 0.6103 GB, free: 19.78 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005362/0.5256, allocations: 171 kB / 0.6105 GB, free: 19.67 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.562e-05/0.5256, allocations: 301.1 kB / 0.6108 GB, free: 19.38 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002665/0.5283, allocations: 1.047 MB / 0.6118 GB, free: 18.88 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00265/0.531, allocations: 1.244 MB / 0.613 GB, free: 18.2 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004831/0.5358, allocations: 2.214 MB / 0.6152 GB, free: 16.74 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-05/0.5359, allocations: 4 kB / 0.6152 GB, free: 16.74 MB / 430.1 MB Notification: Performance of matching and sorting (n=231) (initialization): time 0.01841/0.5543, allocations: 6.446 MB / 0.6215 GB, free: 10.27 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.888e-05/0.5543, allocations: 4 kB / 0.6215 GB, free: 10.27 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/0.5544, allocations: 4 kB / 0.6215 GB, free: 10.27 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01009/0.5645, allocations: 3.258 MB / 0.6247 GB, free: 7.004 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001454/0.566, allocations: 279.6 kB / 0.6249 GB, free: 6.73 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007278/0.5733, allocations: 3.178 MB / 0.628 GB, free: 3.531 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002888/0.5762, allocations: 298.3 kB / 0.6283 GB, free: 3.238 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003641/0.5766, allocations: 63.98 kB / 0.6284 GB, free: 3.176 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 ($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.0009805/0.5776, allocations: 289.5 kB / 0.6287 GB, free: 2.883 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006321/0.5782, allocations: 158 kB / 0.6288 GB, free: 2.727 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01749/0.5957, allocations: 5.783 MB / 0.6345 GB, free: 12.92 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.2e-05/0.5958, allocations: 12 kB / 0.6345 GB, free: 12.91 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.928e-06/0.5958, allocations: 0 / 0.6345 GB, free: 12.91 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.11e-05/0.5959, allocations: 7.984 kB / 0.6345 GB, free: 12.9 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.02254/0.6184, allocations: 7.848 MB / 0.6421 GB, free: 4.918 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.129e-05/0.6185, allocations: 0 / 0.6421 GB, free: 4.918 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001038/0.6195, allocations: 135.8 kB / 0.6423 GB, free: 4.785 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008731/0.6283, allocations: 2.517 MB / 0.6447 GB, free: 2.266 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000425/0.6288, allocations: 27.98 kB / 0.6448 GB, free: 2.238 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02833/0.6571, allocations: 10.34 MB / 0.6549 GB, free: 7.75 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.6572, allocations: 0 / 0.6549 GB, free: 7.75 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02253/0.6797, allocations: 6.999 MB / 0.6617 GB, free: 0.7148 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009063/0.6807, allocations: 274.7 kB / 0.662 GB, free: 436 kB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007132/0.6814, allocations: 24 kB / 0.662 GB, free: 412 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002207/0.6836, allocations: 179.8 kB / 0.6621 GB, free: 232 kB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001129/0.6848, allocations: 253 kB / 0.6624 GB, free: 15.98 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002488/0.6851, allocations: 28 kB / 0.6624 GB, free: 15.95 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002291/0.6874, allocations: 0.9496 MB / 0.6633 GB, free: 15 MB / 478.1 MB Notification: Performance of sort global known variables: time 6.21e-07/0.6874, allocations: 0 / 0.6633 GB, free: 15 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002993/0.6904, allocations: 0.5152 MB / 0.6638 GB, free: 14.49 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 (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.0005705/0.691, allocations: 149.5 kB / 0.664 GB, free: 14.33 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01021/0.7012, allocations: 3.177 MB / 0.6671 GB, free: 11.17 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.375e-06/0.7012, allocations: 0 / 0.6671 GB, free: 11.17 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006977/0.7082, allocations: 2.145 MB / 0.6692 GB, free: 9.012 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001987/0.7102, allocations: 142.4 kB / 0.6693 GB, free: 8.871 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006692/0.717, allocations: 3.636 MB / 0.6729 GB, free: 5.203 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009618/0.718, allocations: 1.207 MB / 0.6741 GB, free: 3.969 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008192/0.7188, allocations: 141.6 kB / 0.6742 GB, free: 3.828 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004884/0.7193, allocations: 91.41 kB / 0.6743 GB, free: 3.738 MB / 478.1 MB Notification: Performance of SimCode: time 1.493e-06/0.7193, allocations: 0 / 0.6743 GB, free: 3.738 MB / 478.1 MB Notification: Performance of Templates: time 0.04783/0.7672, allocations: 26.11 MB / 0.6998 GB, free: 9.648 MB / 0.4981 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: