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.00103/0.001029, allocations: 180.9 kB / 16.39 MB, free: 5.766 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.278/1.278, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.0008113/0.0008113, allocations: 87.17 kB / 270.8 MB, free: 8.379 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1702/0.1702, allocations: 38.07 MB / 357.2 MB, free: 1.883 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002704/0.0002704, allocations: 8 kB / 424 MB, free: 37.68 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.247/0.2473, allocations: 56.32 MB / 480.3 MB, free: 9.547 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1184/0.3657, allocations: 99.79 MB / 0.5665 GB, free: 2.621 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.001665/0.3674, allocations: 0.851 MB / 0.5673 GB, free: 1.77 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.04799/0.4154, allocations: 20.92 MB / 0.5878 GB, free: 12.61 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4155, allocations: 7.938 kB / 0.5878 GB, free: 12.61 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.946e-05/0.4155, allocations: 8 kB / 0.5878 GB, free: 12.6 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.001177/0.4167, allocations: 0.7562 MB / 0.5885 GB, free: 11.79 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.4167, allocations: 12.03 kB / 0.5885 GB, free: 11.78 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009293/0.4177, allocations: 115.4 kB / 0.5886 GB, free: 11.66 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005827/0.4183, allocations: 394.6 kB / 0.589 GB, free: 11.23 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.549e-05/0.4183, allocations: 16.55 kB / 0.589 GB, free: 11.22 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.37e-05/0.4184, allocations: 24 kB / 0.5891 GB, free: 11.2 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007684/0.4191, allocations: 473.2 kB / 0.5895 GB, free: 10.7 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.812e-06/0.4192, allocations: 0 / 0.5895 GB, free: 10.7 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.334e-05/0.4192, allocations: 11.95 kB / 0.5895 GB, free: 10.69 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.293e-05/0.4192, allocations: 28.36 kB / 0.5895 GB, free: 10.66 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001007/0.4203, allocations: 0.5402 MB / 0.5901 GB, free: 10.12 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00197/0.4222, allocations: 1.846 MB / 0.5919 GB, free: 8.156 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001013/0.4233, allocations: 445.7 kB / 0.5923 GB, free: 7.703 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.4233, allocations: 8.219 kB / 0.5923 GB, free: 7.695 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005231/0.4238, allocations: 294 kB / 0.5926 GB, free: 7.375 MB / 426.7 MB Notification: Performance of pre-optimization done (n=30): time 1.703e-06/0.4238, allocations: 0 / 0.5926 GB, free: 7.375 MB / 426.7 MB Notification: Performance of matching and sorting (n=30): time 0.001228/0.4251, allocations: 0.5833 MB / 0.5932 GB, free: 6.785 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.792e-05/0.4252, allocations: 247.5 kB / 0.5934 GB, free: 6.488 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003649/0.4255, allocations: 356.7 kB / 0.5937 GB, free: 6.137 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.09e-05/0.4256, allocations: 37.7 kB / 0.5938 GB, free: 6.094 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001183/0.4257, allocations: 196.4 kB / 0.594 GB, free: 5.898 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.551e-05/0.4258, allocations: 102.6 kB / 0.5941 GB, free: 5.797 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.897e-05/0.4258, allocations: 12 kB / 0.5941 GB, free: 5.785 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.426, allocations: 350.8 kB / 0.5944 GB, free: 5.434 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003577/0.4263, allocations: 160.3 kB / 0.5946 GB, free: 5.273 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004296/0.4268, allocations: 309.4 kB / 0.5948 GB, free: 4.91 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004016/0.4272, allocations: 224.5 kB / 0.5951 GB, free: 4.688 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.4272, allocations: 4 kB / 0.5951 GB, free: 4.684 MB / 426.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001013/0.4282, allocations: 0.5609 MB / 0.5956 GB, free: 4.109 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.098e-05/0.4282, allocations: 38.12 kB / 0.5956 GB, free: 4.066 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.4283, allocations: 8 kB / 0.5957 GB, free: 4.059 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.4283, allocations: 8 kB / 0.5957 GB, free: 4.051 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003247/0.4286, allocations: 103.8 kB / 0.5958 GB, free: 3.949 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.4286, allocations: 8 kB / 0.5958 GB, free: 3.941 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000271/0.4289, allocations: 59.66 kB / 0.5958 GB, free: 3.883 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.777e-05/0.4289, allocations: 16 kB / 0.5958 GB, free: 3.867 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.0001891/0.4291, allocations: 209.3 kB / 0.596 GB, free: 3.652 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.634e-05/0.4292, allocations: 35.53 kB / 0.5961 GB, free: 3.617 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009482/0.4302, allocations: 496.4 kB / 0.5965 GB, free: 3.125 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.4302, allocations: 8 kB / 0.5966 GB, free: 3.117 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.84e-06/0.4302, allocations: 8 kB / 0.5966 GB, free: 3.109 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.211e-06/0.4302, allocations: 3.984 kB / 0.5966 GB, free: 3.105 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007955/0.431, allocations: 0.9014 MB / 0.5974 GB, free: 2.133 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.431, allocations: 7.984 kB / 0.5975 GB, free: 2.125 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002948/0.4313, allocations: 88 kB / 0.5975 GB, free: 2.039 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.4313, allocations: 4 kB / 0.5975 GB, free: 2.035 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.418e-05/0.4314, allocations: 8 kB / 0.5976 GB, free: 2.027 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.4314, allocations: 4 kB / 0.5976 GB, free: 2.023 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.553e-06/0.4314, allocations: 11.89 kB / 0.5976 GB, free: 2.012 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009335/0.4323, allocations: 0.601 MB / 0.5982 GB, free: 1.336 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/0.4324, allocations: 128.6 kB / 0.5983 GB, free: 1.191 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.539e-05/0.4325, allocations: 12 kB / 0.5983 GB, free: 1.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000219/0.4327, allocations: 31.97 kB / 0.5983 GB, free: 1.148 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.042e-05/0.4328, allocations: 51.83 kB / 0.5984 GB, free: 1.098 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.512e-05/0.4328, allocations: 12 kB / 0.5984 GB, free: 1.086 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002751/0.4331, allocations: 279.2 kB / 0.5986 GB, free: 0.8125 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4331, allocations: 0 / 0.5986 GB, free: 0.8125 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003881/0.4335, allocations: 115.7 kB / 0.5988 GB, free: 0.6992 MB / 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.0008602/0.4344, allocations: 476.4 kB / 0.5992 GB, free: 300 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008376/0.4352, allocations: 471.2 kB / 0.5997 GB, free: 15.82 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4352, allocations: 0.75 kB / 0.5997 GB, free: 15.82 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004676/0.4357, allocations: 240 kB / 0.5999 GB, free: 15.59 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003033/0.436, allocations: 65.33 kB / 0.6 GB, free: 15.52 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001093/0.4371, allocations: 0.8565 MB / 0.6008 GB, free: 14.62 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003446/0.4375, allocations: 0.8277 MB / 0.6016 GB, free: 13.76 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00022/0.4377, allocations: 83.2 kB / 0.6017 GB, free: 13.68 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001102/0.4378, allocations: 51.42 kB / 0.6017 GB, free: 13.64 MB / 442.7 MB Notification: Performance of SimCode: time 2.8e-07/0.4378, allocations: 0 / 0.6017 GB, free: 13.64 MB / 442.7 MB Notification: Performance of Templates: time 0.007537/0.4454, allocations: 4.674 MB / 0.6063 GB, free: 8.961 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/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