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.001535/0.001535, allocations: 84.92 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001664/0.001664, allocations: 165.1 kB / 23.96 MB, free: 4.164 MB / 14.72 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.39/1.39, allocations: 177.2 MB / 204.3 MB, free: 9.18 MB / 190.1 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.1712/0.1712, allocations: 29.44 MB / 290.1 MB, free: 3.285 MB / 270.1 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.122e-06/1.122e-06, allocations: 0 / 430.7 MB, free: 1.938 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.045e-05/2.157e-05, allocations: 2.281 kB / 430.7 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest): time 0.00564/0.005661, allocations: 4.168 MB / 434.9 MB, free: 13.74 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00395/0.009611, allocations: 2.457 MB / 437.3 MB, free: 11.27 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001627/0.009774, allocations: 15.88 kB / 437.4 MB, free: 11.26 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001127/0.0109, allocations: 342.4 kB / 437.7 MB, free: 10.92 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000869/0.01177, allocations: 394 kB / 438.1 MB, free: 10.54 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008238/0.01259, allocations: 366.5 kB / 438.4 MB, free: 10.18 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007698/0.01336, allocations: 0.635 MB / 439.1 MB, free: 9.539 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000425/0.01379, allocations: 214.2 kB / 439.3 MB, free: 9.328 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006536/0.01444, allocations: 377.7 kB / 439.6 MB, free: 8.961 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00038/0.01482, allocations: 231.3 kB / 439.9 MB, free: 8.734 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.868e-05/0.01489, allocations: 40 kB / 439.9 MB, free: 8.695 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009193/0.01581, allocations: 0.5063 MB / 440.4 MB, free: 8.188 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001783/0.01599, allocations: 147.6 kB / 440.6 MB, free: 8.043 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001744/0.01616, allocations: 135.6 kB / 440.7 MB, free: 7.91 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001097/0.01726, allocations: 0.7868 MB / 441.5 MB, free: 7.121 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.01726, allocations: 0 / 441.5 MB, free: 7.121 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.01727, allocations: 0 / 441.5 MB, free: 7.121 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.311e-05/0.01728, allocations: 0 / 441.5 MB, free: 7.121 MB / 366.1 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.00143/0.01871, allocations: 0.745 MB / 442.2 MB, free: 6.336 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.01874, allocations: 11.98 kB / 442.2 MB, free: 6.324 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001016/0.01976, allocations: 116.6 kB / 442.3 MB, free: 6.211 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005859/0.02035, allocations: 341.4 kB / 442.7 MB, free: 5.855 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.079e-05/0.02037, allocations: 16.88 kB / 442.7 MB, free: 5.84 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.813e-05/0.02043, allocations: 24.38 kB / 442.7 MB, free: 5.816 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009362/0.02136, allocations: 494.7 kB / 443.2 MB, free: 5.293 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.02137, allocations: 7.938 kB / 443.2 MB, free: 5.285 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.816e-05/0.02141, allocations: 15.94 kB / 443.2 MB, free: 5.27 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.262e-05/0.02146, allocations: 20.48 kB / 443.2 MB, free: 5.25 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001141/0.0226, allocations: 0.5287 MB / 443.8 MB, free: 4.723 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002292/0.02489, allocations: 1.66 MB / 445.4 MB, free: 2.969 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001207/0.0261, allocations: 409.7 kB / 445.8 MB, free: 2.551 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004023/0.0265, allocations: 145.6 kB / 446 MB, free: 2.402 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.047e-05/0.02652, allocations: 4 kB / 446 MB, free: 2.398 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006365/0.02715, allocations: 293.6 kB / 446.3 MB, free: 2.078 MB / 366.1 MB Notification: Performance of pre-optimization done (n=30): time 2.064e-06/0.02716, allocations: 0 / 446.3 MB, free: 2.078 MB / 366.1 MB Notification: Performance of matching and sorting (n=30): time 0.001522/0.02868, allocations: 0.5586 MB / 446.8 MB, free: 1.516 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001642/0.02884, allocations: 247.2 kB / 447.1 MB, free: 1.219 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004963/0.02934, allocations: 397.6 kB / 447.5 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.016e-05/0.02939, allocations: 37.69 kB / 447.5 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001814/0.02957, allocations: 208.5 kB / 447.7 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/0.02968, allocations: 111.1 kB / 447.8 MB, free: 476 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001235/0.0298, allocations: 69.97 kB / 447.9 MB, free: 400 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001773/0.02998, allocations: 350.8 kB / 448.2 MB, free: 40 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.164/0.194, allocations: 179.7 kB / 448.4 MB, free: 29.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004664/0.1945, allocations: 345.7 kB / 448.7 MB, free: 29.71 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007962/0.1953, allocations: 494.5 kB / 449.2 MB, free: 29.52 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.1953, allocations: 1.625 kB / 449.2 MB, free: 29.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001095/0.1964, allocations: 0.5724 MB / 449.8 MB, free: 29.33 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.438e-05/0.1964, allocations: 38.44 kB / 449.8 MB, free: 29.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.1964, allocations: 5.172 kB / 449.8 MB, free: 29.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.201e-05/0.1964, allocations: 6.938 kB / 449.8 MB, free: 29.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000362/0.1968, allocations: 99.92 kB / 449.9 MB, free: 29.28 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.255e-05/0.1968, allocations: 7.656 kB / 449.9 MB, free: 29.28 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002919/0.1971, allocations: 50.52 kB / 450 MB, free: 29.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.327e-05/0.1971, allocations: 20.06 kB / 450 MB, free: 29.27 MB / 366.1 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.0001876/0.1973, allocations: 195.7 kB / 450.2 MB, free: 29.12 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.854e-05/0.1974, allocations: 38.92 kB / 450.2 MB, free: 29.12 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001046/0.1984, allocations: 476.9 kB / 450.7 MB, free: 28.95 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.124e-06/0.1984, allocations: 10 kB / 450.7 MB, free: 28.95 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.1984, allocations: 2.344 kB / 450.7 MB, free: 28.95 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.1984, allocations: 3.547 kB / 450.7 MB, free: 28.95 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006469/0.1991, allocations: 0.7798 MB / 451.5 MB, free: 28.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.1991, allocations: 1.344 kB / 451.5 MB, free: 28.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002972/0.1994, allocations: 73.52 kB / 451.6 MB, free: 28.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.1994, allocations: 8.094 kB / 451.6 MB, free: 28.34 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.797e-05/0.1994, allocations: 16.05 kB / 451.6 MB, free: 28.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.1994, allocations: 7.188 kB / 451.6 MB, free: 28.33 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.1994, allocations: 8.562 kB / 451.6 MB, free: 28.33 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009365/0.2004, allocations: 0.513 MB / 452.1 MB, free: 28.1 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.048e-05/0.2004, allocations: 46.12 kB / 452.2 MB, free: 28.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.343e-05/0.2005, allocations: 14.97 kB / 452.2 MB, free: 28.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002244/0.2007, allocations: 40.41 kB / 452.2 MB, free: 28.05 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.255e-05/0.2008, allocations: 39.19 kB / 452.3 MB, free: 28.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.104e-05/0.2008, allocations: 16.31 kB / 452.3 MB, free: 28.04 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002488/0.2011, allocations: 284.6 kB / 452.6 MB, free: 27.89 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2011, allocations: 0 / 452.6 MB, free: 27.89 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004381/0.2015, allocations: 114.7 kB / 452.7 MB, free: 27.88 MB / 366.1 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.001768/0.2033, allocations: 0.5466 MB / 453.2 MB, free: 27.72 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009209/0.2042, allocations: 477.5 kB / 453.7 MB, free: 27.5 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.2042, allocations: 0 / 453.7 MB, free: 27.5 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004541/0.2047, allocations: 209.7 kB / 453.9 MB, free: 27.44 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004469/0.2051, allocations: 79.7 kB / 454 MB, free: 27.41 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.2062, allocations: 0.7389 MB / 454.7 MB, free: 26.97 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001852/0.2064, allocations: 216.5 kB / 454.9 MB, free: 26.88 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002112/0.2066, allocations: 85.91 kB / 455 MB, free: 26.87 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001289/0.2068, allocations: 48.59 kB / 455 MB, free: 26.86 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2068, allocations: 0 / 455 MB, free: 26.86 MB / 366.1 MB Notification: Performance of Templates: time 0.01096/0.2177, allocations: 5.596 MB / 460.6 MB, free: 26.17 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe 2>&1) [Timeout 480] 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.620055966079235]