Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL.Tests.Controls.PSSE.ES.SEXS") translateModel(OpenIPSL.Tests.Controls.PSSE.ES.SEXS,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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.00107/0.00107, allocations: 112.3 kB / 15.99 MB, free: 6.359 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.266/1.266, allocations: 222.9 MB / 239.6 MB, free: 4.707 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.001217/0.001217, allocations: 192.4 kB / 289.9 MB, free: 2.457 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4351/0.4351, allocations: 78.53 MB / 418.6 MB, free: 3.273 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 75.88 kB / 497.6 MB, free: 6.691 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1277, allocations: 68.17 MB / 0.5525 GB, free: 2.477 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SEXS): time 0.2285/0.3562, allocations: 8.379 MB / 0.5607 GB, free: 35.2 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004401/0.3607, allocations: 2.556 MB / 0.5632 GB, free: 34.52 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001106/0.3618, allocations: 15.19 kB / 0.5632 GB, free: 34.52 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008847/0.3627, allocations: 243 kB / 0.5634 GB, free: 34.51 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002984/0.3657, allocations: 1.058 MB / 0.5645 GB, free: 34.28 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001377/0.3671, allocations: 0.6143 MB / 0.5651 GB, free: 34.22 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002524/0.3697, allocations: 2.279 MB / 0.5673 GB, free: 33.92 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005658/0.3702, allocations: 387.7 kB / 0.5677 GB, free: 33.84 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001159/0.3714, allocations: 0.8699 MB / 0.5685 GB, free: 33.63 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001062/0.3725, allocations: 1.108 MB / 0.5696 GB, free: 33.36 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002755/0.3728, allocations: 173.8 kB / 0.5698 GB, free: 33.36 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007299/0.3735, allocations: 401.9 kB / 0.5701 GB, free: 33.35 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003059/0.3738, allocations: 456.1 kB / 0.5706 GB, free: 33.25 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006469/0.3745, allocations: 0.8856 MB / 0.5714 GB, free: 32.94 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001499/0.376, allocations: 1.707 MB / 0.5731 GB, free: 32.68 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.376, allocations: 5.688 kB / 0.5731 GB, free: 32.68 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.376, allocations: 2.812 kB / 0.5731 GB, free: 32.68 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.607e-05/0.376, allocations: 0 / 0.5731 GB, free: 32.68 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.01263/0.3887, allocations: 3.721 MB / 0.5767 GB, free: 31.59 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.3887, allocations: 8.75 kB / 0.5768 GB, free: 31.59 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004145/0.3929, allocations: 0.7398 MB / 0.5775 GB, free: 31.47 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001724/0.3946, allocations: 1.099 MB / 0.5785 GB, free: 31.01 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003933/0.395, allocations: 427 kB / 0.579 GB, free: 30.63 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001897/0.3952, allocations: 109.3 kB / 0.5791 GB, free: 30.59 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002463/0.3977, allocations: 1.389 MB / 0.5804 GB, free: 30.05 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.22e-05/0.3977, allocations: 2.594 kB / 0.5804 GB, free: 30.05 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001086/0.3979, allocations: 36.28 kB / 0.5805 GB, free: 30.03 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.519e-05/0.3979, allocations: 21.53 kB / 0.5805 GB, free: 30.03 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002543/0.4004, allocations: 1.31 MB / 0.5818 GB, free: 29.59 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.00805/0.4085, allocations: 4.833 MB / 0.5865 GB, free: 26.79 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007823/0.4163, allocations: 2.848 MB / 0.5893 GB, free: 25.63 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002016/0.4184, allocations: 0.8935 MB / 0.5901 GB, free: 25.27 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001497/0.4186, allocations: 28 kB / 0.5902 GB, free: 25.26 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002137/0.4207, allocations: 1.032 MB / 0.5912 GB, free: 24.88 MB / 430.1 MB Notification: Performance of pre-optimization done (n=122): time 3.817e-06/0.4207, allocations: 0.9375 kB / 0.5912 GB, free: 24.88 MB / 430.1 MB Notification: Performance of matching and sorting (n=122): time 0.04164/0.4624, allocations: 9.673 MB / 0.6006 GB, free: 23.22 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.821e-05/0.4625, allocations: 121.1 kB / 0.6007 GB, free: 23.09 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002454/0.4649, allocations: 1.392 MB / 0.6021 GB, free: 22.53 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003848/0.4653, allocations: 51.02 kB / 0.6021 GB, free: 22.48 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003538/0.4657, allocations: 0.5786 MB / 0.6027 GB, free: 22.02 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000445/0.4661, allocations: 446.8 kB / 0.6031 GB, free: 21.67 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006119/0.4668, allocations: 331.8 kB / 0.6034 GB, free: 21.52 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.632e-05/0.4668, allocations: 306.8 kB / 0.6037 GB, free: 21.22 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002136/0.469, allocations: 0.9577 MB / 0.6047 GB, free: 20.87 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002153/0.4711, allocations: 1.16 MB / 0.6058 GB, free: 20.29 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003885/0.475, allocations: 2.05 MB / 0.6078 GB, free: 19.16 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/0.4751, allocations: 3.938 kB / 0.6078 GB, free: 19.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=231) (initialization): time 0.01638/0.4914, allocations: 5.398 MB / 0.6131 GB, free: 16.52 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.053e-05/0.4915, allocations: 5.5 kB / 0.6131 GB, free: 16.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.945e-05/0.4915, allocations: 4.125 kB / 0.6131 GB, free: 16.52 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008977/0.5005, allocations: 2.891 MB / 0.6159 GB, free: 14.14 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001346/0.5019, allocations: 275.6 kB / 0.6162 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005834/0.5078, allocations: 2.865 MB / 0.619 GB, free: 10.98 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002403/0.5102, allocations: 246.3 kB / 0.6192 GB, free: 10.74 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001797/0.5104, allocations: 63.98 kB / 0.6193 GB, free: 10.68 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.0006038/0.511, allocations: 290.2 kB / 0.6195 GB, free: 10.39 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003141/0.5113, allocations: 154 kB / 0.6197 GB, free: 10.23 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01385/0.5252, allocations: 4.733 MB / 0.6243 GB, free: 5.477 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.977e-05/0.5252, allocations: 16.62 kB / 0.6243 GB, free: 5.461 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/0.5252, allocations: 3.984 kB / 0.6243 GB, free: 5.457 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.137e-05/0.5253, allocations: 5.953 kB / 0.6243 GB, free: 5.453 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.01716/0.5424, allocations: 6.807 MB / 0.631 GB, free: 14.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-05/0.5425, allocations: 0.5 kB / 0.631 GB, free: 14.51 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009758/0.5435, allocations: 135.8 kB / 0.6311 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00724/0.5507, allocations: 2.148 MB / 0.6332 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003368/0.5511, allocations: 27.98 kB / 0.6332 GB, free: 12.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02407/0.5752, allocations: 10.07 MB / 0.6431 GB, free: 1.98 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.5753, allocations: 0 / 0.6431 GB, free: 1.98 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01836/0.5936, allocations: 5.866 MB / 0.6488 GB, free: 12.08 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007744/0.5944, allocations: 270.8 kB / 0.6491 GB, free: 11.8 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002841/0.5947, allocations: 20 kB / 0.6491 GB, free: 11.78 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001625/0.5964, allocations: 139.9 kB / 0.6492 GB, free: 11.64 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008674/0.5973, allocations: 257 kB / 0.6495 GB, free: 11.39 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001069/0.5974, allocations: 35.98 kB / 0.6495 GB, free: 11.36 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001486/0.5989, allocations: 0.9418 MB / 0.6504 GB, free: 10.41 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5989, allocations: 4 kB / 0.6504 GB, free: 10.41 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001546/0.6004, allocations: 0.5151 MB / 0.6509 GB, free: 9.895 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.0003594/0.6008, allocations: 148.4 kB / 0.6511 GB, free: 9.742 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009293/0.6101, allocations: 2.888 MB / 0.6539 GB, free: 6.863 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/0.6101, allocations: 1.031 kB / 0.6539 GB, free: 6.863 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006143/0.6163, allocations: 1.903 MB / 0.6557 GB, free: 4.945 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00143/0.6178, allocations: 130.2 kB / 0.6559 GB, free: 4.816 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006048/0.6238, allocations: 3.529 MB / 0.6593 GB, free: 1.316 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000703/0.6246, allocations: 1.211 MB / 0.6605 GB, free: 80 kB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006148/0.6252, allocations: 95.47 kB / 0.6606 GB, free: 15.98 MB / 478.1 MB Notification: Performance of SimCode: time 1.062e-06/0.6252, allocations: 4 kB / 0.6606 GB, free: 15.98 MB / 478.1 MB Notification: Performance of Templates: time 0.03344/0.6586, allocations: 25.15 MB / 0.6852 GB, free: 6.973 MB / 494.1 MB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SEXS -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.SEXS.pipe 2>&1)