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.001707/0.001707, allocations: 175.5 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.528/1.528, allocations: 205.2 MB / 219.4 MB, free: 14.27 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.0009701/0.00097, allocations: 90.64 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1757/0.1757, allocations: 37.98 MB / 353.5 MB, free: 1.75 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.223e-05/3.268e-05, allocations: 0 / 417.8 MB, free: 29.04 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1214, allocations: 56.31 MB / 474.1 MB, free: 4.711 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.422/0.5435, allocations: 99.69 MB / 0.5604 GB, free: 3.566 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.001556/0.5451, allocations: 0.6845 MB / 0.5611 GB, free: 3.27 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.05069/0.5958, allocations: 20.83 MB / 0.5814 GB, free: 1.938 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.684e-06/0.5959, allocations: 4 kB / 0.5814 GB, free: 1.934 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.837e-05/0.5959, allocations: 4 kB / 0.5814 GB, free: 1.93 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.001271/0.5972, allocations: 0.7001 MB / 0.5821 GB, free: 1.207 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.5972, allocations: 12.03 kB / 0.5821 GB, free: 1.195 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000103/0.5974, allocations: 63.83 kB / 0.5822 GB, free: 1.137 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009782/0.5983, allocations: 116.7 kB / 0.5823 GB, free: 1.023 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006817/0.599, allocations: 395.6 kB / 0.5826 GB, free: 0.6484 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.747e-05/0.5991, allocations: 20.55 kB / 0.5827 GB, free: 0.6367 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.385e-05/0.5991, allocations: 22 kB / 0.5827 GB, free: 0.6211 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006514/0.5998, allocations: 428.2 kB / 0.5831 GB, free: 284 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.5998, allocations: 7.953 kB / 0.5831 GB, free: 276 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.675e-05/0.5999, allocations: 10.3 kB / 0.5831 GB, free: 272 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.97e-05/0.5999, allocations: 16.44 kB / 0.5831 GB, free: 256 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007196/0.6006, allocations: 477 kB / 0.5836 GB, free: 15.91 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002322/0.603, allocations: 1.837 MB / 0.5854 GB, free: 14.26 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007775/0.6038, allocations: 362.2 kB / 0.5857 GB, free: 13.99 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002035/0.604, allocations: 116.9 kB / 0.5858 GB, free: 13.91 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.196e-05/0.604, allocations: 12.2 kB / 0.5858 GB, free: 13.9 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003859/0.6044, allocations: 262.1 kB / 0.5861 GB, free: 13.66 MB / 394.7 MB Notification: Performance of pre-optimization done (n=30): time 2.765e-06/0.6044, allocations: 0 / 0.5861 GB, free: 13.66 MB / 394.7 MB Notification: Performance of matching and sorting (n=30): time 0.0006858/0.6051, allocations: 349 kB / 0.5864 GB, free: 13.39 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001506/0.6053, allocations: 245 kB / 0.5867 GB, free: 13.1 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004353/0.6058, allocations: 352.6 kB / 0.587 GB, free: 12.82 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.252e-05/0.6058, allocations: 36.83 kB / 0.587 GB, free: 12.79 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001498/0.606, allocations: 201.2 kB / 0.5872 GB, free: 12.64 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.199e-05/0.6061, allocations: 104.5 kB / 0.5873 GB, free: 12.55 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.674e-05/0.6061, allocations: 3.812 kB / 0.5873 GB, free: 12.55 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001579/0.6062, allocations: 352.8 kB / 0.5877 GB, free: 12.21 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001907/0.6064, allocations: 117.4 kB / 0.5878 GB, free: 12.14 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003027/0.6068, allocations: 264.2 kB / 0.588 GB, free: 11.88 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002711/0.607, allocations: 187.6 kB / 0.5882 GB, free: 11.73 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.607, allocations: 0 / 0.5882 GB, free: 11.73 MB / 394.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007312/0.6078, allocations: 485.3 kB / 0.5887 GB, free: 11.35 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.28e-05/0.6078, allocations: 33.69 kB / 0.5887 GB, free: 11.31 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/0.6079, allocations: 8 kB / 0.5887 GB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.6079, allocations: 7.938 kB / 0.5887 GB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004041/0.6083, allocations: 107.8 kB / 0.5888 GB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.405e-05/0.6083, allocations: 4 kB / 0.5888 GB, free: 11.19 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003293/0.6087, allocations: 66.48 kB / 0.5889 GB, free: 11.13 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.576e-05/0.6087, allocations: 23.31 kB / 0.5889 GB, free: 11.11 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.0001224/0.6088, allocations: 127 kB / 0.589 GB, free: 10.99 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.621e-05/0.6089, allocations: 47.52 kB / 0.5891 GB, free: 10.95 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007154/0.6096, allocations: 408.1 kB / 0.5895 GB, free: 10.64 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.6097, allocations: 4 kB / 0.5895 GB, free: 10.64 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.6097, allocations: 4 kB / 0.5895 GB, free: 10.64 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.418e-06/0.6097, allocations: 7.969 kB / 0.5895 GB, free: 10.63 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009432/0.6106, allocations: 0.9094 MB / 0.5904 GB, free: 9.785 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.6107, allocations: 0 / 0.5904 GB, free: 9.785 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003298/0.611, allocations: 78.45 kB / 0.5904 GB, free: 9.711 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.895e-06/0.611, allocations: 7.938 kB / 0.5905 GB, free: 9.703 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.254e-05/0.6111, allocations: 15.92 kB / 0.5905 GB, free: 9.691 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/0.6111, allocations: 8.078 kB / 0.5905 GB, free: 9.684 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.6111, allocations: 4 kB / 0.5905 GB, free: 9.68 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006873/0.6118, allocations: 0.5161 MB / 0.591 GB, free: 9.188 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001146/0.6119, allocations: 127.4 kB / 0.5911 GB, free: 9.051 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.157e-05/0.612, allocations: 11.19 kB / 0.5911 GB, free: 9.047 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002559/0.6122, allocations: 42.86 kB / 0.5912 GB, free: 9.012 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/0.6123, allocations: 39.7 kB / 0.5912 GB, free: 8.977 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.9e-05/0.6124, allocations: 15.86 kB / 0.5912 GB, free: 8.965 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003123/0.6127, allocations: 275.8 kB / 0.5915 GB, free: 8.762 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6127, allocations: 0 / 0.5915 GB, free: 8.762 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000449/0.6131, allocations: 106.3 kB / 0.5916 GB, free: 8.668 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.00204/0.6152, allocations: 1.796 MB / 0.5933 GB, free: 6.969 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005855/0.6158, allocations: 378.2 kB / 0.5937 GB, free: 6.684 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.6158, allocations: 4 kB / 0.5937 GB, free: 6.68 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002904/0.6161, allocations: 184.7 kB / 0.5939 GB, free: 6.559 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003937/0.6165, allocations: 76.19 kB / 0.5939 GB, free: 6.504 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001347/0.6179, allocations: 0.6656 MB / 0.5946 GB, free: 5.887 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004478/0.6183, allocations: 0.8325 MB / 0.5954 GB, free: 5.043 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002753/0.6186, allocations: 83.22 kB / 0.5955 GB, free: 4.961 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002168/0.6188, allocations: 131 kB / 0.5956 GB, free: 4.914 MB / 394.7 MB Notification: Performance of SimCode: time 3.7e-07/0.6189, allocations: 4 kB / 0.5956 GB, free: 4.91 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02382/0.6427, allocations: 8.253 MB / 0.6037 GB, free: 12.64 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002265/0.643, allocations: 199.9 kB / 0.6039 GB, free: 12.42 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.18/2.823, allocations: 0 / 0.6039 GB, free: 12.42 MB / 410.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