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.001768/0.001768, allocations: 176.2 kB / 8.348 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.962/1.962, 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.0009944/0.0009943, allocations: 84.88 kB / 262.1 MB, free: 13.89 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.175/0.175, allocations: 38 MB / 348 MB, free: 7.777 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.861e-05/1.863e-05, allocations: 0 / 410.7 MB, free: 46.86 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1097, allocations: 56.32 MB / 467 MB, free: 6.477 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4092/0.519, allocations: 99.02 MB / 0.5527 GB, free: 11.84 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.002037/0.5211, allocations: 0.5777 MB / 0.5533 GB, free: 11.26 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.05363/0.5748, allocations: 20.72 MB / 0.5735 GB, free: 6.328 MB / 411.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.5749, allocations: 0 / 0.5735 GB, free: 6.328 MB / 411.1 MB Notification: Performance of Transformations before backend: time 4.095e-05/0.5749, allocations: 8 kB / 0.5736 GB, free: 6.32 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.001747/0.5767, allocations: 0.6939 MB / 0.5742 GB, free: 5.578 MB / 411.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001057/0.5768, allocations: 16.02 kB / 0.5742 GB, free: 5.562 MB / 411.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001125/0.5779, allocations: 115.4 kB / 0.5744 GB, free: 5.449 MB / 411.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007342/0.5787, allocations: 394.5 kB / 0.5747 GB, free: 5.023 MB / 411.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.255e-05/0.5787, allocations: 11.94 kB / 0.5747 GB, free: 5.012 MB / 411.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.165e-05/0.5788, allocations: 19.94 kB / 0.5748 GB, free: 4.992 MB / 411.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006773/0.5794, allocations: 388.8 kB / 0.5751 GB, free: 4.613 MB / 411.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006368/0.5801, allocations: 400.1 kB / 0.5755 GB, free: 4.188 MB / 411.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.5801, allocations: 0 / 0.5755 GB, free: 4.188 MB / 411.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.102e-05/0.5802, allocations: 4 kB / 0.5755 GB, free: 4.184 MB / 411.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.261e-05/0.5802, allocations: 16.42 kB / 0.5755 GB, free: 4.168 MB / 411.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002509/0.5827, allocations: 1.841 MB / 0.5773 GB, free: 2.223 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006656/0.5834, allocations: 333.5 kB / 0.5777 GB, free: 1.879 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001904/0.5836, allocations: 120 kB / 0.5778 GB, free: 1.758 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.226e-05/0.5837, allocations: 4.234 kB / 0.5778 GB, free: 1.754 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003869/0.5841, allocations: 249.4 kB / 0.578 GB, free: 1.477 MB / 411.1 MB Notification: Performance of pre-optimization done (n=31): time 2.114e-06/0.5841, allocations: 0 / 0.578 GB, free: 1.477 MB / 411.1 MB Notification: Performance of matching and sorting (n=31): time 0.000676/0.5848, allocations: 340.9 kB / 0.5783 GB, free: 1.137 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001283/0.5849, allocations: 239.3 kB / 0.5786 GB, free: 0.8477 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003706/0.5853, allocations: 313.1 kB / 0.5789 GB, free: 0.5312 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 4.24e-05/0.5853, allocations: 33.89 kB / 0.5789 GB, free: 0.4922 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001731/0.5855, allocations: 211.9 kB / 0.5791 GB, free: 288 kB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/0.5856, allocations: 102.6 kB / 0.5792 GB, free: 184 kB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.854e-05/0.5856, allocations: 0 / 0.5792 GB, free: 184 kB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0001823/0.5858, allocations: 342.8 kB / 0.5795 GB, free: 15.84 MB / 427.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001883/0.586, allocations: 112.7 kB / 0.5796 GB, free: 15.72 MB / 427.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002809/0.5863, allocations: 250 kB / 0.5799 GB, free: 15.42 MB / 427.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002421/0.5866, allocations: 152.8 kB / 0.58 GB, free: 15.27 MB / 427.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.5866, allocations: 0 / 0.58 GB, free: 15.27 MB / 427.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006451/0.5872, allocations: 423.1 kB / 0.5804 GB, free: 14.85 MB / 427.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.718e-05/0.5873, allocations: 41.78 kB / 0.5805 GB, free: 14.8 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.5873, allocations: 8 kB / 0.5805 GB, free: 14.8 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.5873, allocations: 4 kB / 0.5805 GB, free: 14.79 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004068/0.5877, allocations: 99.81 kB / 0.5806 GB, free: 14.7 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.5878, allocations: 4 kB / 0.5806 GB, free: 14.69 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003326/0.5881, allocations: 59.66 kB / 0.5806 GB, free: 14.63 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.749e-05/0.5882, allocations: 12 kB / 0.5806 GB, free: 14.62 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.0001483/0.5883, allocations: 124.8 kB / 0.5808 GB, free: 14.49 MB / 427.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005398/0.5889, allocations: 341.4 kB / 0.5811 GB, free: 14.15 MB / 427.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.798e-05/0.5889, allocations: 39.53 kB / 0.5811 GB, free: 14.11 MB / 427.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006558/0.5896, allocations: 392.4 kB / 0.5815 GB, free: 13.72 MB / 427.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/0.5896, allocations: 8 kB / 0.5815 GB, free: 13.71 MB / 427.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.952e-06/0.5896, allocations: 7.875 kB / 0.5815 GB, free: 13.71 MB / 427.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/0.5897, allocations: 7.984 kB / 0.5815 GB, free: 13.7 MB / 427.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009057/0.5906, allocations: 0.8552 MB / 0.5823 GB, free: 12.79 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.5906, allocations: 4 kB / 0.5824 GB, free: 12.78 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003256/0.5909, allocations: 79.89 kB / 0.5824 GB, free: 12.7 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.5909, allocations: 4 kB / 0.5824 GB, free: 12.7 MB / 427.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.157e-05/0.591, allocations: 15.98 kB / 0.5824 GB, free: 12.68 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.483e-06/0.591, allocations: 3.938 kB / 0.5825 GB, free: 12.68 MB / 427.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/0.591, allocations: 8.078 kB / 0.5825 GB, free: 12.67 MB / 427.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006542/0.5917, allocations: 0.4918 MB / 0.5829 GB, free: 12.11 MB / 427.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001249/0.5918, allocations: 124.7 kB / 0.5831 GB, free: 11.96 MB / 427.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.497e-05/0.5919, allocations: 8 kB / 0.5831 GB, free: 11.96 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000245/0.5921, allocations: 31.97 kB / 0.5831 GB, free: 11.93 MB / 427.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001179/0.5922, allocations: 47.83 kB / 0.5831 GB, free: 11.88 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-05/0.5923, allocations: 12 kB / 0.5832 GB, free: 11.87 MB / 427.1 MB Notification: Performance of sorting global known variables: time 0.0002848/0.5926, allocations: 248.6 kB / 0.5834 GB, free: 11.62 MB / 427.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5926, allocations: 0 / 0.5834 GB, free: 11.62 MB / 427.1 MB Notification: Performance of remove unused functions: time 0.0005138/0.5931, allocations: 87.84 kB / 0.5835 GB, free: 11.54 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.00205/0.5952, allocations: 1.754 MB / 0.5852 GB, free: 9.738 MB / 427.1 MB Notification: Performance of simCode: created initialization part: time 0.0005923/0.5958, allocations: 371 kB / 0.5855 GB, free: 9.363 MB / 427.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.5958, allocations: 1.125 kB / 0.5855 GB, free: 9.363 MB / 427.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002915/0.5961, allocations: 187.7 kB / 0.5857 GB, free: 9.18 MB / 427.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004404/0.5965, allocations: 53.52 kB / 0.5858 GB, free: 9.129 MB / 427.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001501/0.598, allocations: 0.6286 MB / 0.5864 GB, free: 8.441 MB / 427.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004854/0.5985, allocations: 0.8276 MB / 0.5872 GB, free: 7.59 MB / 427.1 MB Notification: Performance of simCode: alias equations: time 0.0002782/0.5988, allocations: 83.2 kB / 0.5873 GB, free: 7.512 MB / 427.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002396/0.5991, allocations: 135.4 kB / 0.5874 GB, free: 7.379 MB / 427.1 MB Notification: Performance of SimCode: time 7.52e-07/0.5991, allocations: 4 kB / 0.5874 GB, free: 7.375 MB / 427.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03487/0.634, allocations: 7.544 MB / 0.5948 GB, free: 15.82 MB / 443.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002219/0.6343, allocations: 182.9 kB / 0.5949 GB, free: 15.63 MB / 443.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.069/2.704, allocations: 4.031 kB / 0.595 GB, free: 15.62 MB / 443.1 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