Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest") translateModel(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002157/0.002157, allocations: 189 kB / 8.013 MB, free: 1.062 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.196/2.196, allocations: 205.3 MB / 213.7 MB, free: 1.746 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001137/0.001137, allocations: 82.64 kB / 261.8 MB, free: 1.68 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.378/0.378, allocations: 38 MB / 347.7 MB, free: 5.77 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.939e-05/1.937e-05, allocations: 4 kB / 409.9 MB, free: 35.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1165, allocations: 56.33 MB / 466.2 MB, free: 10.82 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5/0.6166, allocations: 99.03 MB / 0.552 GB, free: 9.91 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.001949/0.6186, allocations: 0.5712 MB / 0.5525 GB, free: 9.809 MB / 362.7 MB [/var/lib/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);. [/var/lib/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.07961/0.6983, allocations: 20.71 MB / 0.5727 GB, free: 11.61 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.6983, allocations: 0 / 0.5727 GB, free: 11.61 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.883e-05/0.6984, allocations: 8 kB / 0.5728 GB, free: 11.61 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.002014/0.7004, allocations: 0.7015 MB / 0.5734 GB, free: 10.89 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/0.7005, allocations: 8.031 kB / 0.5734 GB, free: 10.88 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001656/0.7021, allocations: 115.4 kB / 0.5736 GB, free: 10.77 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001054/0.7032, allocations: 388.1 kB / 0.5739 GB, free: 10.41 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.055e-05/0.7033, allocations: 11.94 kB / 0.5739 GB, free: 10.39 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.933e-05/0.7034, allocations: 16 kB / 0.574 GB, free: 10.38 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001099/0.7045, allocations: 399.2 kB / 0.5743 GB, free: 10.1 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009277/0.7054, allocations: 391.3 kB / 0.5747 GB, free: 9.773 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.7055, allocations: 4 kB / 0.5747 GB, free: 9.77 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.421e-05/0.7055, allocations: 4 kB / 0.5747 GB, free: 9.766 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.975e-05/0.7056, allocations: 24.3 kB / 0.5747 GB, free: 9.746 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003506/0.7091, allocations: 1.822 MB / 0.5765 GB, free: 8.141 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001116/0.7103, allocations: 341.8 kB / 0.5768 GB, free: 7.891 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002928/0.7106, allocations: 112.7 kB / 0.577 GB, free: 7.816 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.509e-05/0.7107, allocations: 8.234 kB / 0.577 GB, free: 7.809 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005097/0.7112, allocations: 256.3 kB / 0.5772 GB, free: 7.578 MB / 378.7 MB Notification: Performance of pre-optimization done (n=31): time 3.536e-06/0.7112, allocations: 0 / 0.5772 GB, free: 7.578 MB / 378.7 MB Notification: Performance of matching and sorting (n=31): time 0.001019/0.7122, allocations: 338.2 kB / 0.5775 GB, free: 7.312 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000135/0.7124, allocations: 239.3 kB / 0.5778 GB, free: 7.023 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005531/0.713, allocations: 309.1 kB / 0.578 GB, free: 6.781 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.552e-05/0.713, allocations: 33.45 kB / 0.5781 GB, free: 6.746 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001902/0.7132, allocations: 254.9 kB / 0.5783 GB, free: 6.535 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001326/0.7134, allocations: 99.16 kB / 0.5784 GB, free: 6.453 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.805e-05/0.7134, allocations: 4.188 kB / 0.5784 GB, free: 6.449 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.7136, allocations: 326.2 kB / 0.5787 GB, free: 6.125 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003071/0.7139, allocations: 116.7 kB / 0.5788 GB, free: 6.055 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004191/0.7143, allocations: 251.8 kB / 0.5791 GB, free: 5.805 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003802/0.7147, allocations: 149.6 kB / 0.5792 GB, free: 5.707 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/0.7147, allocations: 0 / 0.5792 GB, free: 5.707 MB / 378.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001074/0.7158, allocations: 409.4 kB / 0.5796 GB, free: 5.395 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.441e-05/0.7159, allocations: 41.12 kB / 0.5797 GB, free: 5.352 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/0.7159, allocations: 4 kB / 0.5797 GB, free: 5.348 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.728e-05/0.7159, allocations: 4.562 kB / 0.5797 GB, free: 5.344 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007534/0.7167, allocations: 107.1 kB / 0.5798 GB, free: 5.242 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.313e-05/0.7167, allocations: 4 kB / 0.5798 GB, free: 5.238 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005689/0.7173, allocations: 51.66 kB / 0.5798 GB, free: 5.188 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.258e-05/0.7174, allocations: 15.94 kB / 0.5798 GB, free: 5.176 MB / 378.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 (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.0001821/0.7176, allocations: 124.8 kB / 0.58 GB, free: 5.047 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001127/0.7177, allocations: 47.5 kB / 0.58 GB, free: 5 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001086/0.7188, allocations: 383.9 kB / 0.5804 GB, free: 4.715 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/0.7188, allocations: 4 kB / 0.5804 GB, free: 4.711 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.094e-05/0.7189, allocations: 4 kB / 0.5804 GB, free: 4.707 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.371e-05/0.7189, allocations: 3.984 kB / 0.5804 GB, free: 4.703 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001421/0.7203, allocations: 0.8622 MB / 0.5812 GB, free: 3.918 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.7204, allocations: 0 / 0.5812 GB, free: 3.918 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006525/0.721, allocations: 87.31 kB / 0.5813 GB, free: 3.836 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.697e-05/0.721, allocations: 12 kB / 0.5813 GB, free: 3.824 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.976e-05/0.7211, allocations: 4 kB / 0.5813 GB, free: 3.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.875e-06/0.7211, allocations: 4 kB / 0.5813 GB, free: 3.816 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.7211, allocations: 0 / 0.5813 GB, free: 3.816 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001072/0.7222, allocations: 0.4992 MB / 0.5818 GB, free: 3.336 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001742/0.7224, allocations: 127.2 kB / 0.5819 GB, free: 3.199 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001008/0.7225, allocations: 11 kB / 0.5819 GB, free: 3.191 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004485/0.723, allocations: 27.97 kB / 0.582 GB, free: 3.164 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001453/0.7231, allocations: 41.03 kB / 0.582 GB, free: 3.133 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.855e-05/0.7232, allocations: 15.98 kB / 0.582 GB, free: 3.117 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004456/0.7237, allocations: 245 kB / 0.5823 GB, free: 2.938 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.7237, allocations: 4 kB / 0.5823 GB, free: 2.934 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007292/0.7244, allocations: 99.64 kB / 0.5824 GB, free: 2.84 MB / 378.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 (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.001254/0.7257, allocations: 415.7 kB / 0.5828 GB, free: 2.5 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009969/0.7267, allocations: 377.5 kB / 0.5831 GB, free: 2.215 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.146e-06/0.7267, allocations: 0 / 0.5831 GB, free: 2.215 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004496/0.7272, allocations: 177.4 kB / 0.5833 GB, free: 2.094 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006998/0.7279, allocations: 54.77 kB / 0.5833 GB, free: 2.055 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001621/0.7296, allocations: 0.5593 MB / 0.5839 GB, free: 1.535 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005217/0.7301, allocations: 0.8257 MB / 0.5847 GB, free: 0.6953 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002983/0.7304, allocations: 42.73 kB / 0.5847 GB, free: 0.6562 MB / 378.7 MB Notification: Performance of SimCode: time 9.52e-07/0.7304, allocations: 3.938 kB / 0.5847 GB, free: 0.6523 MB / 378.7 MB Notification: Performance of Templates: time 0.01501/0.7455, allocations: 5.527 MB / 0.5901 GB, free: 11.18 MB / 394.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.sim & ./PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe 2>&1)