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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001887/0.001887, allocations: 186.4 kB / 7.799 MB, free: 2.5 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 1.755/1.755, allocations: 205.2 MB / 213.4 MB, free: 13.93 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001257/0.001257, allocations: 88.27 kB / 261.4 MB, free: 13.62 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.275/0.275, allocations: 37.98 MB / 347.3 MB, free: 7.543 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.077e-06/8.967e-06, allocations: 4 kB / 409.3 MB, free: 47.24 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1028, allocations: 56.32 MB / 465.6 MB, free: 6.859 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3487/0.4516, allocations: 99 MB / 0.5514 GB, free: 11.86 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.009771/0.4615, allocations: 2.203 MB / 0.5536 GB, free: 9.668 MB / 394.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: time 0.08313/0.5447, allocations: 20.37 MB / 0.5734 GB, free: 5.062 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.015e-05/0.5447, allocations: 8 kB / 0.5735 GB, free: 5.055 MB / 410.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.001945/0.5467, allocations: 0.7402 MB / 0.5742 GB, free: 4.262 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.5467, allocations: 8.031 kB / 0.5742 GB, free: 4.254 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001695/0.5485, allocations: 123.4 kB / 0.5743 GB, free: 4.133 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001053/0.5495, allocations: 399.1 kB / 0.5747 GB, free: 3.699 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.907e-05/0.5496, allocations: 12 kB / 0.5747 GB, free: 3.688 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.351e-05/0.5497, allocations: 12 kB / 0.5747 GB, free: 3.676 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001144/0.5508, allocations: 384.8 kB / 0.5751 GB, free: 3.301 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001001/0.5518, allocations: 403.5 kB / 0.5755 GB, free: 2.875 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.5519, allocations: 0 / 0.5755 GB, free: 2.875 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.453e-05/0.5519, allocations: 3.984 kB / 0.5755 GB, free: 2.871 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.911e-05/0.552, allocations: 20.42 kB / 0.5755 GB, free: 2.852 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003721/0.5557, allocations: 1.849 MB / 0.5773 GB, free: 0.8984 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007814/0.5565, allocations: 285.7 kB / 0.5776 GB, free: 0.6016 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00037/0.5569, allocations: 110.2 kB / 0.5777 GB, free: 500 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.039e-05/0.557, allocations: 8.172 kB / 0.5777 GB, free: 492 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005258/0.5575, allocations: 245.5 kB / 0.5779 GB, free: 212 kB / 410.7 MB Notification: Performance of pre-optimization done (n=31): time 3.356e-06/0.5575, allocations: 0 / 0.5779 GB, free: 212 kB / 410.7 MB Notification: Performance of matching and sorting (n=31): time 0.001042/0.5586, allocations: 313.2 kB / 0.5782 GB, free: 15.89 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001391/0.5587, allocations: 251.2 kB / 0.5784 GB, free: 15.59 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006344/0.5594, allocations: 315.5 kB / 0.5787 GB, free: 15.28 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.541e-05/0.5595, allocations: 37.64 kB / 0.5788 GB, free: 15.24 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001524/0.5596, allocations: 214.4 kB / 0.579 GB, free: 15.02 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000139/0.5598, allocations: 98.66 kB / 0.5791 GB, free: 14.93 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.955e-05/0.5598, allocations: 0 / 0.5791 GB, free: 14.93 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.56, allocations: 330.8 kB / 0.5794 GB, free: 14.59 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000358/0.5603, allocations: 112.7 kB / 0.5795 GB, free: 14.48 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004717/0.5608, allocations: 254.5 kB / 0.5797 GB, free: 14.17 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004321/0.5613, allocations: 154.2 kB / 0.5799 GB, free: 14.02 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.5613, allocations: 0 / 0.5799 GB, free: 14.02 MB / 426.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001135/0.5624, allocations: 394.9 kB / 0.5803 GB, free: 13.63 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.5625, allocations: 4 kB / 0.5803 GB, free: 13.63 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.5625, allocations: 8 kB / 0.5803 GB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.466e-05/0.5625, allocations: 7.906 kB / 0.5803 GB, free: 13.61 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007954/0.5633, allocations: 112.4 kB / 0.5804 GB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.361e-05/0.5634, allocations: 8 kB / 0.5804 GB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004795/0.5639, allocations: 43.81 kB / 0.5804 GB, free: 13.45 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.532e-05/0.5639, allocations: 23.91 kB / 0.5805 GB, free: 13.43 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 () * 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.0001578/0.5641, allocations: 57.5 kB / 0.5805 GB, free: 13.37 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001447/0.5643, allocations: 31.62 kB / 0.5806 GB, free: 13.34 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001173/0.5654, allocations: 384.4 kB / 0.5809 GB, free: 12.95 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.325e-05/0.5655, allocations: 8 kB / 0.5809 GB, free: 12.94 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.385e-06/0.5655, allocations: 3.984 kB / 0.5809 GB, free: 12.94 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.999e-06/0.5655, allocations: 4 kB / 0.5809 GB, free: 12.93 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001368/0.5669, allocations: 0.8629 MB / 0.5818 GB, free: 12.01 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.5669, allocations: 0 / 0.5818 GB, free: 12.01 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006897/0.5676, allocations: 83.89 kB / 0.5819 GB, free: 11.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.094e-05/0.5676, allocations: 8 kB / 0.5819 GB, free: 11.92 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.288e-05/0.5677, allocations: 16.08 kB / 0.5819 GB, free: 11.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.044e-05/0.5677, allocations: 3.906 kB / 0.5819 GB, free: 11.9 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/0.5677, allocations: 7.938 kB / 0.5819 GB, free: 11.89 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001114/0.5688, allocations: 491.4 kB / 0.5824 GB, free: 11.34 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001697/0.569, allocations: 132.5 kB / 0.5825 GB, free: 11.19 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001195/0.5692, allocations: 8 kB / 0.5825 GB, free: 11.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004754/0.5697, allocations: 31.97 kB / 0.5825 GB, free: 11.15 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001507/0.5698, allocations: 43.84 kB / 0.5826 GB, free: 11.11 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.657e-05/0.5699, allocations: 16 kB / 0.5826 GB, free: 11.09 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0004419/0.5703, allocations: 243.1 kB / 0.5828 GB, free: 10.86 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006678/0.571, allocations: 99.83 kB / 0.5829 GB, free: 10.76 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) * 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.001076/0.5721, allocations: 366.6 kB / 0.5833 GB, free: 10.43 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001023/0.5732, allocations: 329.9 kB / 0.5836 GB, free: 10.11 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.5732, allocations: 4 kB / 0.5836 GB, free: 10.1 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004907/0.5737, allocations: 181.2 kB / 0.5837 GB, free: 9.926 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006415/0.5743, allocations: 57.38 kB / 0.5838 GB, free: 9.871 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001852/0.5762, allocations: 0.5737 MB / 0.5844 GB, free: 9.25 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007728/0.577, allocations: 0.8835 MB / 0.5852 GB, free: 8.34 MB / 426.7 MB Notification: Performance of SimCode: time 3.877e-06/0.577, allocations: 0 / 0.5852 GB, free: 8.34 MB / 426.7 MB Notification: Performance of Templates: time 0.01337/0.5904, allocations: 5.559 MB / 0.5907 GB, free: 2.773 MB / 426.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)