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.001485/0.001484, allocations: 172.5 kB / 17.4 MB, free: 4.305 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.57/1.57, allocations: 205.4 MB / 223.5 MB, free: 9.02 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.0007673/0.0007672, allocations: 79.92 kB / 271.9 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1685/0.1685, allocations: 38.09 MB / 358.3 MB, free: 1.723 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003973/0.0003974, allocations: 12 kB / 425.2 MB, free: 37.37 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2748/0.2752, allocations: 56.32 MB / 481.6 MB, free: 9.59 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1396/0.4148, allocations: 99.84 MB / 0.5678 GB, free: 2.422 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.001972/0.4168, allocations: 0.8704 MB / 0.5686 GB, free: 1.555 MB / 394.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.05324/0.4701, allocations: 20.95 MB / 0.5891 GB, free: 12.38 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.983e-06/0.4701, allocations: 0 / 0.5891 GB, free: 12.38 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.484e-05/0.4702, allocations: 12 kB / 0.5891 GB, free: 12.36 MB / 426.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.001528/0.4717, allocations: 0.7524 MB / 0.5898 GB, free: 11.55 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.4718, allocations: 12.03 kB / 0.5898 GB, free: 11.54 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001096/0.4729, allocations: 124.4 kB / 0.59 GB, free: 11.42 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007056/0.4736, allocations: 403.6 kB / 0.5903 GB, free: 10.98 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.989e-05/0.4736, allocations: 20.92 kB / 0.5904 GB, free: 10.96 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.263e-05/0.4737, allocations: 20.38 kB / 0.5904 GB, free: 10.94 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009106/0.4746, allocations: 481.7 kB / 0.5908 GB, free: 10.44 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.4746, allocations: 192 / 0.5908 GB, free: 10.44 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.378e-05/0.4747, allocations: 15.94 kB / 0.5909 GB, free: 10.42 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.32e-05/0.4747, allocations: 16.42 kB / 0.5909 GB, free: 10.41 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001153/0.4759, allocations: 0.5519 MB / 0.5914 GB, free: 9.855 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002352/0.4783, allocations: 1.838 MB / 0.5932 GB, free: 7.902 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001119/0.4794, allocations: 445.8 kB / 0.5936 GB, free: 7.449 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003708/0.4798, allocations: 158.1 kB / 0.5938 GB, free: 7.289 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.12e-05/0.4798, allocations: 20.16 kB / 0.5938 GB, free: 7.27 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005286/0.4804, allocations: 294 kB / 0.5941 GB, free: 6.949 MB / 426.7 MB Notification: Performance of pre-optimization done (n=30): time 2.324e-06/0.4804, allocations: 0 / 0.5941 GB, free: 6.949 MB / 426.7 MB Notification: Performance of matching and sorting (n=30): time 0.00138/0.4818, allocations: 0.5874 MB / 0.5947 GB, free: 6.355 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001224/0.4819, allocations: 239.3 kB / 0.5949 GB, free: 6.066 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004816/0.4824, allocations: 397.6 kB / 0.5953 GB, free: 5.668 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.268e-05/0.4824, allocations: 37.7 kB / 0.5953 GB, free: 5.625 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001453/0.4826, allocations: 196.3 kB / 0.5955 GB, free: 5.43 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.834e-05/0.4827, allocations: 106.7 kB / 0.5956 GB, free: 5.324 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.068e-05/0.4827, allocations: 12 kB / 0.5956 GB, free: 5.312 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.4829, allocations: 346.8 kB / 0.5959 GB, free: 4.965 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004271/0.4833, allocations: 160.3 kB / 0.5961 GB, free: 4.805 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004586/0.4838, allocations: 309.5 kB / 0.5964 GB, free: 4.441 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008915/0.4847, allocations: 0.4937 MB / 0.5969 GB, free: 3.883 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.4847, allocations: 4 kB / 0.5969 GB, free: 3.879 MB / 426.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001105/0.4858, allocations: 0.5574 MB / 0.5974 GB, free: 3.309 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.771e-05/0.4859, allocations: 37.64 kB / 0.5974 GB, free: 3.266 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.4859, allocations: 12.02 kB / 0.5975 GB, free: 3.254 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/0.4859, allocations: 11.94 kB / 0.5975 GB, free: 3.242 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003755/0.4863, allocations: 103.8 kB / 0.5976 GB, free: 3.141 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-05/0.4863, allocations: 4 kB / 0.5976 GB, free: 3.137 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003108/0.4866, allocations: 63.66 kB / 0.5976 GB, free: 3.074 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.328e-05/0.4867, allocations: 16 kB / 0.5976 GB, free: 3.059 MB / 426.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 () * Number of clocked 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.0002219/0.4869, allocations: 189.6 kB / 0.5978 GB, free: 2.863 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.704e-05/0.487, allocations: 47.52 kB / 0.5979 GB, free: 2.816 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001043/0.4881, allocations: 484.5 kB / 0.5983 GB, free: 2.34 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.518e-06/0.4881, allocations: 15.94 kB / 0.5984 GB, free: 2.324 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.4881, allocations: 0 / 0.5984 GB, free: 2.324 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.168e-06/0.4881, allocations: 7.984 kB / 0.5984 GB, free: 2.316 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009181/0.489, allocations: 0.9131 MB / 0.5993 GB, free: 1.332 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-06/0.489, allocations: 0 / 0.5993 GB, free: 1.332 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003111/0.4894, allocations: 88 kB / 0.5993 GB, free: 1.246 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.4894, allocations: 0 / 0.5993 GB, free: 1.246 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.279e-05/0.4894, allocations: 19.98 kB / 0.5994 GB, free: 1.227 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/0.4894, allocations: 4 kB / 0.5994 GB, free: 1.223 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.4894, allocations: 3.938 kB / 0.5994 GB, free: 1.219 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009791/0.4904, allocations: 0.539 MB / 0.5999 GB, free: 0.6445 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001048/0.4905, allocations: 124.6 kB / 0.6 GB, free: 0.5039 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.322e-05/0.4906, allocations: 12 kB / 0.6 GB, free: 0.4922 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002406/0.4909, allocations: 39.97 kB / 0.6001 GB, free: 464 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/0.491, allocations: 35.89 kB / 0.6001 GB, free: 428 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.269e-05/0.491, allocations: 19.98 kB / 0.6001 GB, free: 408 kB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000313/0.4914, allocations: 283.1 kB / 0.6004 GB, free: 124 kB / 426.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4914, allocations: 0 / 0.6004 GB, free: 124 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004566/0.4918, allocations: 123.7 kB / 0.6005 GB, free: 0 / 426.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) * Number of clocked states: 0 () * 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.001044/0.4929, allocations: 471.8 kB / 0.6009 GB, free: 15.6 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0009346/0.4938, allocations: 479.8 kB / 0.6014 GB, free: 15.12 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4938, allocations: 3.938 kB / 0.6014 GB, free: 15.11 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004677/0.4943, allocations: 236.4 kB / 0.6016 GB, free: 14.88 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004966/0.4948, allocations: 69.38 kB / 0.6017 GB, free: 14.82 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001308/0.4961, allocations: 0.8524 MB / 0.6025 GB, free: 13.91 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004112/0.4966, allocations: 0.8239 MB / 0.6033 GB, free: 13.06 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002788/0.4969, allocations: 83.22 kB / 0.6034 GB, free: 12.98 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001164/0.497, allocations: 43.42 kB / 0.6035 GB, free: 12.94 MB / 442.7 MB Notification: Performance of SimCode: time 3.2e-07/0.497, allocations: 0 / 0.6035 GB, free: 12.94 MB / 442.7 MB Notification: Performance of Templates: time 0.009801/0.5068, allocations: 4.71 MB / 0.6081 GB, free: 8.227 MB / 442.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/jenkins1/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