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.103/0.103, allocations: 12.2 MB / 27.43 MB, free: 1.387 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.001082/0.001082, allocations: 119.4 kB / 30.94 MB, free: 4.664 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.446/1.446, allocations: 205.1 MB / 239.4 MB, free: 12.95 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.001482/0.001482, allocations: 194.6 kB / 289.6 MB, free: 14.11 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4131/0.4131, allocations: 78.51 MB / 418.1 MB, free: 11.99 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.002361/0.002361, allocations: 131.7 kB / 498.4 MB, free: 11.88 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2868/0.2892, allocations: 68.02 MB / 0.5532 GB, free: 32.8 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SEXS): time 0.007524/0.2967, allocations: 8.44 MB / 0.5614 GB, free: 26.63 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00573/0.3025, allocations: 2.514 MB / 0.5639 GB, free: 24.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001998/0.3046, allocations: 21.47 kB / 0.5639 GB, free: 24.83 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00116/0.3057, allocations: 241.1 kB / 0.5641 GB, free: 24.65 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004224/0.31, allocations: 1.068 MB / 0.5652 GB, free: 23.82 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002196/0.3122, allocations: 0.6132 MB / 0.5658 GB, free: 23.36 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004349/0.3166, allocations: 2.268 MB / 0.568 GB, free: 22.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007968/0.3174, allocations: 388 kB / 0.5683 GB, free: 21.8 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002028/0.3195, allocations: 0.87 MB / 0.5692 GB, free: 21.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001707/0.3212, allocations: 1.099 MB / 0.5703 GB, free: 20.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003813/0.3216, allocations: 187.5 kB / 0.5705 GB, free: 20.49 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001093/0.3227, allocations: 402.3 kB / 0.5708 GB, free: 20.37 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003535/0.3231, allocations: 455 kB / 0.5713 GB, free: 19.99 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009066/0.324, allocations: 0.8818 MB / 0.5721 GB, free: 19.31 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00231/0.3263, allocations: 2.203 MB / 0.5743 GB, free: 17.64 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.3263, allocations: 1.062 kB / 0.5743 GB, free: 17.64 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3263, allocations: 0 / 0.5743 GB, free: 17.64 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.721e-05/0.3263, allocations: 0 / 0.5743 GB, free: 17.64 MB / 398.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.01333/0.3397, allocations: 3.72 MB / 0.5779 GB, free: 14.9 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.3397, allocations: 11.98 kB / 0.5779 GB, free: 14.89 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004579/0.3443, allocations: 0.7471 MB / 0.5787 GB, free: 14.14 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001778/0.3461, allocations: 1.096 MB / 0.5797 GB, free: 12.99 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003709/0.3465, allocations: 428.7 kB / 0.5801 GB, free: 12.51 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001745/0.3467, allocations: 115.8 kB / 0.5802 GB, free: 12.39 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002384/0.3491, allocations: 1.385 MB / 0.5816 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.335e-05/0.3491, allocations: 7.938 kB / 0.5816 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001099/0.3492, allocations: 36 kB / 0.5816 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.473e-05/0.3492, allocations: 24 kB / 0.5817 GB, free: 10.92 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002392/0.3516, allocations: 1.308 MB / 0.5829 GB, free: 9.617 MB / 398.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.007068/0.3587, allocations: 4.821 MB / 0.5876 GB, free: 4.578 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007402/0.3661, allocations: 2.857 MB / 0.5904 GB, free: 1.582 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001724/0.3679, allocations: 0.8956 MB / 0.5913 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001301/0.3681, allocations: 20.98 kB / 0.5913 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001941/0.37, allocations: 1.046 MB / 0.5924 GB, free: 15.59 MB / 414.1 MB Notification: Performance of pre-optimization done (n=122): time 2.756e-06/0.37, allocations: 0 / 0.5924 GB, free: 15.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=122): time 0.04027/0.4103, allocations: 9.668 MB / 0.6018 GB, free: 5.883 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.472e-05/0.4104, allocations: 119.8 kB / 0.6019 GB, free: 5.738 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002462/0.4129, allocations: 1.402 MB / 0.6033 GB, free: 4.324 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004412/0.4133, allocations: 53.7 kB / 0.6033 GB, free: 4.266 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004668/0.4138, allocations: 0.5688 MB / 0.6039 GB, free: 3.691 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005785/0.4144, allocations: 445.7 kB / 0.6043 GB, free: 3.25 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006102/0.415, allocations: 331.4 kB / 0.6046 GB, free: 2.922 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.4151, allocations: 305.1 kB / 0.6049 GB, free: 2.621 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002135/0.4173, allocations: 0.9565 MB / 0.6059 GB, free: 1.664 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002263/0.4195, allocations: 1.158 MB / 0.607 GB, free: 472 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004202/0.4238, allocations: 2.05 MB / 0.609 GB, free: 14.36 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.067e-05/0.4238, allocations: 4 kB / 0.609 GB, free: 14.36 MB / 430.1 MB Notification: Performance of matching and sorting (n=231) (initialization): time 0.01744/0.4412, allocations: 5.395 MB / 0.6143 GB, free: 8.949 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.603e-05/0.4413, allocations: 10.81 kB / 0.6143 GB, free: 8.941 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.656e-05/0.4413, allocations: 4 kB / 0.6143 GB, free: 8.938 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01015/0.4515, allocations: 2.895 MB / 0.6171 GB, free: 6.039 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001701/0.4533, allocations: 275.6 kB / 0.6174 GB, free: 5.77 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006911/0.4602, allocations: 2.857 MB / 0.6202 GB, free: 2.891 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002587/0.4628, allocations: 254.3 kB / 0.6204 GB, free: 2.641 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002088/0.463, allocations: 59.98 kB / 0.6205 GB, free: 2.582 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.0006354/0.4637, allocations: 289.5 kB / 0.6207 GB, free: 2.289 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004226/0.4641, allocations: 162 kB / 0.6209 GB, free: 2.129 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01598/0.4801, allocations: 4.729 MB / 0.6255 GB, free: 13.37 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.992e-05/0.4801, allocations: 16 kB / 0.6255 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/0.4802, allocations: 7.984 kB / 0.6255 GB, free: 13.35 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-05/0.4802, allocations: 3.984 kB / 0.6255 GB, free: 13.34 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.01894/0.4991, allocations: 6.8 MB / 0.6322 GB, free: 6.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.28e-05/0.4992, allocations: 4.031 kB / 0.6322 GB, free: 6.406 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009568/0.5002, allocations: 135.8 kB / 0.6323 GB, free: 6.273 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007585/0.5078, allocations: 2.138 MB / 0.6344 GB, free: 4.133 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003258/0.5081, allocations: 35.98 kB / 0.6344 GB, free: 4.098 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02586/0.534, allocations: 10.08 MB / 0.6443 GB, free: 9.867 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.534, allocations: 4 kB / 0.6443 GB, free: 9.863 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0189/0.5529, allocations: 5.871 MB / 0.65 GB, free: 3.961 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006871/0.5537, allocations: 262.8 kB / 0.6503 GB, free: 3.684 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003117/0.554, allocations: 24 kB / 0.6503 GB, free: 3.66 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00166/0.5557, allocations: 139.8 kB / 0.6504 GB, free: 3.523 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008242/0.5565, allocations: 253.1 kB / 0.6507 GB, free: 3.277 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001033/0.5566, allocations: 35.98 kB / 0.6507 GB, free: 3.242 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001446/0.5581, allocations: 0.9418 MB / 0.6516 GB, free: 2.301 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5581, allocations: 0 / 0.6516 GB, free: 2.301 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001594/0.5597, allocations: 0.519 MB / 0.6521 GB, free: 1.781 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,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.0003332/0.56, allocations: 147.1 kB / 0.6523 GB, free: 1.625 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009309/0.5693, allocations: 2.891 MB / 0.6551 GB, free: 14.75 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.217e-06/0.5694, allocations: 4.875 kB / 0.6551 GB, free: 14.74 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006325/0.5757, allocations: 1.905 MB / 0.6569 GB, free: 12.82 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001508/0.5773, allocations: 141.1 kB / 0.6571 GB, free: 12.68 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005928/0.5832, allocations: 3.482 MB / 0.6605 GB, free: 9.164 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007356/0.584, allocations: 1.219 MB / 0.6617 GB, free: 7.914 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0006552/0.5847, allocations: 133.7 kB / 0.6618 GB, free: 7.781 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003343/0.585, allocations: 95.41 kB / 0.6619 GB, free: 7.688 MB / 478.1 MB Notification: Performance of SimCode: time 8.51e-07/0.585, allocations: 0 / 0.6619 GB, free: 7.688 MB / 478.1 MB Notification: Performance of Templates: time 0.04351/0.6285, allocations: 28.36 MB / 0.6896 GB, free: 11.34 MB / 0.4981 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)