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.001025/0.001025, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.256/1.256, allocations: 222.9 MB / 238.9 MB, free: 4.75 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.001288/0.001288, allocations: 192.5 kB / 289.1 MB, free: 2.504 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4084/0.4084, allocations: 78.52 MB / 417.8 MB, free: 3.32 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 71.89 kB / 496.8 MB, free: 6.812 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1217, allocations: 68.18 MB / 0.5517 GB, free: 2.598 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSSE.ES.SEXS): time 0.2212/0.343, allocations: 8.372 MB / 0.5599 GB, free: 35.01 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004657/0.3477, allocations: 2.562 MB / 0.5624 GB, free: 34.34 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009707/0.3487, allocations: 15.44 kB / 0.5624 GB, free: 34.34 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007929/0.3495, allocations: 243.2 kB / 0.5626 GB, free: 34.32 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002319/0.3518, allocations: 1.075 MB / 0.5637 GB, free: 34.09 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00117/0.353, allocations: 0.6182 MB / 0.5643 GB, free: 34.03 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001792/0.3548, allocations: 2.162 MB / 0.5664 GB, free: 33.73 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004682/0.3553, allocations: 361.4 kB / 0.5667 GB, free: 33.65 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008655/0.3562, allocations: 0.774 MB / 0.5675 GB, free: 33.44 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008524/0.357, allocations: 1.044 MB / 0.5685 GB, free: 33.18 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001922/0.3572, allocations: 101 kB / 0.5686 GB, free: 33.18 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005988/0.3579, allocations: 326.1 kB / 0.5689 GB, free: 33.16 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002581/0.3581, allocations: 379.3 kB / 0.5693 GB, free: 33.06 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005201/0.3586, allocations: 0.8112 MB / 0.5701 GB, free: 32.75 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001445/0.3601, allocations: 2.142 MB / 0.5722 GB, free: 32.27 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.3601, allocations: 0.8125 kB / 0.5722 GB, free: 32.27 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.3601, allocations: 0 / 0.5722 GB, free: 32.27 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.683e-05/0.3601, allocations: 0.6875 kB / 0.5722 GB, free: 32.27 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.01249/0.3726, allocations: 3.716 MB / 0.5758 GB, free: 31.18 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.3727, allocations: 7.875 kB / 0.5758 GB, free: 31.18 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004325/0.377, allocations: 0.7422 MB / 0.5765 GB, free: 31.06 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002111/0.3792, allocations: 1.103 MB / 0.5776 GB, free: 30.61 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003882/0.3796, allocations: 429.3 kB / 0.578 GB, free: 30.25 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002059/0.3798, allocations: 108.1 kB / 0.5781 GB, free: 30.25 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002611/0.3824, allocations: 1.382 MB / 0.5795 GB, free: 29.98 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.092e-05/0.3824, allocations: 0 / 0.5795 GB, free: 29.98 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001126/0.3826, allocations: 40.59 kB / 0.5795 GB, free: 29.95 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.518e-05/0.3826, allocations: 20.88 kB / 0.5795 GB, free: 29.95 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002636/0.3852, allocations: 1.312 MB / 0.5808 GB, free: 29.51 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.008045/0.3933, allocations: 4.831 MB / 0.5855 GB, free: 26.71 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007588/0.4009, allocations: 2.85 MB / 0.5883 GB, free: 25.55 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001728/0.4026, allocations: 0.8899 MB / 0.5892 GB, free: 25.19 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001297/0.4028, allocations: 29.11 kB / 0.5892 GB, free: 25.18 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001954/0.4047, allocations: 1.036 MB / 0.5902 GB, free: 24.79 MB / 430.1 MB Notification: Performance of pre-optimization done (n=122): time 3.677e-06/0.4048, allocations: 0.5156 kB / 0.5902 GB, free: 24.79 MB / 430.1 MB Notification: Performance of matching and sorting (n=122): time 0.04093/0.4457, allocations: 9.669 MB / 0.5997 GB, free: 23.14 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.68e-05/0.4458, allocations: 122.5 kB / 0.5998 GB, free: 23.01 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002448/0.4483, allocations: 1.395 MB / 0.6011 GB, free: 22.45 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003096/0.4486, allocations: 51.69 kB / 0.6012 GB, free: 22.4 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003671/0.449, allocations: 0.5728 MB / 0.6017 GB, free: 21.95 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004443/0.4494, allocations: 452.5 kB / 0.6022 GB, free: 21.59 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006122/0.45, allocations: 335.9 kB / 0.6025 GB, free: 21.43 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.064e-05/0.4501, allocations: 302.3 kB / 0.6028 GB, free: 21.14 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001963/0.4521, allocations: 0.9614 MB / 0.6037 GB, free: 20.78 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002207/0.4543, allocations: 1.156 MB / 0.6049 GB, free: 20.26 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004071/0.4584, allocations: 2.049 MB / 0.6069 GB, free: 19.22 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/0.4584, allocations: 5.094 kB / 0.6069 GB, free: 19.22 MB / 430.1 MB Notification: Performance of matching and sorting (n=231) (initialization): time 0.01632/0.4747, allocations: 5.394 MB / 0.6121 GB, free: 16.59 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.295e-05/0.4748, allocations: 6.281 kB / 0.6121 GB, free: 16.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.765e-05/0.4748, allocations: 4.5 kB / 0.6121 GB, free: 16.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008896/0.4837, allocations: 2.876 MB / 0.6149 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001422/0.4851, allocations: 284.2 kB / 0.6152 GB, free: 14.15 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005853/0.491, allocations: 2.854 MB / 0.618 GB, free: 11.27 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002516/0.4935, allocations: 246.3 kB / 0.6182 GB, free: 11.03 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001575/0.4937, allocations: 71.97 kB / 0.6183 GB, free: 10.96 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.0005822/0.4943, allocations: 294.2 kB / 0.6186 GB, free: 10.66 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000271/0.4946, allocations: 154.7 kB / 0.6187 GB, free: 10.51 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01341/0.508, allocations: 4.733 MB / 0.6234 GB, free: 5.754 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.678e-05/0.5081, allocations: 14.66 kB / 0.6234 GB, free: 5.742 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.5081, allocations: 7.938 kB / 0.6234 GB, free: 5.734 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-05/0.5081, allocations: 7.969 kB / 0.6234 GB, free: 5.727 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.01631/0.5244, allocations: 6.796 MB / 0.63 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.565e-05/0.5245, allocations: 1.078 kB / 0.63 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009255/0.5254, allocations: 135.8 kB / 0.6302 GB, free: 14.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007044/0.5325, allocations: 2.146 MB / 0.6323 GB, free: 12.51 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002368/0.5327, allocations: 29.05 kB / 0.6323 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02231/0.555, allocations: 9.181 MB / 0.6412 GB, free: 3.16 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.5551, allocations: 7.938 kB / 0.6413 GB, free: 3.152 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01737/0.5725, allocations: 5.855 MB / 0.647 GB, free: 13.27 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000644/0.5732, allocations: 274.7 kB / 0.6472 GB, free: 12.98 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002905/0.5735, allocations: 28 kB / 0.6473 GB, free: 12.95 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001511/0.575, allocations: 127.8 kB / 0.6474 GB, free: 12.82 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000787/0.5758, allocations: 256.9 kB / 0.6476 GB, free: 12.57 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001028/0.5759, allocations: 37.23 kB / 0.6477 GB, free: 12.54 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001343/0.5772, allocations: 0.9379 MB / 0.6486 GB, free: 11.6 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5772, allocations: 2.156 kB / 0.6486 GB, free: 11.6 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001362/0.5786, allocations: 0.519 MB / 0.6491 GB, free: 11.08 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.0003135/0.5789, allocations: 153.1 kB / 0.6492 GB, free: 10.93 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008101/0.587, allocations: 2.811 MB / 0.652 GB, free: 8.121 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.5871, allocations: 0 / 0.652 GB, free: 8.121 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005851/0.5929, allocations: 1.868 MB / 0.6538 GB, free: 6.238 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001422/0.5944, allocations: 129.6 kB / 0.6539 GB, free: 6.113 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006067/0.6005, allocations: 3.487 MB / 0.6573 GB, free: 2.668 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000687/0.6012, allocations: 1.211 MB / 0.6585 GB, free: 1.426 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007708/0.602, allocations: 141.1 kB / 0.6586 GB, free: 1.289 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003356/0.6023, allocations: 87.41 kB / 0.6587 GB, free: 1.207 MB / 462.1 MB Notification: Performance of SimCode: time 1.312e-06/0.6023, allocations: 0 / 0.6587 GB, free: 1.207 MB / 462.1 MB Notification: Performance of Templates: time 0.0381/0.6404, allocations: 26.63 MB / 0.6847 GB, free: 6.734 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)