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: "" <> buildModelFMU(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_PowerWorld_Test_WindFarmHVDCTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_PowerWorld_Test_WindFarmHVDCTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001029/0.001029, allocations: 180.4 kB / 16.38 MB, free: 5.762 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.315/1.315, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.0008663/0.0008663, allocations: 92.09 kB / 270.9 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.1565/0.1565, allocations: 38.07 MB / 357.2 MB, free: 1.891 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004185/0.0004185, allocations: 12 kB / 424.1 MB, free: 37.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2623/0.2628, allocations: 56.32 MB / 480.4 MB, free: 9.551 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1198/0.3827, allocations: 99.79 MB / 0.5666 GB, free: 2.621 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.001843/0.3845, allocations: 0.8666 MB / 0.5674 GB, free: 1.754 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.04692/0.4315, allocations: 20.92 MB / 0.5879 GB, free: 12.59 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.4315, allocations: 0 / 0.5879 GB, free: 12.59 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.461e-05/0.4316, allocations: 7.984 kB / 0.5879 GB, free: 12.59 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.001163/0.4327, allocations: 0.764 MB / 0.5886 GB, free: 11.77 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.4328, allocations: 12.03 kB / 0.5886 GB, free: 11.76 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.682e-05/0.4329, allocations: 58.55 kB / 0.5887 GB, free: 11.69 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009091/0.4338, allocations: 119.4 kB / 0.5888 GB, free: 11.57 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005677/0.4343, allocations: 390.6 kB / 0.5892 GB, free: 11.15 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.997e-05/0.4344, allocations: 16.56 kB / 0.5892 GB, free: 11.13 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.444e-05/0.4344, allocations: 27.98 kB / 0.5892 GB, free: 11.11 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000734/0.4352, allocations: 469.2 kB / 0.5897 GB, free: 10.61 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.4352, allocations: 7.891 kB / 0.5897 GB, free: 10.61 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.537e-05/0.4352, allocations: 15.98 kB / 0.5897 GB, free: 10.59 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.204e-05/0.4353, allocations: 16.44 kB / 0.5897 GB, free: 10.57 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009552/0.4362, allocations: 0.548 MB / 0.5902 GB, free: 10.03 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001906/0.4381, allocations: 1.842 MB / 0.592 GB, free: 8.066 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009699/0.4391, allocations: 441.7 kB / 0.5925 GB, free: 7.617 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.4392, allocations: 8.234 kB / 0.5925 GB, free: 7.609 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004773/0.4396, allocations: 301.9 kB / 0.5928 GB, free: 7.281 MB / 426.7 MB Notification: Performance of pre-optimization done (n=30): time 1.543e-06/0.4397, allocations: 0 / 0.5928 GB, free: 7.281 MB / 426.7 MB Notification: Performance of matching and sorting (n=30): time 0.001198/0.4409, allocations: 0.5833 MB / 0.5933 GB, free: 6.691 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/0.441, allocations: 247.6 kB / 0.5936 GB, free: 6.395 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003556/0.4413, allocations: 356.7 kB / 0.5939 GB, free: 6.043 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.773e-05/0.4414, allocations: 33.7 kB / 0.5939 GB, free: 6.004 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/0.4415, allocations: 192.4 kB / 0.5941 GB, free: 5.812 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.897e-05/0.4416, allocations: 113.6 kB / 0.5942 GB, free: 5.703 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.758e-05/0.4416, allocations: 8 kB / 0.5942 GB, free: 5.695 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.4417, allocations: 350.8 kB / 0.5946 GB, free: 5.344 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003552/0.4421, allocations: 168.3 kB / 0.5947 GB, free: 5.176 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004181/0.4425, allocations: 309.4 kB / 0.595 GB, free: 4.812 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003944/0.4429, allocations: 221.6 kB / 0.5952 GB, free: 4.59 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.443, allocations: 4 kB / 0.5952 GB, free: 4.586 MB / 426.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009649/0.4439, allocations: 0.5613 MB / 0.5958 GB, free: 4.012 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.19e-05/0.444, allocations: 33.7 kB / 0.5958 GB, free: 3.973 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.444, allocations: 4 kB / 0.5958 GB, free: 3.969 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.444, allocations: 8 kB / 0.5958 GB, free: 3.961 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003335/0.4443, allocations: 99.81 kB / 0.5959 GB, free: 3.863 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/0.4444, allocations: 8 kB / 0.5959 GB, free: 3.855 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002756/0.4446, allocations: 59.69 kB / 0.596 GB, free: 3.797 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.217e-05/0.4447, allocations: 19.95 kB / 0.596 GB, free: 3.777 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.0001893/0.4449, allocations: 201.4 kB / 0.5962 GB, free: 3.57 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.635e-05/0.445, allocations: 35.53 kB / 0.5962 GB, free: 3.535 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009863/0.446, allocations: 0.4887 MB / 0.5967 GB, free: 3.039 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/0.446, allocations: 8 kB / 0.5967 GB, free: 3.031 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/0.446, allocations: 7.984 kB / 0.5967 GB, free: 3.023 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.084e-06/0.446, allocations: 0 / 0.5967 GB, free: 3.023 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000819/0.4468, allocations: 0.9015 MB / 0.5976 GB, free: 2.051 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.4468, allocations: 12.02 kB / 0.5976 GB, free: 2.039 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002975/0.4471, allocations: 83.88 kB / 0.5977 GB, free: 1.957 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/0.4472, allocations: 4 kB / 0.5977 GB, free: 1.953 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.659e-05/0.4472, allocations: 12 kB / 0.5977 GB, free: 1.941 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.4472, allocations: 7.891 kB / 0.5977 GB, free: 1.934 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.4472, allocations: 4 kB / 0.5977 GB, free: 1.93 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000934/0.4481, allocations: 0.6049 MB / 0.5983 GB, free: 1.25 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.547e-05/0.4483, allocations: 124.6 kB / 0.5984 GB, free: 1.109 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.607e-05/0.4483, allocations: 15.94 kB / 0.5985 GB, free: 1.094 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002269/0.4485, allocations: 35.97 kB / 0.5985 GB, free: 1.059 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.69e-05/0.4486, allocations: 47.89 kB / 0.5985 GB, free: 1.012 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.774e-05/0.4487, allocations: 12 kB / 0.5986 GB, free: 1 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002657/0.4489, allocations: 279.1 kB / 0.5988 GB, free: 0.7266 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.393e-06/0.449, allocations: 0 / 0.5988 GB, free: 0.7266 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004038/0.4494, allocations: 115.7 kB / 0.5989 GB, free: 0.6133 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.002173/0.4515, allocations: 1.927 MB / 0.6008 GB, free: 14.68 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000851/0.4524, allocations: 475.6 kB / 0.6013 GB, free: 14.21 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4524, allocations: 0 / 0.6013 GB, free: 14.21 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004368/0.4529, allocations: 236.5 kB / 0.6015 GB, free: 13.98 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003751/0.4533, allocations: 65.33 kB / 0.6016 GB, free: 13.91 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00418/0.4574, allocations: 5.155 MB / 0.6066 GB, free: 8.613 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003482/0.4578, allocations: 0.8316 MB / 0.6074 GB, free: 7.754 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002507/0.4581, allocations: 87.2 kB / 0.6075 GB, free: 7.668 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000207/0.4583, allocations: 131.4 kB / 0.6076 GB, free: 7.539 MB / 442.7 MB Notification: Performance of SimCode: time 3.4e-07/0.4583, allocations: 0 / 0.6076 GB, free: 7.539 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02228/0.4806, allocations: 8.272 MB / 0.6157 GB, free: 15.27 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002029/0.4808, allocations: 231 kB / 0.6159 GB, free: 15.02 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.988/2.469, allocations: 3.938 kB / 0.6159 GB, free: 15.02 MB / 458.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_PowerWorld_Test_WindFarmHVDCTest_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_PowerWorld_Test_WindFarmHVDCTest.fmu > PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest_res.mat does not exist to compare? outputFormat=mat