Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Renewable.PSSE.PVPlant.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.PVPlant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Renewable.PSSE.PVPlant") translateModel(OpenIPSL.Tests.Renewable.PSSE.PVPlant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Renewable.PSSE.PVPlant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 119.1 kB / 16.42 MB, free: 6.504 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.439/1.439, allocations: 222.9 MB / 240.1 MB, free: 4.547 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.001574/0.001574, allocations: 188.5 kB / 290.4 MB, free: 2.262 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5381/0.5381, allocations: 91.91 MB / 432.4 MB, free: 9.215 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001711/0.001711, allocations: 79.78 kB / 0.5734 GB, free: 33.62 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.142/0.1437, allocations: 71.28 MB / 0.643 GB, free: 3.613 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.PVPlant): time 0.01506/0.1588, allocations: 11.81 MB / 0.6545 GB, free: 7.742 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.009929/0.1688, allocations: 4.062 MB / 0.6585 GB, free: 3.672 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002926/0.1718, allocations: 47.81 kB / 0.6586 GB, free: 3.625 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002019/0.1738, allocations: 427.6 kB / 0.659 GB, free: 3.203 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/Electrical/Renewables/PSSE/ElectricalController/REECB1.mo:202:3-202:76:writable] Warning: In relation pV.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 pV.PlantController.Vref == 0.0, == on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeBindings: time 0.0049/0.1787, allocations: 0.7407 MB / 0.6597 GB, free: 2.457 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006497/0.1853, allocations: 2.431 MB / 0.6621 GB, free: 44 kB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.007097/0.1924, allocations: 3.914 MB / 0.6659 GB, free: 12.12 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002952/0.1954, allocations: 1.268 MB / 0.6671 GB, free: 10.79 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002602/0.198, allocations: 1.413 MB / 0.6685 GB, free: 9.375 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00239/0.2004, allocations: 1.551 MB / 0.67 GB, free: 7.816 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001734/0.2022, allocations: 424 kB / 0.6704 GB, free: 7.402 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001858/0.204, allocations: 499.9 kB / 0.6709 GB, free: 6.914 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001429/0.2055, allocations: 0.8176 MB / 0.6717 GB, free: 6.094 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002415/0.2079, allocations: 1.586 MB / 0.6732 GB, free: 4.5 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006906/0.2149, allocations: 4.686 MB / 0.6778 GB, free: 15.8 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.2149, allocations: 0 / 0.6778 GB, free: 15.8 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.195e-06/0.2149, allocations: 0 / 0.6778 GB, free: 15.8 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0001909/0.2151, allocations: 0 / 0.6778 GB, free: 15.8 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: 516 * Number of variables: 516 Notification: Performance of Generate backend data structure: time 0.01356/0.2287, allocations: 4.038 MB / 0.6818 GB, free: 11.69 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/0.2287, allocations: 11.97 kB / 0.6818 GB, free: 11.68 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004046/0.2328, allocations: 0.6701 MB / 0.6824 GB, free: 11 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005364/0.2382, allocations: 1.943 MB / 0.6843 GB, free: 8.988 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007048/0.2389, allocations: 0.5082 MB / 0.6848 GB, free: 8.402 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009269/0.2399, allocations: 212 kB / 0.685 GB, free: 8.195 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008726/0.2486, allocations: 2.883 MB / 0.6878 GB, free: 5.125 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.809e-05/0.2488, allocations: 3.984 kB / 0.6878 GB, free: 5.121 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007247/0.2495, allocations: 92 kB / 0.6879 GB, free: 5.031 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.927e-05/0.2496, allocations: 55.88 kB / 0.688 GB, free: 4.977 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00738/0.257, allocations: 2.498 MB / 0.6904 GB, free: 2.477 MB / 494.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.01979/0.2768, allocations: 10.01 MB / 0.7002 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01188/0.2887, allocations: 4.453 MB / 0.7045 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003468/0.2922, allocations: 1.283 MB / 0.7058 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002277/0.2924, allocations: 41.94 kB / 0.7058 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.456e-05/0.2925, allocations: 64.5 kB / 0.7059 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=177): time 1.858e-05/0.2926, allocations: 0 / 0.7059 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of matching and sorting (n=177): time 0.03649/0.3291, allocations: 9.413 MB / 0.7151 GB, free: 8.637 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004275/0.3295, allocations: 0.7148 MB / 0.7158 GB, free: 7.758 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004811/0.3344, allocations: 2.011 MB / 0.7178 GB, free: 5.719 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0006667/0.3351, allocations: 61.7 kB / 0.7178 GB, free: 5.652 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.00122/0.3363, allocations: 1.112 MB / 0.7189 GB, free: 4.527 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001218/0.3375, allocations: 0.643 MB / 0.7195 GB, free: 3.879 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001539/0.3391, allocations: 431.8 kB / 0.7199 GB, free: 3.449 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.3392, allocations: 301.1 kB / 0.7202 GB, free: 3.152 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003266/0.3425, allocations: 1.263 MB / 0.7215 GB, free: 1.879 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003692/0.3462, allocations: 1.758 MB / 0.7232 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00614/0.3523, allocations: 2.677 MB / 0.7258 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.676e-05/0.3524, allocations: 4 kB / 0.7258 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of matching and sorting (n=276) (initialization): time 0.01681/0.3692, allocations: 5.448 MB / 0.7311 GB, free: 7.684 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.493e-05/0.3693, allocations: 11.94 kB / 0.7311 GB, free: 7.672 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.092e-05/0.3693, allocations: 12 kB / 0.7311 GB, free: 7.66 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00577/0.3751, allocations: 1.67 MB / 0.7328 GB, free: 5.98 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002232/0.3773, allocations: 463.3 kB / 0.7332 GB, free: 5.527 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02699/0.4043, allocations: 12.92 MB / 0.7458 GB, free: 8.176 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00294/0.4073, allocations: 394.3 kB / 0.7462 GB, free: 7.789 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004257/0.4078, allocations: 83.95 kB / 0.7463 GB, free: 7.707 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003402/0.4112, allocations: 1.316 MB / 0.7476 GB, free: 6.383 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002715/0.4139, allocations: 1.438 MB / 0.749 GB, free: 4.77 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004478/0.4184, allocations: 2.13 MB / 0.7511 GB, free: 2.539 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.707e-06/0.4184, allocations: 0 / 0.7511 GB, free: 2.539 MB / 0.545 GB Notification: Performance of matching and sorting (n=276) (initialization_lambda0): time 0.01323/0.4317, allocations: 4.427 MB / 0.7554 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.569e-05/0.4317, allocations: 14.94 kB / 0.7554 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.16e-05/0.4318, allocations: 8 kB / 0.7554 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005034/0.4368, allocations: 1.422 MB / 0.7568 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001888/0.4387, allocations: 403.4 kB / 0.7572 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02057/0.4593, allocations: 9.963 MB / 0.7669 GB, free: 2.004 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002908/0.4622, allocations: 290.8 kB / 0.7672 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003598/0.4626, allocations: 83.98 kB / 0.7673 GB, free: 1.637 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 12 (pV.PlantController.pI_No_Windup_notVariable.or1.y,pV.PlantController.pI_No_Windup_notVariable.or1.u2,pV.PlantController.Voltage_dip,pV.RenewableController.Voltage_dip,pV.PlantController.pI_No_Windup_notVariable.integral.local_reset,pV.PlantController.KIG.local_reset,pV.RenewableController.integrator3.local_reset,pV.RenewableController.integrator2.local_reset,pV.RenewableController.integrator1.local_reset,pV.RenewableController.integrator.local_reset,pV.RenewableGenerator.integrator1.local_reset,pV.RenewableGenerator.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (229): * Single equations (assignments): 226 * 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,6), (1,3), (18,21)} Notification: Performance of prepare postOptimizeDAE: time 0.0009057/0.4635, allocations: 310 kB / 0.7676 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008931/0.4644, allocations: 254.3 kB / 0.7678 GB, free: 1.074 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3575/0.8219, allocations: 4.856 MB / 0.7725 GB, free: 112.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.177e-05/0.822, allocations: 11.78 kB / 0.7726 GB, free: 112.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.822, allocations: 0 / 0.7726 GB, free: 112.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000822/0.8229, allocations: 375 kB / 0.7729 GB, free: 112.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006036/0.8235, allocations: 42.56 kB / 0.773 GB, free: 112.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002146/0.8256, allocations: 254.1 kB / 0.7732 GB, free: 112.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00115/0.8268, allocations: 432.9 kB / 0.7736 GB, free: 112.7 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01201/0.8388, allocations: 4.015 MB / 0.7775 GB, free: 112.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01058/0.8494, allocations: 4.572 MB / 0.782 GB, free: 111.3 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002994/0.8525, allocations: 1.288 MB / 0.7833 GB, free: 110.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003145/0.8557, allocations: 1.354 MB / 0.7846 GB, free: 110.3 MB / 0.5606 GB Notification: Performance of Backend: time 1.082e-06/0.8557, allocations: 0 / 0.7846 GB, free: 110.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01299/0.8687, allocations: 5.01 MB / 0.7895 GB, free: 108.3 MB / 0.5606 GB Notification: Performance of SimCode: time 0.008257/0.877, allocations: 5.246 MB / 0.7946 GB, free: 105.4 MB / 0.5606 GB Notification: Performance of Templates: time 0.08895/0.966, allocations: 64.6 MB / 0.8577 GB, free: 42.46 MB / 0.5606 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Renewable.PSSE.PVPlant.makefile (rm -f OpenIPSL_dev_OpenIPSL.Tests.Renewable.PSSE.PVPlant.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Renewable.PSSE.PVPlant.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Renewable.PSSE.PVPlant.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Renewable.PSSE.PVPlant.sim & ./OpenIPSL_dev_OpenIPSL.Tests.Renewable.PSSE.PVPlant -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_dev_OpenIPSL.Tests.Renewable.PSSE.PVPlant.pipe 2>&1)