Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|inverter.I|windFarm.p.1.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest") translateModel(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|inverter.I|windFarm.p.1.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00145/0.00145, allocations: 174.4 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.665/1.665, allocations: 205.2 MB / 219.4 MB, free: 14.26 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007587/0.0007588, allocations: 82.66 kB / 267.5 MB, free: 14.1 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1508/0.1508, allocations: 37.98 MB / 353.6 MB, free: 1.742 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.609e-05/2.612e-05, allocations: 4 kB / 417.7 MB, free: 29.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09413/0.09417, allocations: 56.31 MB / 474 MB, free: 4.801 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3424/0.4366, allocations: 99.69 MB / 0.5603 GB, free: 3.645 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00147/0.4381, allocations: 0.6864 MB / 0.561 GB, free: 3.344 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/Generic.mo:465:11-465:52:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/Generic.mo:468:7-475:13:writable] Warning: Returning false from overconstrained operator applied to array components having size zero: Connections.isRoot({}). Notification: Performance of FrontEnd - DAE generated: time 0.04892/0.4871, allocations: 20.82 MB / 0.5813 GB, free: 2.031 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.4871, allocations: 4 kB / 0.5813 GB, free: 2.027 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.469e-05/0.4872, allocations: 7.938 kB / 0.5813 GB, free: 2.02 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001132/0.4883, allocations: 0.6965 MB / 0.582 GB, free: 1.301 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.251e-05/0.4884, allocations: 12.03 kB / 0.582 GB, free: 1.289 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009536/0.4893, allocations: 115.4 kB / 0.5821 GB, free: 1.176 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006256/0.49, allocations: 400.1 kB / 0.5825 GB, free: 0.7969 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.849e-05/0.49, allocations: 20.44 kB / 0.5825 GB, free: 0.7852 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.997e-05/0.4901, allocations: 19.86 kB / 0.5825 GB, free: 0.7695 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006509/0.4907, allocations: 432.1 kB / 0.5829 GB, free: 436 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.399e-05/0.4907, allocations: 7.922 kB / 0.5829 GB, free: 428 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.776e-05/0.4908, allocations: 15.81 kB / 0.583 GB, free: 416 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.644e-05/0.4908, allocations: 19.5 kB / 0.583 GB, free: 400 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007081/0.4915, allocations: 467.6 kB / 0.5834 GB, free: 60 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002398/0.4939, allocations: 1.837 MB / 0.5852 GB, free: 14.41 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008835/0.4948, allocations: 363.3 kB / 0.5856 GB, free: 14.14 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002259/0.4951, allocations: 118.1 kB / 0.5857 GB, free: 14.06 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.498e-05/0.4951, allocations: 4.234 kB / 0.5857 GB, free: 14.05 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003983/0.4955, allocations: 256.6 kB / 0.5859 GB, free: 13.82 MB / 394.7 MB Notification: Performance of pre-optimization done (n=30): time 4.168e-06/0.4956, allocations: 7.922 kB / 0.5859 GB, free: 13.82 MB / 394.7 MB Notification: Performance of matching and sorting (n=30): time 0.0007738/0.4963, allocations: 353.1 kB / 0.5863 GB, free: 13.54 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001411/0.4965, allocations: 243.2 kB / 0.5865 GB, free: 13.25 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004555/0.497, allocations: 351.9 kB / 0.5868 GB, free: 12.97 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.299e-05/0.497, allocations: 40.89 kB / 0.5869 GB, free: 12.93 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000133/0.4972, allocations: 198.8 kB / 0.5871 GB, free: 12.79 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.458e-05/0.4973, allocations: 100.9 kB / 0.5872 GB, free: 12.7 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.271e-05/0.4973, allocations: 10.62 kB / 0.5872 GB, free: 12.7 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.4975, allocations: 351.6 kB / 0.5875 GB, free: 12.36 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002258/0.4977, allocations: 112.2 kB / 0.5876 GB, free: 12.29 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003444/0.498, allocations: 261.4 kB / 0.5879 GB, free: 12.03 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003343/0.4984, allocations: 189.4 kB / 0.588 GB, free: 11.89 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.4984, allocations: 0 / 0.588 GB, free: 11.89 MB / 394.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008024/0.4992, allocations: 490.2 kB / 0.5885 GB, free: 11.5 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.024e-05/0.4993, allocations: 33.7 kB / 0.5885 GB, free: 11.46 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.4993, allocations: 4 kB / 0.5885 GB, free: 11.46 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.4993, allocations: 8 kB / 0.5886 GB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003687/0.4997, allocations: 103.8 kB / 0.5887 GB, free: 11.35 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.049e-05/0.4997, allocations: 11.94 kB / 0.5887 GB, free: 11.34 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002955/0.5, allocations: 59.03 kB / 0.5887 GB, free: 11.29 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.786e-05/0.5001, allocations: 27.27 kB / 0.5887 GB, free: 11.27 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition2,$PRE.windFarm.wind.nextTimeEvent,$whenCondition1,windFarm.wind.nextTimeEvent,$PRE.windFarm.wind.nextTimeEventScaled,windFarm.wind.nextTimeEventScaled,$PRE.windFarm.disturbance.T_start,windFarm.disturbance.T_start,$PRE.windFarm.disturbance.count,windFarm.disturbance.count,system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001194/0.5002, allocations: 127.9 kB / 0.5889 GB, free: 11.14 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.365e-05/0.5003, allocations: 39.53 kB / 0.5889 GB, free: 11.11 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006746/0.5009, allocations: 416.6 kB / 0.5893 GB, free: 10.79 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.014e-06/0.501, allocations: 4 kB / 0.5893 GB, free: 10.79 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.501, allocations: 0 / 0.5893 GB, free: 10.79 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.501, allocations: 4 kB / 0.5893 GB, free: 10.79 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008492/0.5018, allocations: 0.909 MB / 0.5902 GB, free: 9.941 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.5019, allocations: 4 kB / 0.5902 GB, free: 9.938 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003042/0.5022, allocations: 83.27 kB / 0.5903 GB, free: 9.859 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.084e-05/0.5022, allocations: 4 kB / 0.5903 GB, free: 9.855 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.058e-05/0.5022, allocations: 15.48 kB / 0.5903 GB, free: 9.844 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.58e-06/0.5023, allocations: 12.08 kB / 0.5903 GB, free: 9.832 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.5023, allocations: 0 / 0.5903 GB, free: 9.832 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006084/0.5029, allocations: 0.5183 MB / 0.5908 GB, free: 9.34 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.992e-05/0.503, allocations: 124.1 kB / 0.5909 GB, free: 9.207 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.956e-05/0.5031, allocations: 18.36 kB / 0.591 GB, free: 9.195 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002294/0.5033, allocations: 35.34 kB / 0.591 GB, free: 9.164 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.753e-05/0.5034, allocations: 38.53 kB / 0.591 GB, free: 9.133 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.934e-05/0.5034, allocations: 19.55 kB / 0.591 GB, free: 9.117 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002601/0.5037, allocations: 270.9 kB / 0.5913 GB, free: 8.918 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.5037, allocations: 0 / 0.5913 GB, free: 8.918 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004296/0.5041, allocations: 108.3 kB / 0.5914 GB, free: 8.824 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (system.initime,$whenCondition2,$whenCondition1,windFarm.wind.nextTimeEvent,windFarm.wind.nextTimeEventScaled,windFarm.disturbance.T_start,windFarm.disturbance.count) * Number of discrete states: 3 (windFarm.disturbance.count,windFarm.wind.nextTimeEvent,windFarm.wind.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009865/0.5051, allocations: 440.7 kB / 0.5918 GB, free: 8.449 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005422/0.5057, allocations: 386.5 kB / 0.5922 GB, free: 8.156 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.5057, allocations: 0 / 0.5922 GB, free: 8.156 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002766/0.506, allocations: 184.7 kB / 0.5924 GB, free: 8.035 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003771/0.5064, allocations: 67.25 kB / 0.5924 GB, free: 7.988 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009287/0.5073, allocations: 0.5496 MB / 0.593 GB, free: 7.488 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003808/0.5077, allocations: 0.8325 MB / 0.5938 GB, free: 6.645 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002401/0.5079, allocations: 91.2 kB / 0.5939 GB, free: 6.555 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001142/0.5081, allocations: 43.41 kB / 0.5939 GB, free: 6.516 MB / 394.7 MB Notification: Performance of SimCode: time 4.11e-07/0.5081, allocations: 0 / 0.5939 GB, free: 6.516 MB / 394.7 MB Notification: Performance of Templates: time 0.008714/0.5168, allocations: 4.685 MB / 0.5985 GB, free: 1.836 MB / 394.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.sim & ./PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.mat","../files/PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches