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.001065/0.001065, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.574/1.574, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008103/0.0008103, allocations: 81.94 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1695/0.1695, allocations: 37.99 MB / 348.1 MB, free: 7.758 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.48e-05/1.483e-05, allocations: 0 / 410.6 MB, free: 46.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08988/0.08991, allocations: 56.32 MB / 466.9 MB, free: 6.562 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3304/0.4204, allocations: 99.03 MB / 0.5527 GB, free: 11.89 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.001509/0.422, allocations: 0.5704 MB / 0.5532 GB, free: 11.32 MB / 395.1 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.0516/0.4736, allocations: 20.71 MB / 0.5734 GB, free: 6.402 MB / 411.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.4736, allocations: 0 / 0.5734 GB, free: 6.402 MB / 411.1 MB Notification: Performance of Transformations before backend: time 3.09e-05/0.4737, allocations: 11.98 kB / 0.5735 GB, free: 6.391 MB / 411.1 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.00136/0.475, allocations: 0.6978 MB / 0.5741 GB, free: 5.645 MB / 411.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/0.4751, allocations: 8.031 kB / 0.5741 GB, free: 5.637 MB / 411.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001075/0.4762, allocations: 119.4 kB / 0.5743 GB, free: 5.52 MB / 411.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006279/0.4768, allocations: 390.5 kB / 0.5746 GB, free: 5.098 MB / 411.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.61e-05/0.4769, allocations: 12 kB / 0.5746 GB, free: 5.086 MB / 411.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.113e-05/0.4769, allocations: 15.94 kB / 0.5747 GB, free: 5.07 MB / 411.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000595/0.4775, allocations: 392.8 kB / 0.575 GB, free: 4.688 MB / 411.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006093/0.4781, allocations: 396.1 kB / 0.5754 GB, free: 4.266 MB / 411.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.4782, allocations: 0 / 0.5754 GB, free: 4.266 MB / 411.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.588e-05/0.4782, allocations: 8 kB / 0.5754 GB, free: 4.258 MB / 411.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.834e-05/0.4783, allocations: 16.42 kB / 0.5754 GB, free: 4.242 MB / 411.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002189/0.4805, allocations: 1.822 MB / 0.5772 GB, free: 2.316 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006365/0.4811, allocations: 345.4 kB / 0.5775 GB, free: 1.961 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001712/0.4813, allocations: 114.2 kB / 0.5776 GB, free: 1.844 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.316e-05/0.4813, allocations: 12.3 kB / 0.5777 GB, free: 1.832 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000342/0.4817, allocations: 249.4 kB / 0.5779 GB, free: 1.555 MB / 411.1 MB Notification: Performance of pre-optimization done (n=31): time 2.174e-06/0.4817, allocations: 0 / 0.5779 GB, free: 1.555 MB / 411.1 MB Notification: Performance of matching and sorting (n=31): time 0.0006391/0.4823, allocations: 340.9 kB / 0.5782 GB, free: 1.215 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001113/0.4825, allocations: 243.3 kB / 0.5785 GB, free: 0.9219 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003852/0.4829, allocations: 309.2 kB / 0.5787 GB, free: 0.6094 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 3.976e-05/0.4829, allocations: 37.64 kB / 0.5788 GB, free: 0.5664 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001473/0.4831, allocations: 203.9 kB / 0.579 GB, free: 372 kB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.037e-05/0.4831, allocations: 106.6 kB / 0.5791 GB, free: 264 kB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.725e-05/0.4832, allocations: 4.188 kB / 0.5791 GB, free: 260 kB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.4833, allocations: 342.8 kB / 0.5794 GB, free: 15.91 MB / 427.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001773/0.4835, allocations: 112.7 kB / 0.5795 GB, free: 15.8 MB / 427.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002655/0.4838, allocations: 250 kB / 0.5798 GB, free: 15.49 MB / 427.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002231/0.484, allocations: 150.7 kB / 0.5799 GB, free: 15.35 MB / 427.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.484, allocations: 0 / 0.5799 GB, free: 15.35 MB / 427.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000664/0.4847, allocations: 434.6 kB / 0.5803 GB, free: 14.92 MB / 427.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.562e-05/0.4848, allocations: 33.7 kB / 0.5803 GB, free: 14.88 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.4848, allocations: 8 kB / 0.5804 GB, free: 14.87 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.4848, allocations: 4.562 kB / 0.5804 GB, free: 14.87 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004045/0.4852, allocations: 107.8 kB / 0.5805 GB, free: 14.76 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.386e-05/0.4852, allocations: 4 kB / 0.5805 GB, free: 14.76 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003087/0.4856, allocations: 51.66 kB / 0.5805 GB, free: 14.71 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.185e-05/0.4856, allocations: 12 kB / 0.5805 GB, free: 14.7 MB / 427.1 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 (45): * Single equations (assignments): 44 * 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.0001382/0.4857, allocations: 132.8 kB / 0.5807 GB, free: 14.56 MB / 427.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.459e-05/0.4858, allocations: 35.62 kB / 0.5807 GB, free: 14.52 MB / 427.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006524/0.4865, allocations: 388.3 kB / 0.5811 GB, free: 14.14 MB / 427.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/0.4865, allocations: 4 kB / 0.5811 GB, free: 14.13 MB / 427.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.328e-06/0.4865, allocations: 0 / 0.5811 GB, free: 14.13 MB / 427.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/0.4865, allocations: 11.92 kB / 0.5811 GB, free: 14.12 MB / 427.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008457/0.4874, allocations: 0.859 MB / 0.5819 GB, free: 13.2 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.4874, allocations: 0 / 0.5819 GB, free: 13.2 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003165/0.4877, allocations: 84.02 kB / 0.582 GB, free: 13.12 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.4877, allocations: 4 kB / 0.582 GB, free: 13.12 MB / 427.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.613e-05/0.4878, allocations: 8 kB / 0.582 GB, free: 13.11 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.4878, allocations: 3.984 kB / 0.582 GB, free: 13.11 MB / 427.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.4878, allocations: 4 kB / 0.582 GB, free: 13.1 MB / 427.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005988/0.4884, allocations: 0.4956 MB / 0.5825 GB, free: 12.53 MB / 427.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001096/0.4885, allocations: 124.6 kB / 0.5826 GB, free: 12.39 MB / 427.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.186e-05/0.4886, allocations: 12 kB / 0.5826 GB, free: 12.38 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002323/0.4888, allocations: 27.97 kB / 0.5827 GB, free: 12.35 MB / 427.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.899e-05/0.4889, allocations: 43.89 kB / 0.5827 GB, free: 12.31 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.879e-05/0.489, allocations: 16 kB / 0.5827 GB, free: 12.29 MB / 427.1 MB Notification: Performance of sorting global known variables: time 0.0002546/0.4892, allocations: 244.6 kB / 0.5829 GB, free: 12.05 MB / 427.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4892, allocations: 7.938 kB / 0.583 GB, free: 12.05 MB / 427.1 MB Notification: Performance of remove unused functions: time 0.0004339/0.4897, allocations: 91.84 kB / 0.583 GB, free: 11.96 MB / 427.1 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 (40): * Single equations (assignments): 35 * 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.0008558/0.4905, allocations: 411.6 kB / 0.5834 GB, free: 11.57 MB / 427.1 MB Notification: Performance of simCode: created initialization part: time 0.0005292/0.4911, allocations: 371.7 kB / 0.5838 GB, free: 11.2 MB / 427.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4911, allocations: 3.938 kB / 0.5838 GB, free: 11.2 MB / 427.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002766/0.4914, allocations: 185.2 kB / 0.584 GB, free: 11.02 MB / 427.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004004/0.4918, allocations: 65.41 kB / 0.584 GB, free: 10.95 MB / 427.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001008/0.4928, allocations: 0.5139 MB / 0.5845 GB, free: 10.39 MB / 427.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004094/0.4932, allocations: 0.8276 MB / 0.5853 GB, free: 9.543 MB / 427.1 MB Notification: Performance of simCode: alias equations: time 0.0002654/0.4935, allocations: 87.2 kB / 0.5854 GB, free: 9.461 MB / 427.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/0.4936, allocations: 39.42 kB / 0.5855 GB, free: 9.422 MB / 427.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4936, allocations: 0 / 0.5855 GB, free: 9.422 MB / 427.1 MB Notification: Performance of Templates: time 0.008159/0.5018, allocations: 4.358 MB / 0.5897 GB, free: 5.062 MB / 427.1 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