Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.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.WindFarmGridTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest") translateModel(PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002071/0.002071, 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.068/2.068, allocations: 205.3 MB / 213.7 MB, free: 1.742 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.001078/0.001078, allocations: 86.64 kB / 261.8 MB, free: 1.684 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.289/0.289, allocations: 37.99 MB / 347.7 MB, free: 5.766 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.078e-05/2.09e-05, allocations: 0 / 409.9 MB, free: 35.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.141, allocations: 56.32 MB / 466.2 MB, free: 10.82 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4861/0.6272, allocations: 95.66 MB / 0.5487 GB, free: 10.48 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.001861/0.6291, allocations: 0.5797 MB / 0.5492 GB, free: 10.38 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06049/0.6896, allocations: 16.68 MB / 0.5655 GB, free: 1.059 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.6897, allocations: 0 / 0.5655 GB, free: 1.059 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.383e-05/0.6897, allocations: 12 kB / 0.5655 GB, free: 1.047 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001468/0.6912, allocations: 0.6825 MB / 0.5662 GB, free: 352 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.6913, allocations: 8.031 kB / 0.5662 GB, free: 344 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001317/0.6926, allocations: 115.4 kB / 0.5663 GB, free: 228 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009199/0.6935, allocations: 398.3 kB / 0.5667 GB, free: 15.86 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.106e-05/0.6936, allocations: 11.98 kB / 0.5667 GB, free: 15.85 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.145e-05/0.6937, allocations: 12 kB / 0.5667 GB, free: 15.84 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001036/0.6947, allocations: 403.1 kB / 0.5671 GB, free: 15.55 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00089/0.6956, allocations: 393.3 kB / 0.5675 GB, free: 15.24 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.6956, allocations: 0 / 0.5675 GB, free: 15.24 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.262e-05/0.6957, allocations: 7.953 kB / 0.5675 GB, free: 15.23 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.568e-05/0.6958, allocations: 20.42 kB / 0.5675 GB, free: 15.21 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003454/0.6992, allocations: 1.677 MB / 0.5691 GB, free: 13.79 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001197/0.7005, allocations: 339.2 kB / 0.5695 GB, free: 13.54 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004223/0.7009, allocations: 113.5 kB / 0.5696 GB, free: 13.46 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.882e-05/0.701, allocations: 8.234 kB / 0.5696 GB, free: 13.45 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007092/0.7017, allocations: 261.5 kB / 0.5698 GB, free: 13.21 MB / 378.7 MB Notification: Performance of pre-optimization done (n=31): time 3.597e-06/0.7017, allocations: 0 / 0.5698 GB, free: 13.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=31): time 0.001327/0.7031, allocations: 349.7 kB / 0.5702 GB, free: 12.94 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002042/0.7033, allocations: 294.7 kB / 0.5705 GB, free: 12.58 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007053/0.704, allocations: 307.2 kB / 0.5707 GB, free: 12.34 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.46e-05/0.7041, allocations: 29.95 kB / 0.5708 GB, free: 12.31 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002361/0.7044, allocations: 249.8 kB / 0.571 GB, free: 12.1 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001615/0.7046, allocations: 96.47 kB / 0.5711 GB, free: 12.02 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.475e-05/0.7046, allocations: 0 / 0.5711 GB, free: 12.02 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001965/0.7048, allocations: 328 kB / 0.5714 GB, free: 11.7 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004015/0.7052, allocations: 108.7 kB / 0.5715 GB, free: 11.64 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000543/0.7058, allocations: 244 kB / 0.5718 GB, free: 11.39 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005008/0.7063, allocations: 151.8 kB / 0.5719 GB, free: 11.29 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.257e-06/0.7064, allocations: 11.89 kB / 0.5719 GB, free: 11.28 MB / 378.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.00141/0.7078, allocations: 400.2 kB / 0.5723 GB, free: 10.98 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.197e-05/0.7079, allocations: 29.7 kB / 0.5723 GB, free: 10.94 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.663e-05/0.7079, allocations: 12.03 kB / 0.5723 GB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.009e-05/0.7079, allocations: 4 kB / 0.5723 GB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009389/0.7089, allocations: 94.88 kB / 0.5724 GB, free: 10.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.959e-05/0.7089, allocations: 7.938 kB / 0.5724 GB, free: 10.83 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007564/0.7097, allocations: 51.66 kB / 0.5725 GB, free: 10.78 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.043e-05/0.7098, allocations: 19.94 kB / 0.5725 GB, free: 10.76 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 (43): * Single equations (assignments): 42 * 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.0002391/0.7101, allocations: 116.9 kB / 0.5726 GB, free: 10.64 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001592/0.7102, allocations: 43.5 kB / 0.5727 GB, free: 10.6 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001528/0.7118, allocations: 379.6 kB / 0.573 GB, free: 10.31 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-05/0.7118, allocations: 8 kB / 0.573 GB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.271e-05/0.7119, allocations: 8 kB / 0.573 GB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.458e-05/0.7119, allocations: 3.984 kB / 0.573 GB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002039/0.7139, allocations: 1.031 MB / 0.574 GB, free: 9.336 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.13e-05/0.714, allocations: 8.031 kB / 0.574 GB, free: 9.328 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008691/0.7149, allocations: 75.89 kB / 0.5741 GB, free: 9.254 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.936e-05/0.7149, allocations: 4 kB / 0.5741 GB, free: 9.25 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.543e-05/0.715, allocations: 6.875 kB / 0.5741 GB, free: 9.246 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-05/0.715, allocations: 7.984 kB / 0.5741 GB, free: 9.238 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.238e-05/0.715, allocations: 7.938 kB / 0.5741 GB, free: 9.23 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001519/0.7166, allocations: 0.5266 MB / 0.5747 GB, free: 8.703 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002248/0.7168, allocations: 127.8 kB / 0.5748 GB, free: 8.566 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001404/0.717, allocations: 15.61 kB / 0.5748 GB, free: 8.555 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005956/0.7176, allocations: 27.97 kB / 0.5748 GB, free: 8.527 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001904/0.7178, allocations: 47.16 kB / 0.5749 GB, free: 8.488 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.262e-05/0.7179, allocations: 19.98 kB / 0.5749 GB, free: 8.469 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005108/0.7184, allocations: 238 kB / 0.5751 GB, free: 8.293 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.91e-07/0.7184, allocations: 0 / 0.5751 GB, free: 8.293 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009771/0.7194, allocations: 99.59 kB / 0.5752 GB, free: 8.199 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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.001625/0.7211, allocations: 404 kB / 0.5756 GB, free: 7.867 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001146/0.7222, allocations: 369.7 kB / 0.5759 GB, free: 7.59 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.7223, allocations: 0 / 0.5759 GB, free: 7.59 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006109/0.7229, allocations: 182.4 kB / 0.5761 GB, free: 7.473 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000798/0.7237, allocations: 59.08 kB / 0.5762 GB, free: 7.43 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002048/0.7258, allocations: 0.572 MB / 0.5767 GB, free: 6.895 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007034/0.7265, allocations: 0.8192 MB / 0.5775 GB, free: 6.062 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003354/0.7269, allocations: 42.8 kB / 0.5776 GB, free: 6.023 MB / 378.7 MB Notification: Performance of SimCode: time 1.162e-06/0.7269, allocations: 0 / 0.5776 GB, free: 6.023 MB / 378.7 MB Notification: Performance of Templates: time 0.01811/0.745, allocations: 5.411 MB / 0.5829 GB, free: 0.6602 MB / 378.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.sim & ./PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.pipe 2>&1)