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/Complex 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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/Complex 4.0.0+maint.om/package.mo): time 0.001661/0.001661, allocations: 183.1 kB / 15.98 MB, free: 5.77 MB / 13.93 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.7 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009862/0.0009861, allocations: 112.2 kB / 289.9 MB, free: 10.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.439/0.439, allocations: 78.48 MB / 418.5 MB, free: 8.832 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 67.89 kB / 497.4 MB, free: 10.72 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2566/0.2579, allocations: 68.12 MB / 0.5523 GB, free: 20.27 MB / 378.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Banks.PSSE.CSVGN1): time 0.006286/0.2643, allocations: 8.995 MB / 0.5611 GB, free: 11.23 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004397/0.2687, allocations: 2.75 MB / 0.5638 GB, free: 8.473 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001151/0.2699, allocations: 19.94 kB / 0.5638 GB, free: 8.453 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007345/0.2706, allocations: 262.3 kB / 0.564 GB, free: 8.195 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002359/0.273, allocations: 1.153 MB / 0.5652 GB, free: 7.047 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001249/0.2743, allocations: 0.7482 MB / 0.5659 GB, free: 6.305 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00174/0.276, allocations: 2.439 MB / 0.5683 GB, free: 3.863 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004667/0.2765, allocations: 430.5 kB / 0.5687 GB, free: 3.414 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007646/0.2773, allocations: 0.8751 MB / 0.5695 GB, free: 2.535 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008524/0.2781, allocations: 1.151 MB / 0.5707 GB, free: 1.379 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001944/0.2783, allocations: 112 kB / 0.5708 GB, free: 1.27 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000549/0.2789, allocations: 335.7 kB / 0.5711 GB, free: 0.9414 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002577/0.2792, allocations: 418.1 kB / 0.5715 GB, free: 0.5312 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006331/0.2798, allocations: 0.8931 MB / 0.5724 GB, free: 15.63 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00197/0.2818, allocations: 2.374 MB / 0.5747 GB, free: 13.25 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.2818, allocations: 0 / 0.5747 GB, free: 13.25 MB / 394.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.2818, allocations: 0 / 0.5747 GB, free: 13.25 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.847e-05/0.2818, allocations: 0 / 0.5747 GB, free: 13.25 MB / 394.7 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.01499/0.2968, allocations: 4.121 MB / 0.5787 GB, free: 9.07 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.2969, allocations: 8.031 kB / 0.5787 GB, free: 9.062 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004383/0.3013, allocations: 0.7625 MB / 0.5795 GB, free: 8.297 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001953/0.3032, allocations: 1.191 MB / 0.5806 GB, free: 7.055 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004063/0.3037, allocations: 429.1 kB / 0.581 GB, free: 6.566 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002058/0.3039, allocations: 127.9 kB / 0.5812 GB, free: 6.441 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002943/0.3068, allocations: 1.504 MB / 0.5826 GB, free: 4.887 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.05e-05/0.3069, allocations: 0 / 0.5826 GB, free: 4.887 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001242/0.307, allocations: 44 kB / 0.5827 GB, free: 4.844 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.873e-05/0.307, allocations: 27.94 kB / 0.5827 GB, free: 4.816 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003078/0.3101, allocations: 1.413 MB / 0.5841 GB, free: 3.395 MB / 394.7 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.008581/0.3187, allocations: 5.146 MB / 0.5891 GB, free: 14.04 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00854/0.3273, allocations: 3.133 MB / 0.5922 GB, free: 10.75 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002141/0.3294, allocations: 0.9621 MB / 0.5931 GB, free: 9.777 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000148/0.3296, allocations: 25.28 kB / 0.5931 GB, free: 9.75 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002196/0.3318, allocations: 1.111 MB / 0.5942 GB, free: 8.625 MB / 410.7 MB Notification: Performance of pre-optimization done (n=137): time 2.765e-06/0.3318, allocations: 0 / 0.5942 GB, free: 8.625 MB / 410.7 MB Notification: Performance of matching and sorting (n=137): time 0.05708/0.3889, allocations: 12.64 MB / 0.6065 GB, free: 11.93 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.229e-05/0.389, allocations: 124.1 kB / 0.6067 GB, free: 11.79 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002286/0.3913, allocations: 1.482 MB / 0.6081 GB, free: 10.3 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003592/0.3917, allocations: 57.7 kB / 0.6082 GB, free: 10.23 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004473/0.3921, allocations: 0.6282 MB / 0.6088 GB, free: 9.602 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005143/0.3927, allocations: 0.4892 MB / 0.6093 GB, free: 9.105 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006213/0.3933, allocations: 343.3 kB / 0.6096 GB, free: 8.762 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.254e-05/0.3934, allocations: 309.1 kB / 0.6099 GB, free: 8.457 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002189/0.3956, allocations: 0.9925 MB / 0.6109 GB, free: 7.461 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002329/0.3979, allocations: 1.212 MB / 0.612 GB, free: 6.195 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004401/0.4023, allocations: 2.169 MB / 0.6142 GB, free: 3.977 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/0.4024, allocations: 4 kB / 0.6142 GB, free: 3.973 MB / 426.7 MB Notification: Performance of matching and sorting (n=243) (initialization): time 0.01932/0.4217, allocations: 5.73 MB / 0.6198 GB, free: 14.23 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.562e-05/0.4218, allocations: 10.66 kB / 0.6198 GB, free: 14.22 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/0.4218, allocations: 8 kB / 0.6198 GB, free: 14.21 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01041/0.4322, allocations: 2.857 MB / 0.6226 GB, free: 11.35 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001478/0.4337, allocations: 287.6 kB / 0.6228 GB, free: 11.07 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007506/0.4412, allocations: 3.07 MB / 0.6258 GB, free: 7.973 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002417/0.4437, allocations: 266.2 kB / 0.6261 GB, free: 7.711 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001908/0.4439, allocations: 63.98 kB / 0.6261 GB, free: 7.648 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002627/0.4465, allocations: 1.211 MB / 0.6273 GB, free: 6.434 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002329/0.4489, allocations: 1.2 MB / 0.6285 GB, free: 5.184 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004535/0.4534, allocations: 2.149 MB / 0.6306 GB, free: 2.98 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.327e-06/0.4535, allocations: 0 / 0.6306 GB, free: 2.98 MB / 442.7 MB Notification: Performance of matching and sorting (n=243) (initialization_lambda0): time 0.01905/0.4725, allocations: 5.655 MB / 0.6361 GB, free: 13.3 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.4726, allocations: 15.92 kB / 0.6361 GB, free: 13.29 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-05/0.4726, allocations: 7.984 kB / 0.6361 GB, free: 13.28 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01025/0.4829, allocations: 2.834 MB / 0.6389 GB, free: 10.44 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001505/0.4844, allocations: 291.6 kB / 0.6392 GB, free: 10.16 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007704/0.4922, allocations: 2.99 MB / 0.6421 GB, free: 7.137 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002574/0.4948, allocations: 242.5 kB / 0.6423 GB, free: 6.898 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003204/0.4951, allocations: 67.97 kB / 0.6424 GB, free: 6.832 MB / 458.7 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.0005577/0.4957, allocations: 275.8 kB / 0.6427 GB, free: 6.555 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005616/0.4963, allocations: 169.8 kB / 0.6428 GB, free: 6.387 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01779/0.5141, allocations: 5.105 MB / 0.6478 GB, free: 1.266 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.631e-05/0.5142, allocations: 20 kB / 0.6478 GB, free: 1.246 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/0.5142, allocations: 0 / 0.6478 GB, free: 1.246 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.886e-05/0.5142, allocations: 7.969 kB / 0.6478 GB, free: 1.238 MB / 458.7 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.02253/0.5368, allocations: 7.352 MB / 0.655 GB, free: 9.727 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.827e-05/0.5368, allocations: 4 kB / 0.655 GB, free: 9.723 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008635/0.5377, allocations: 127.8 kB / 0.6552 GB, free: 9.598 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009654/0.5474, allocations: 2.543 MB / 0.6576 GB, free: 7.047 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003547/0.5478, allocations: 31.92 kB / 0.6577 GB, free: 7.016 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03109/0.5789, allocations: 10.88 MB / 0.6683 GB, free: 11.98 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.5789, allocations: 0 / 0.6683 GB, free: 11.98 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3475/0.9264, allocations: 44.8 MB / 0.712 GB, free: 98.66 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002894/0.9267, allocations: 286.7 kB / 0.7123 GB, free: 98.38 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002282/0.927, allocations: 28 kB / 0.7123 GB, free: 98.35 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00157/0.9285, allocations: 135.8 kB / 0.7125 GB, free: 98.21 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001115/0.9297, allocations: 277.3 kB / 0.7127 GB, free: 97.95 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001068/0.9298, allocations: 35.98 kB / 0.7128 GB, free: 97.91 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00124/0.931, allocations: 1.004 MB / 0.7137 GB, free: 96.91 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.931, allocations: 0.9844 kB / 0.7138 GB, free: 96.91 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003961/0.935, allocations: 1.455 MB / 0.7152 GB, free: 95.46 MB / 490.7 MB 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.0004183/0.9355, allocations: 172.5 kB / 0.7153 GB, free: 95.29 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0156/0.9511, allocations: 4.983 MB / 0.7202 GB, free: 90.34 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.9511, allocations: 0 / 0.7202 GB, free: 90.34 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005886/0.957, allocations: 2.035 MB / 0.7222 GB, free: 88.29 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001533/0.9586, allocations: 162.7 kB / 0.7223 GB, free: 88.13 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01077/0.9693, allocations: 5.619 MB / 0.7278 GB, free: 82.48 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007063/0.9701, allocations: 1.334 MB / 0.7291 GB, free: 81.11 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001343/0.9714, allocations: 178.8 kB / 0.7293 GB, free: 80.93 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003508/0.9718, allocations: 103.4 kB / 0.7294 GB, free: 80.83 MB / 490.7 MB Notification: Performance of SimCode: time 6.01e-07/0.9718, allocations: 0 / 0.7294 GB, free: 80.83 MB / 490.7 MB Notification: Performance of Templates: time 0.06592/1.038, allocations: 52.39 MB / 0.7806 GB, free: 28.49 MB / 490.7 MB 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 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Banks.PSSE.CSVGN1.pipe 2>&1)