Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Banks.PSSE.CSVGN1.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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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.Banks.PSSE.CSVGN1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Banks.PSSE.CSVGN1") translateModel(OpenIPSL.Tests.Banks.PSSE.CSVGN1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Banks.PSSE.CSVGN1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 109.2 kB / 16.36 MB, free: 6.336 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.254/1.254, allocations: 222.9 MB / 240 MB, free: 4.57 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.001208/0.001208, allocations: 192.5 kB / 290.3 MB, free: 2.293 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4759/0.4759, allocations: 91.9 MB / 432.4 MB, free: 9.191 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 83.88 kB / 0.5033 GB, free: 6.992 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3174/0.3189, allocations: 71.26 MB / 0.5729 GB, free: 37.21 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Banks.PSSE.CSVGN1): time 0.006511/0.3255, allocations: 8.654 MB / 0.5813 GB, free: 31.67 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004148/0.3297, allocations: 2.697 MB / 0.584 GB, free: 29.77 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000634/0.3303, allocations: 20.75 kB / 0.584 GB, free: 29.77 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006876/0.331, allocations: 341.2 kB / 0.5843 GB, free: 29.58 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001775/0.3328, allocations: 1.058 MB / 0.5853 GB, free: 28.89 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001346/0.3342, allocations: 0.9046 MB / 0.5862 GB, free: 28.43 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001573/0.3357, allocations: 2.39 MB / 0.5886 GB, free: 27.27 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004841/0.3362, allocations: 481.6 kB / 0.589 GB, free: 27.05 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008264/0.3371, allocations: 0.9464 MB / 0.5899 GB, free: 26.59 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001043/0.3381, allocations: 1.209 MB / 0.5911 GB, free: 26.01 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002622/0.3384, allocations: 197.8 kB / 0.5913 GB, free: 26.01 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006141/0.339, allocations: 425.4 kB / 0.5917 GB, free: 25.94 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003018/0.3393, allocations: 0.4889 MB / 0.5922 GB, free: 25.62 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006144/0.3399, allocations: 0.972 MB / 0.5931 GB, free: 24.96 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001764/0.3417, allocations: 2.456 MB / 0.5955 GB, free: 23.88 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.3417, allocations: 0 / 0.5955 GB, free: 23.88 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3417, allocations: 0 / 0.5955 GB, free: 23.88 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.006e-05/0.3418, allocations: 1.625 kB / 0.5955 GB, free: 23.88 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: 261 * Number of variables: 261 Notification: Performance of Generate backend data structure: time 0.01172/0.3535, allocations: 3.772 MB / 0.5992 GB, free: 22.31 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.3535, allocations: 10.12 kB / 0.5992 GB, free: 22.31 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004323/0.3579, allocations: 0.7562 MB / 0.6 GB, free: 22.13 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001867/0.3597, allocations: 1.195 MB / 0.6011 GB, free: 21.37 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003605/0.3601, allocations: 430.9 kB / 0.6015 GB, free: 20.98 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002275/0.3604, allocations: 125.4 kB / 0.6017 GB, free: 20.93 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002853/0.3632, allocations: 1.506 MB / 0.6031 GB, free: 20.32 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.156e-05/0.3633, allocations: 0 / 0.6031 GB, free: 20.32 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001139/0.3634, allocations: 45.64 kB / 0.6032 GB, free: 20.29 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.446e-05/0.3634, allocations: 25.62 kB / 0.6032 GB, free: 20.29 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002994/0.3664, allocations: 1.412 MB / 0.6046 GB, free: 19.81 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.008476/0.3749, allocations: 5.11 MB / 0.6096 GB, free: 16.91 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007622/0.3825, allocations: 3.139 MB / 0.6126 GB, free: 15.52 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001724/0.3843, allocations: 0.9671 MB / 0.6136 GB, free: 15.14 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001482/0.3844, allocations: 29.45 kB / 0.6136 GB, free: 15.13 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00207/0.3865, allocations: 1.103 MB / 0.6147 GB, free: 14.72 MB / 430.1 MB Notification: Performance of pre-optimization done (n=137): time 3.697e-06/0.3865, allocations: 0 / 0.6147 GB, free: 14.72 MB / 430.1 MB Notification: Performance of matching and sorting (n=137): time 0.04695/0.4335, allocations: 12.64 MB / 0.627 GB, free: 6.453 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.653e-05/0.4336, allocations: 132 kB / 0.6272 GB, free: 6.301 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001917/0.4355, allocations: 1.486 MB / 0.6286 GB, free: 4.805 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001934/0.4357, allocations: 49.7 kB / 0.6287 GB, free: 4.75 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003157/0.436, allocations: 0.6321 MB / 0.6293 GB, free: 4.113 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003575/0.4364, allocations: 496.9 kB / 0.6298 GB, free: 3.621 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00052/0.4369, allocations: 343.4 kB / 0.6301 GB, free: 3.281 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.461e-05/0.4369, allocations: 301.1 kB / 0.6304 GB, free: 2.984 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001723/0.4387, allocations: 1 MB / 0.6313 GB, free: 1.98 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001831/0.4405, allocations: 1.21 MB / 0.6325 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003857/0.4444, allocations: 2.173 MB / 0.6346 GB, free: 14.49 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.4444, allocations: 0 / 0.6346 GB, free: 14.49 MB / 446.1 MB Notification: Performance of matching and sorting (n=243) (initialization): time 0.01687/0.4613, allocations: 5.733 MB / 0.6402 GB, free: 8.742 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.516e-05/0.4613, allocations: 8 kB / 0.6403 GB, free: 8.734 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/0.4614, allocations: 4 kB / 0.6403 GB, free: 8.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009276/0.4706, allocations: 2.857 MB / 0.643 GB, free: 5.863 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001458/0.4721, allocations: 295.5 kB / 0.6433 GB, free: 5.574 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006925/0.4791, allocations: 3.068 MB / 0.6463 GB, free: 2.48 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002697/0.4818, allocations: 266.2 kB / 0.6466 GB, free: 2.219 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001977/0.482, allocations: 67.97 kB / 0.6466 GB, free: 2.152 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002543/0.4846, allocations: 1.211 MB / 0.6478 GB, free: 0.9375 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0021/0.4867, allocations: 1.2 MB / 0.649 GB, free: 15.68 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004007/0.4907, allocations: 2.145 MB / 0.6511 GB, free: 13.48 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.613e-06/0.4907, allocations: 4 kB / 0.6511 GB, free: 13.48 MB / 462.1 MB Notification: Performance of matching and sorting (n=243) (initialization_lambda0): time 0.01668/0.5074, allocations: 5.648 MB / 0.6566 GB, free: 7.812 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.5074, allocations: 11.88 kB / 0.6566 GB, free: 7.801 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/0.5075, allocations: 4 kB / 0.6566 GB, free: 7.797 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008703/0.5162, allocations: 2.842 MB / 0.6594 GB, free: 4.953 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001329/0.5175, allocations: 279.6 kB / 0.6597 GB, free: 4.68 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006282/0.5238, allocations: 2.998 MB / 0.6626 GB, free: 1.652 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002251/0.5261, allocations: 238.5 kB / 0.6628 GB, free: 1.418 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001482/0.5262, allocations: 67.97 kB / 0.6629 GB, free: 1.352 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition2,$whenCondition1,cSVGN1.leadLagLim.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (169): * Single equations (assignments): 168 * 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 {(31,44)} Notification: Performance of prepare postOptimizeDAE: time 0.0004642/0.5267, allocations: 269 kB / 0.6631 GB, free: 1.082 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002852/0.527, allocations: 173.8 kB / 0.6633 GB, free: 0.9102 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01522/0.5422, allocations: 5.113 MB / 0.6683 GB, free: 11.77 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-05/0.5423, allocations: 12 kB / 0.6683 GB, free: 11.76 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.5423, allocations: 4 kB / 0.6683 GB, free: 11.76 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.109e-05/0.5423, allocations: 7.969 kB / 0.6683 GB, free: 11.75 MB / 478.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.01809/0.5604, allocations: 7.336 MB / 0.6755 GB, free: 4.254 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.175e-06/0.5604, allocations: 0 / 0.6755 GB, free: 4.254 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006747/0.5611, allocations: 131.8 kB / 0.6756 GB, free: 4.125 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00782/0.5689, allocations: 2.539 MB / 0.6781 GB, free: 1.582 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001774/0.5691, allocations: 35.92 kB / 0.6781 GB, free: 1.547 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02744/0.5966, allocations: 11.9 MB / 0.6898 GB, free: 5.484 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.5966, allocations: 0 / 0.6898 GB, free: 5.484 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01835/0.615, allocations: 6.286 MB / 0.6959 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009236/0.616, allocations: 282.7 kB / 0.6962 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002675/0.6162, allocations: 31.94 kB / 0.6962 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001574/0.6178, allocations: 143.8 kB / 0.6963 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000858/0.6187, allocations: 273.5 kB / 0.6966 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001125/0.6188, allocations: 35.98 kB / 0.6966 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001496/0.6203, allocations: 1.004 MB / 0.6976 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.81e-07/0.6203, allocations: 4 kB / 0.6976 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002212/0.6225, allocations: 0.8934 MB / 0.6985 GB, free: 12.5 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENSAL.w,gENSAL.delta,gENSAL.Epq,gENSAL.PSIkd,gENSAL.PSIppq,cSVGN1.LagLim.state,cSVGN1.leadLag.TF.x_scaled[1],cSVGN1.leadLagLim.integrator.y) * 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 (75): * Single equations (assignments): 74 * 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 {(27,41)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003736/0.6229, allocations: 147.1 kB / 0.6986 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01473/0.6376, allocations: 5.045 MB / 0.7035 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.896e-06/0.6377, allocations: 4 kB / 0.7036 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00615/0.6439, allocations: 2.078 MB / 0.7056 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001461/0.6453, allocations: 156.8 kB / 0.7057 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005424/0.6508, allocations: 3.155 MB / 0.7088 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007427/0.6515, allocations: 1.268 MB / 0.7101 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000694/0.6522, allocations: 166.8 kB / 0.7102 GB, free: 416 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003124/0.6526, allocations: 103.4 kB / 0.7103 GB, free: 312 kB / 0.4981 GB Notification: Performance of SimCode: time 1.212e-06/0.6526, allocations: 0 / 0.7103 GB, free: 312 kB / 0.4981 GB Notification: Performance of Templates: time 0.05544/0.708, allocations: 39.85 MB / 0.7492 GB, free: 8.453 MB / 0.545 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Banks.PSSE.CSVGN1.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Banks.PSSE.CSVGN1.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Banks.PSSE.CSVGN1.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Banks.PSSE.CSVGN1.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Banks.PSSE.CSVGN1.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Banks.PSSE.CSVGN1 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Banks.PSSE.CSVGN1.pipe 2>&1)