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.002421/0.002421, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.002872/0.002872, allocations: 165.3 kB / 24.27 MB, free: 152 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 1.543/1.543, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.3099/0.3099, allocations: 29.41 MB / 290.5 MB, free: 2.414 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.1.",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.1.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.774e-05/2.943e-05, allocations: 2.312 kB / 368.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest): time 0.006902/0.006931, allocations: 4.319 MB / 373.2 MB, free: 6.977 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004981/0.01191, allocations: 2.59 MB / 375.8 MB, free: 4.375 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002672/0.01218, allocations: 15.88 kB / 375.8 MB, free: 4.359 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00122/0.0134, allocations: 338.4 kB / 376.1 MB, free: 4.027 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001062/0.01446, allocations: 398 kB / 376.5 MB, free: 3.637 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009432/0.0154, allocations: 370.5 kB / 376.9 MB, free: 3.273 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001098/0.0165, allocations: 0.635 MB / 377.5 MB, free: 2.637 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004243/0.01693, allocations: 222.1 kB / 377.7 MB, free: 2.426 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007211/0.01765, allocations: 366.9 kB / 378.1 MB, free: 2.066 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004313/0.01808, allocations: 243.3 kB / 378.3 MB, free: 1.828 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.693e-05/0.01817, allocations: 44 kB / 378.4 MB, free: 1.785 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001116/0.01928, allocations: 0.5023 MB / 378.9 MB, free: 1.281 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002139/0.0195, allocations: 151.5 kB / 379 MB, free: 1.133 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002057/0.0197, allocations: 135.7 kB / 379.2 MB, free: 1 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001226/0.02093, allocations: 0.7945 MB / 380 MB, free: 208 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.02093, allocations: 0 / 380 MB, free: 208 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.02093, allocations: 0 / 380 MB, free: 208 kB / 346.7 MB Notification: Performance of Transformations before backend: time 6.742e-06/0.02094, allocations: 0 / 380 MB, free: 208 kB / 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.001528/0.02247, allocations: 0.8487 MB / 380.8 MB, free: 15.3 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.02251, allocations: 19.98 kB / 380.8 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001084/0.0236, allocations: 192.2 kB / 381 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006545/0.02425, allocations: 340.3 kB / 381.3 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.607e-05/0.02429, allocations: 24.86 kB / 381.4 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.339e-05/0.02434, allocations: 20.38 kB / 381.4 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008147/0.02515, allocations: 416.3 kB / 381.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.02517, allocations: 7.875 kB / 381.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.653e-05/0.02521, allocations: 8 kB / 381.8 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.818e-05/0.02526, allocations: 24.48 kB / 381.8 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008596/0.02612, allocations: 361.6 kB / 382.2 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002591/0.02871, allocations: 1.977 MB / 384.2 MB, free: 11.77 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001303/0.03001, allocations: 345.3 kB / 384.5 MB, free: 11.41 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002926/0.0303, allocations: 111.3 kB / 384.6 MB, free: 11.29 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.227e-05/0.03033, allocations: 8 kB / 384.6 MB, free: 11.28 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005583/0.03089, allocations: 286.7 kB / 384.9 MB, free: 10.96 MB / 362.7 MB Notification: Performance of pre-optimization done (n=30): time 1.623e-06/0.03089, allocations: 0 / 384.9 MB, free: 10.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=30): time 0.001208/0.0321, allocations: 439.8 kB / 385.3 MB, free: 10.52 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001929/0.0323, allocations: 248 kB / 385.6 MB, free: 10.23 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000573/0.03287, allocations: 466.7 kB / 386 MB, free: 9.758 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.561e-05/0.03292, allocations: 41.69 kB / 386.1 MB, free: 9.711 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000261/0.03319, allocations: 275.3 kB / 386.3 MB, free: 9.434 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001204/0.03331, allocations: 115.2 kB / 386.4 MB, free: 9.32 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001651/0.03347, allocations: 95.3 kB / 386.5 MB, free: 9.219 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003255/0.0338, allocations: 0.543 MB / 387.1 MB, free: 8.664 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003322/0.03413, allocations: 134 kB / 387.2 MB, free: 8.523 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000529/0.03466, allocations: 361.8 kB / 387.6 MB, free: 8.074 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007962/0.03545, allocations: 447.4 kB / 388 MB, free: 7.551 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.03546, allocations: 4 kB / 388 MB, free: 7.547 MB / 362.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001031/0.03649, allocations: 0.5002 MB / 388.5 MB, free: 7.027 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.074e-05/0.03654, allocations: 37.69 kB / 388.5 MB, free: 6.984 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.03655, allocations: 4 kB / 388.5 MB, free: 6.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.03657, allocations: 4 kB / 388.5 MB, free: 6.977 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003591/0.03693, allocations: 95.77 kB / 388.6 MB, free: 6.883 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.424e-05/0.03694, allocations: 8.469 kB / 388.6 MB, free: 6.875 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002542/0.03719, allocations: 47.72 kB / 388.7 MB, free: 6.828 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.866e-05/0.03723, allocations: 20 kB / 388.7 MB, free: 6.809 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.0002362/0.03747, allocations: 208.3 kB / 388.9 MB, free: 6.594 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/0.03757, allocations: 51.77 kB / 389 MB, free: 6.543 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009506/0.03852, allocations: 384.7 kB / 389.3 MB, free: 6.16 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.03853, allocations: 4 kB / 389.3 MB, free: 6.156 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.826e-06/0.03854, allocations: 7.938 kB / 389.4 MB, free: 6.148 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.285e-06/0.03855, allocations: 7.984 kB / 389.4 MB, free: 6.141 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001259/0.03981, allocations: 1.005 MB / 390.4 MB, free: 5.074 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.03981, allocations: 0 / 390.4 MB, free: 5.074 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002884/0.0401, allocations: 71.83 kB / 390.4 MB, free: 5.004 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.102e-06/0.0401, allocations: 4 kB / 390.4 MB, free: 5 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.954e-05/0.04013, allocations: 8 kB / 390.5 MB, free: 4.992 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.099e-06/0.04014, allocations: 7.938 kB / 390.5 MB, free: 4.984 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.04014, allocations: 7.938 kB / 390.5 MB, free: 4.977 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009516/0.04109, allocations: 481.2 kB / 390.9 MB, free: 4.461 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.688e-05/0.04117, allocations: 43.64 kB / 391 MB, free: 4.418 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.686e-05/0.04124, allocations: 15.98 kB / 391 MB, free: 4.402 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000188/0.04143, allocations: 23.98 kB / 391 MB, free: 4.379 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/0.04153, allocations: 39.88 kB / 391.1 MB, free: 4.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.247e-05/0.04156, allocations: 12 kB / 391.1 MB, free: 4.328 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006269/0.04219, allocations: 303.1 kB / 391.4 MB, free: 4.031 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.04219, allocations: 0 / 391.4 MB, free: 4.031 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005158/0.04271, allocations: 123.8 kB / 391.5 MB, free: 3.91 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.003474/0.04618, allocations: 0.5537 MB / 392 MB, free: 3.582 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009514/0.04713, allocations: 409.6 kB / 392.4 MB, free: 3.16 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/0.04714, allocations: 4 kB / 392.4 MB, free: 3.156 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003883/0.04753, allocations: 171.6 kB / 392.6 MB, free: 2.984 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005189/0.04805, allocations: 85.91 kB / 392.7 MB, free: 2.906 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001468/0.04951, allocations: 0.7113 MB / 393.4 MB, free: 2.141 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002654/0.04978, allocations: 218.1 kB / 393.6 MB, free: 1.906 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002427/0.05002, allocations: 79.22 kB / 393.7 MB, free: 1.828 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001494/0.05017, allocations: 52.47 kB / 393.7 MB, free: 1.777 MB / 362.7 MB Notification: Performance of SimCode: time 1.393e-06/0.05017, allocations: 4 kB / 393.8 MB, free: 1.773 MB / 362.7 MB Notification: Performance of Templates: time 0.01292/0.06309, allocations: 5.616 MB / 399.4 MB, free: 12.22 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.939621404977515]