Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 83.58 kB / 21.19 MB, free: 3.383 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009728/0.0009728, allocations: 165 kB / 24.56 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9718/0.9718, allocations: 177.1 MB / 205 MB, free: 5.301 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2358/0.2358, allocations: 29.41 MB / 290.9 MB, free: 2.461 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest") translateModel(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 3.938 kB / 369.6 MB, free: 11.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.958e-05/3.122e-05, allocations: 2.312 kB / 369.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest): time 0.004599/0.00463, allocations: 4.186 MB / 373.8 MB, free: 6.816 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002744/0.007374, allocations: 2.154 MB / 376 MB, free: 4.652 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003473/0.007721, allocations: 15.88 kB / 376 MB, free: 4.637 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008726/0.008594, allocations: 286.6 kB / 376.3 MB, free: 4.355 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000801/0.009395, allocations: 354.2 kB / 376.6 MB, free: 4.008 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007388/0.01013, allocations: 366.5 kB / 377 MB, free: 3.648 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006474/0.01078, allocations: 0.6311 MB / 377.6 MB, free: 3.016 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003951/0.01118, allocations: 226.1 kB / 377.8 MB, free: 2.801 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005649/0.01174, allocations: 359 kB / 378.2 MB, free: 2.449 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003391/0.01208, allocations: 243.3 kB / 378.4 MB, free: 2.211 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.118e-05/0.01213, allocations: 40 kB / 378.5 MB, free: 2.172 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007542/0.01289, allocations: 478.6 kB / 378.9 MB, free: 1.703 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001445/0.01303, allocations: 151.6 kB / 379.1 MB, free: 1.555 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001276/0.01316, allocations: 131.6 kB / 379.2 MB, free: 1.426 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008792/0.01404, allocations: 0.6035 MB / 379.8 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.01404, allocations: 0 / 379.8 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.01404, allocations: 0 / 379.8 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.01405, allocations: 0 / 379.8 MB, free: 0.8203 MB / 346.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.001008/0.01506, allocations: 0.8194 MB / 380.6 MB, free: 15.96 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.0151, allocations: 11.98 kB / 380.6 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007381/0.01584, allocations: 192.2 kB / 380.8 MB, free: 15.76 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004443/0.01629, allocations: 349 kB / 381.2 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.496e-05/0.01631, allocations: 20.88 kB / 381.2 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.777e-05/0.01635, allocations: 24.36 kB / 381.2 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000477/0.01683, allocations: 370.6 kB / 381.6 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.01684, allocations: 0 / 381.6 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.535e-05/0.01686, allocations: 8 kB / 381.6 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.65e-05/0.0169, allocations: 28.42 kB / 381.6 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003689/0.01727, allocations: 258.6 kB / 381.9 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001411/0.01868, allocations: 1.881 MB / 383.7 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004804/0.01916, allocations: 270.2 kB / 384 MB, free: 12.37 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.01926, allocations: 71.22 kB / 384.1 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/0.01929, allocations: 4 kB / 384.1 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000256/0.01955, allocations: 230.7 kB / 384.3 MB, free: 12.02 MB / 362.7 MB Notification: Performance of pre-optimization done (n=30): time 2.425e-06/0.01955, allocations: 3.984 kB / 384.3 MB, free: 12.01 MB / 362.7 MB Notification: Performance of matching and sorting (n=30): time 0.0005292/0.02008, allocations: 327.9 kB / 384.6 MB, free: 11.69 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.951e-05/0.02017, allocations: 239.3 kB / 384.9 MB, free: 11.4 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002803/0.02045, allocations: 386.7 kB / 385.2 MB, free: 11.01 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.73e-05/0.02048, allocations: 37.7 kB / 385.3 MB, free: 10.96 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/0.0206, allocations: 263.2 kB / 385.5 MB, free: 10.7 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.38e-05/0.02066, allocations: 103.2 kB / 385.6 MB, free: 10.6 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.363e-05/0.02075, allocations: 75.34 kB / 385.7 MB, free: 10.52 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.02088, allocations: 0.5242 MB / 386.2 MB, free: 9.98 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001117/0.02099, allocations: 74.05 kB / 386.3 MB, free: 9.898 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001912/0.02118, allocations: 309.7 kB / 386.6 MB, free: 9.5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000297/0.02148, allocations: 347.4 kB / 386.9 MB, free: 9.074 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.02148, allocations: 3.938 kB / 386.9 MB, free: 9.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000433/0.02192, allocations: 416 kB / 387.3 MB, free: 8.645 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.425e-05/0.02195, allocations: 37.69 kB / 387.4 MB, free: 8.602 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.02196, allocations: 4 kB / 387.4 MB, free: 8.598 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.02198, allocations: 4 kB / 387.4 MB, free: 8.594 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001899/0.02217, allocations: 92.39 kB / 387.5 MB, free: 8.504 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.02217, allocations: 12 kB / 387.5 MB, free: 8.492 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001339/0.02231, allocations: 39.77 kB / 387.5 MB, free: 8.453 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.328e-05/0.02233, allocations: 23.98 kB / 387.6 MB, free: 8.43 MB / 362.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 ($PRE.windFarm.wind.nextTimeEvent,$whenCondition2,windFarm.disturbance.count,$PRE.windFarm.disturbance.count,windFarm.disturbance.T_start,$PRE.windFarm.disturbance.T_start,windFarm.wind.nextTimeEventScaled,$PRE.windFarm.wind.nextTimeEventScaled,windFarm.wind.nextTimeEvent,$whenCondition1,system.initime) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001183/0.02245, allocations: 188.4 kB / 387.7 MB, free: 8.234 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.382e-05/0.0225, allocations: 51.7 kB / 387.8 MB, free: 8.184 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003839/0.02289, allocations: 320.5 kB / 388.1 MB, free: 7.863 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.02289, allocations: 4 kB / 388.1 MB, free: 7.859 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.0229, allocations: 4 kB / 388.1 MB, free: 7.855 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.0229, allocations: 4 kB / 388.1 MB, free: 7.852 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006017/0.02351, allocations: 0.9504 MB / 389.1 MB, free: 6.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.02351, allocations: 0 / 389.1 MB, free: 6.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001474/0.02366, allocations: 67.91 kB / 389.1 MB, free: 6.773 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.02366, allocations: 4 kB / 389.1 MB, free: 6.77 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.02e-05/0.02368, allocations: 15.98 kB / 389.2 MB, free: 6.754 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.02368, allocations: 4 kB / 389.2 MB, free: 6.75 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.02369, allocations: 3.938 kB / 389.2 MB, free: 6.746 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003799/0.02407, allocations: 393.2 kB / 389.5 MB, free: 6.316 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.781e-05/0.0241, allocations: 39.69 kB / 389.6 MB, free: 6.277 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.863e-05/0.02414, allocations: 16 kB / 389.6 MB, free: 6.262 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.194e-05/0.02423, allocations: 23.98 kB / 389.6 MB, free: 6.238 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.328e-05/0.02431, allocations: 39.81 kB / 389.7 MB, free: 6.199 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.229e-05/0.02433, allocations: 19.98 kB / 389.7 MB, free: 6.18 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000167/0.0245, allocations: 259 kB / 389.9 MB, free: 5.926 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0245, allocations: 0 / 389.9 MB, free: 5.926 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003238/0.02482, allocations: 115.8 kB / 390 MB, free: 5.812 MB / 362.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) * Number of clocked states: 0 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009862/0.02581, allocations: 0.5113 MB / 390.6 MB, free: 5.48 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003698/0.02618, allocations: 301.3 kB / 390.9 MB, free: 5.164 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.02618, allocations: 0 / 390.9 MB, free: 5.164 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001389/0.02632, allocations: 119.4 kB / 391 MB, free: 5.043 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003055/0.02662, allocations: 91.02 kB / 391.1 MB, free: 4.961 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001188/0.02781, allocations: 0.6891 MB / 391.7 MB, free: 4.215 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.279e-05/0.02788, allocations: 118.1 kB / 391.9 MB, free: 4.082 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000143/0.02803, allocations: 79.2 kB / 391.9 MB, free: 4 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.32e-05/0.02812, allocations: 44.48 kB / 392 MB, free: 3.957 MB / 362.7 MB Notification: Performance of SimCode: time 8.11e-07/0.02812, allocations: 0 / 392 MB, free: 3.957 MB / 362.7 MB Notification: Performance of Templates: time 0.007579/0.0357, allocations: 5.632 MB / 397.6 MB, free: 14.38 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.sim & ./PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.162236475851387]