Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Renewable.PSSE.BESSPlant.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.Renewable.PSSE.BESSPlant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Renewable.PSSE.BESSPlant") translateModel(OpenIPSL.Tests.Renewable.PSSE.BESSPlant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Renewable.PSSE.BESSPlant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 113 kB / 16.42 MB, free: 6.457 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.356/1.356, allocations: 222.9 MB / 240.1 MB, free: 4.465 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.001275/0.001275, allocations: 188.5 kB / 290.4 MB, free: 2.176 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5155/0.5155, allocations: 91.89 MB / 432.4 MB, free: 9.133 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 81.11 kB / 0.5734 GB, free: 33.46 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1126, allocations: 71.28 MB / 0.643 GB, free: 3.566 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/Electrical/Sensors/PwVoltage.mo:3:3-4:73:writable] Warning: Components are deprecated in class. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/Electrical/Sensors/PwVoltage.mo:5:3-6:71:writable] Warning: Components are deprecated in class. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/Electrical/Sensors/PwVoltage.mo:7:3-8:72:writable] Warning: Components are deprecated in class. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/Electrical/Sensors/PwVoltage.mo:9:3-10:73:writable] Warning: Components are deprecated in class. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/Electrical/Sensors/PwVoltage.mo:12:3-12:11:writable] Warning: Equation sections are deprecated in class. Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Renewable.PSSE.BESSPlant): time 0.01286/0.1255, allocations: 12.71 MB / 0.6554 GB, free: 6.797 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00876/0.1342, allocations: 4.713 MB / 0.66 GB, free: 2.074 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001794/0.1361, allocations: 47.81 kB / 0.6601 GB, free: 2.027 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00124/0.1373, allocations: 0.5498 MB / 0.6606 GB, free: 1.473 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/Electrical/Renewables/PSSE/ElectricalController/REECCU1.mo:269:3-269:76:writable] Warning: In relation bESS.RenewableController.vref0 == 0.0, == on Real numbers is only allowed inside functions. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/Electrical/Renewables/PSSE/PlantController/REPCA1.mo:143:3-143:74:writable] Warning: In relation bESS.PlantController.Vref == 0.0, == on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeBindings: time 0.001949/0.1393, allocations: 0.869 MB / 0.6614 GB, free: 0.5977 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004329/0.1436, allocations: 2.672 MB / 0.6641 GB, free: 13.95 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.004039/0.1477, allocations: 4.253 MB / 0.6682 GB, free: 9.68 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001811/0.1495, allocations: 1.363 MB / 0.6695 GB, free: 8.262 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001793/0.1513, allocations: 1.529 MB / 0.671 GB, free: 6.727 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001601/0.1529, allocations: 1.684 MB / 0.6727 GB, free: 5.035 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005384/0.1535, allocations: 452 kB / 0.6731 GB, free: 4.594 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007133/0.1542, allocations: 0.5351 MB / 0.6736 GB, free: 4.059 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006616/0.1548, allocations: 0.9071 MB / 0.6745 GB, free: 3.148 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00133/0.1562, allocations: 1.718 MB / 0.6762 GB, free: 1.422 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004218/0.1604, allocations: 5.109 MB / 0.6812 GB, free: 12.3 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.1604, allocations: 0 / 0.6812 GB, free: 12.3 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1604, allocations: 0 / 0.6812 GB, free: 12.3 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.917e-05/0.1605, allocations: 0 / 0.6812 GB, free: 12.3 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 552 * Number of variables: 552 Notification: Performance of Generate backend data structure: time 0.0109/0.1714, allocations: 4.267 MB / 0.6854 GB, free: 7.957 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.1714, allocations: 12.03 kB / 0.6854 GB, free: 7.945 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003161/0.1746, allocations: 0.6791 MB / 0.686 GB, free: 7.262 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003464/0.1781, allocations: 2.101 MB / 0.6881 GB, free: 5.09 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005116/0.1786, allocations: 0.5241 MB / 0.6886 GB, free: 4.488 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003482/0.179, allocations: 223.9 kB / 0.6888 GB, free: 4.27 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006011/0.185, allocations: 3.052 MB / 0.6918 GB, free: 1.012 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.913e-05/0.185, allocations: 7.938 kB / 0.6918 GB, free: 1.004 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002389/0.1853, allocations: 107.9 kB / 0.6919 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.11e-05/0.1853, allocations: 56 kB / 0.6919 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006493/0.1918, allocations: 2.639 MB / 0.6945 GB, free: 14.19 MB / 0.4981 GB 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.01619/0.208, allocations: 10.67 MB / 0.7049 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01282/0.2209, allocations: 4.636 MB / 0.7095 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003277/0.2242, allocations: 1.35 MB / 0.7108 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001511/0.2243, allocations: 41.89 kB / 0.7108 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.182e-05/0.2244, allocations: 64.55 kB / 0.7109 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=187): time 4.068e-06/0.2244, allocations: 0 / 0.7109 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of matching and sorting (n=187): time 0.03998/0.2644, allocations: 9.836 MB / 0.7205 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004176/0.2648, allocations: 0.7282 MB / 0.7212 GB, free: 2.082 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004427/0.2693, allocations: 2.346 MB / 0.7235 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003628/0.2697, allocations: 69.62 kB / 0.7236 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009634/0.2706, allocations: 1.206 MB / 0.7247 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006954/0.2713, allocations: 0.6546 MB / 0.7254 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007646/0.2721, allocations: 440.2 kB / 0.7258 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.801e-05/0.2722, allocations: 309.1 kB / 0.7261 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003545/0.2758, allocations: 1.326 MB / 0.7274 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003869/0.2797, allocations: 1.847 MB / 0.7292 GB, free: 9.66 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00679/0.2865, allocations: 2.807 MB / 0.7319 GB, free: 6.746 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.359e-05/0.2865, allocations: 4 kB / 0.7319 GB, free: 6.742 MB / 0.5294 GB Notification: Performance of matching and sorting (n=290) (initialization): time 0.01908/0.3056, allocations: 5.7 MB / 0.7375 GB, free: 1.02 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.98e-05/0.3056, allocations: 9.25 kB / 0.7375 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.771e-05/0.3057, allocations: 8 kB / 0.7375 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006431/0.3121, allocations: 1.722 MB / 0.7392 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002357/0.3145, allocations: 491.2 kB / 0.7397 GB, free: 14.79 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03073/0.3452, allocations: 13.35 MB / 0.7527 GB, free: 1.012 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003205/0.3484, allocations: 413.6 kB / 0.7531 GB, free: 0.6055 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000436/0.3489, allocations: 91.97 kB / 0.7532 GB, free: 0.5156 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003661/0.3526, allocations: 1.41 MB / 0.7546 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002941/0.3555, allocations: 1.495 MB / 0.756 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004771/0.3603, allocations: 2.229 MB / 0.7582 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.347e-06/0.3604, allocations: 4 kB / 0.7582 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of matching and sorting (n=290) (initialization_lambda0): time 0.01475/0.3751, allocations: 4.558 MB / 0.7627 GB, free: 6.504 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.3752, allocations: 12.5 kB / 0.7627 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/0.3752, allocations: 12 kB / 0.7627 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005379/0.3806, allocations: 1.418 MB / 0.7641 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001967/0.3826, allocations: 427.4 kB / 0.7645 GB, free: 4.637 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.292/0.6746, allocations: 9.938 MB / 0.7742 GB, free: 106.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002625/0.6772, allocations: 301.4 kB / 0.7745 GB, free: 106.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001829/0.6774, allocations: 82.61 kB / 0.7746 GB, free: 106.9 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 13 (bESS.PlantController.pI_No_Windup_notVariable.or1.y,bESS.PlantController.pI_No_Windup_notVariable.or1.u2,bESS.PlantController.Voltage_dip,bESS.RenewableController.Voltage_dip,bESS.PlantController.pI_No_Windup_notVariable.integral.local_reset,bESS.PlantController.KIG.local_reset,bESS.RenewableController.integrator4.local_reset,bESS.RenewableController.integrator2.local_reset,bESS.RenewableController.integrator.local_reset,bESS.RenewableController.integrator1.local_reset,bESS.RenewableController.integrator3.local_reset,bESS.RenewableGenerator.integrator1.local_reset,bESS.RenewableGenerator.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (241): * Single equations (assignments): 238 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,8), (1,3), (18,21)} Notification: Performance of prepare postOptimizeDAE: time 0.0005668/0.678, allocations: 316.7 kB / 0.7749 GB, free: 106.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005101/0.6785, allocations: 271.5 kB / 0.7751 GB, free: 106.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01735/0.6959, allocations: 5.107 MB / 0.7801 GB, free: 106.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-05/0.696, allocations: 11.98 kB / 0.7801 GB, free: 106.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/0.696, allocations: 5.062 kB / 0.7801 GB, free: 106.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001072/0.6971, allocations: 387.2 kB / 0.7805 GB, free: 106.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006923/0.6978, allocations: 41.91 kB / 0.7805 GB, free: 106.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002367/0.7001, allocations: 262.6 kB / 0.7808 GB, free: 106.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00108/0.7012, allocations: 444.9 kB / 0.7812 GB, free: 106.5 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01188/0.7131, allocations: 4.21 MB / 0.7853 GB, free: 105.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009543/0.7227, allocations: 4.795 MB / 0.79 GB, free: 103.7 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00286/0.7256, allocations: 1.356 MB / 0.7913 GB, free: 103.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002196/0.7278, allocations: 1.581 MB / 0.7929 GB, free: 102.6 MB / 0.5606 GB Notification: Performance of Backend: time 5.51e-07/0.7278, allocations: 0 / 0.7929 GB, free: 102.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01308/0.7409, allocations: 5.485 MB / 0.7982 GB, free: 100.4 MB / 0.5606 GB Notification: Performance of SimCode: time 0.006172/0.7471, allocations: 5.63 MB / 0.8037 GB, free: 96.45 MB / 0.5606 GB Notification: Performance of Templates: time 0.08145/0.8285, allocations: 69.02 MB / 0.8711 GB, free: 27.76 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Renewable.PSSE.BESSPlant.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Renewable.PSSE.BESSPlant.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Renewable.PSSE.BESSPlant.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Renewable.PSSE.BESSPlant.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Renewable.PSSE.BESSPlant.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Renewable.PSSE.BESSPlant -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Renewable.PSSE.BESSPlant.pipe 2>&1)