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/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.001373/0.001373, 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.001651/0.001651, 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.9533/0.9533, allocations: 177.1 MB / 205 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.2342/0.2342, allocations: 29.41 MB / 290.9 MB, free: 2.492 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/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="mat",numberOfIntervals=2500,variableFilter="Time|inverter.I|windFarm.p.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest") translateModel(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|inverter.I|windFarm.p.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.042e-06/1.042e-06, allocations: 0 / 369.6 MB, free: 11.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.48e-05/1.584e-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.003705/0.003721, allocations: 4.179 MB / 373.8 MB, free: 6.82 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002519/0.00624, allocations: 2.15 MB / 376 MB, free: 4.66 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001726/0.006412, allocations: 15.88 kB / 376 MB, free: 4.645 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004939/0.006906, allocations: 302.5 kB / 376.3 MB, free: 4.348 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005266/0.007433, allocations: 350.2 kB / 376.6 MB, free: 4.004 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005653/0.007998, allocations: 358.5 kB / 377 MB, free: 3.652 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004855/0.008484, allocations: 0.6388 MB / 377.6 MB, free: 3.012 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002393/0.008723, allocations: 222.2 kB / 377.8 MB, free: 2.801 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003848/0.009108, allocations: 366.9 kB / 378.2 MB, free: 2.441 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002366/0.009344, allocations: 231.4 kB / 378.4 MB, free: 2.215 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.215e-05/0.009386, allocations: 44 kB / 378.4 MB, free: 2.172 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005214/0.009908, allocations: 474.7 kB / 378.9 MB, free: 1.707 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001298/0.01004, allocations: 151.6 kB / 379.1 MB, free: 1.559 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001113/0.01015, allocations: 139.6 kB / 379.2 MB, free: 1.422 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006456/0.01079, allocations: 0.5957 MB / 379.8 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.0108, allocations: 0 / 379.8 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.0108, allocations: 3.984 kB / 379.8 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.0108, 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.0007524/0.01155, allocations: 0.8216 MB / 380.6 MB, free: 15.95 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.663e-05/0.01158, allocations: 15.98 kB / 380.6 MB, free: 15.94 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000606/0.01219, allocations: 188.2 kB / 380.8 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003618/0.01255, allocations: 357 kB / 381.2 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.01257, allocations: 16.88 kB / 381.2 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.362e-05/0.0126, allocations: 28.34 kB / 381.2 MB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004067/0.01301, allocations: 360.3 kB / 381.6 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.01302, allocations: 7.938 kB / 381.6 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.986e-05/0.01304, allocations: 8 kB / 381.6 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.593e-05/0.01306, allocations: 20.48 kB / 381.6 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003393/0.0134, allocations: 266.6 kB / 381.9 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001247/0.01465, allocations: 1.874 MB / 383.7 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004347/0.01508, allocations: 274.2 kB / 384 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.148e-05/0.01518, allocations: 59.36 kB / 384.1 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.146e-05/0.0152, allocations: 15.92 kB / 384.1 MB, free: 12.28 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002145/0.01541, allocations: 222.7 kB / 384.3 MB, free: 12.02 MB / 362.7 MB Notification: Performance of pre-optimization done (n=30): time 1.442e-06/0.01541, allocations: 3.938 kB / 384.3 MB, free: 12.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=30): time 0.0004392/0.01585, allocations: 319.8 kB / 384.6 MB, free: 11.7 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.867e-05/0.01593, allocations: 243.3 kB / 384.8 MB, free: 11.41 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002633/0.01619, allocations: 386.7 kB / 385.2 MB, free: 11.02 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.657e-05/0.01622, allocations: 38.44 kB / 385.3 MB, free: 10.97 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001403/0.01636, allocations: 259.3 kB / 385.5 MB, free: 10.71 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.809e-05/0.01643, allocations: 111.2 kB / 385.6 MB, free: 10.6 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.021e-05/0.01652, allocations: 79.3 kB / 385.7 MB, free: 10.52 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001745/0.01669, allocations: 0.5196 MB / 386.2 MB, free: 9.984 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001219/0.01682, allocations: 82.03 kB / 386.3 MB, free: 9.895 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002191/0.01704, allocations: 305.7 kB / 386.6 MB, free: 9.5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003025/0.01734, allocations: 339.5 kB / 386.9 MB, free: 9.082 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.01734, allocations: 8 kB / 386.9 MB, free: 9.074 MB / 362.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004186/0.01776, allocations: 408.7 kB / 387.3 MB, free: 8.656 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.01778, allocations: 33.7 kB / 387.4 MB, free: 8.617 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.01779, allocations: 8.031 kB / 387.4 MB, free: 8.609 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.0178, allocations: 11.98 kB / 387.4 MB, free: 8.598 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001845/0.01799, allocations: 91.83 kB / 387.5 MB, free: 8.508 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.018, allocations: 11.92 kB / 387.5 MB, free: 8.496 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001217/0.01812, allocations: 47.72 kB / 387.5 MB, free: 8.449 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.874e-05/0.01814, allocations: 16 kB / 387.5 MB, free: 8.434 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.00011/0.01825, allocations: 188.5 kB / 387.7 MB, free: 8.238 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.531e-05/0.0183, allocations: 55.69 kB / 387.8 MB, free: 8.184 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000375/0.01868, allocations: 316.6 kB / 388.1 MB, free: 7.867 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.01868, allocations: 8 kB / 388.1 MB, free: 7.859 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.01869, allocations: 3.938 kB / 388.1 MB, free: 7.855 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.01869, allocations: 7.984 kB / 388.1 MB, free: 7.848 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005775/0.01927, allocations: 0.9348 MB / 389 MB, free: 6.852 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.01927, allocations: 4 kB / 389.1 MB, free: 6.848 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001428/0.01942, allocations: 71.83 kB / 389.1 MB, free: 6.777 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.01942, allocations: 12.06 kB / 389.1 MB, free: 6.766 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.64e-05/0.01944, allocations: 8 kB / 389.1 MB, free: 6.758 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.01944, allocations: 4 kB / 389.1 MB, free: 6.754 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.01944, allocations: 4 kB / 389.1 MB, free: 6.75 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003739/0.01982, allocations: 397 kB / 389.5 MB, free: 6.316 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.046e-05/0.01986, allocations: 43.64 kB / 389.6 MB, free: 6.273 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.456e-05/0.01989, allocations: 12 kB / 389.6 MB, free: 6.262 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.528e-05/0.01998, allocations: 23.97 kB / 389.6 MB, free: 6.238 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.993e-05/0.02004, allocations: 43.88 kB / 389.7 MB, free: 6.195 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.688e-05/0.02005, allocations: 16 kB / 389.7 MB, free: 6.18 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001593/0.02021, allocations: 263.1 kB / 389.9 MB, free: 5.922 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02021, allocations: 0 / 389.9 MB, free: 5.922 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002799/0.02049, allocations: 115.8 kB / 390 MB, free: 5.809 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.0009163/0.02141, allocations: 0.5076 MB / 390.6 MB, free: 5.488 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003424/0.02175, allocations: 300.7 kB / 390.8 MB, free: 5.172 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.02175, allocations: 3.938 kB / 390.8 MB, free: 5.168 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001337/0.02189, allocations: 116.6 kB / 391 MB, free: 5.051 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002628/0.02215, allocations: 93.64 kB / 391.1 MB, free: 4.969 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001053/0.0232, allocations: 0.6841 MB / 391.7 MB, free: 4.227 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.755e-05/0.02327, allocations: 126.1 kB / 391.9 MB, free: 4.086 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001348/0.0234, allocations: 75.22 kB / 391.9 MB, free: 4.008 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.812e-05/0.02349, allocations: 52.47 kB / 392 MB, free: 3.957 MB / 362.7 MB Notification: Performance of SimCode: time 5.51e-07/0.02349, allocations: 0 / 392 MB, free: 3.957 MB / 362.7 MB Notification: Performance of Templates: time 0.006794/0.03029, allocations: 5.63 MB / 397.6 MB, free: 14.38 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.makefile [Timeout 660] (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 & ./PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.276294314302504]