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.001778/0.001778, allocations: 75.73 kB / 21.24 MB, free: 400 kB / 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.002405/0.002405, allocations: 170.2 kB / 24.5 MB, free: 3.453 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.537/1.537, allocations: 177.2 MB / 204.9 MB, free: 9.035 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.1849/0.1849, allocations: 29.42 MB / 290.7 MB, free: 3.289 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: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002372/0.002372, allocations: 68.09 kB / 431.2 MB, free: 3.238 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3337/0.3361, allocations: 62.44 MB / 493.6 MB, free: 37.84 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest): time 0.004278/0.3404, allocations: 4.184 MB / 497.8 MB, free: 34.99 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002836/0.3432, allocations: 2.474 MB / 0.4886 GB, free: 33.37 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001497/0.3434, allocations: 14.16 kB / 0.4886 GB, free: 33.36 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000861/0.3442, allocations: 349.4 kB / 0.4889 GB, free: 33.16 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006485/0.3449, allocations: 377.9 kB / 0.4893 GB, free: 32.96 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006076/0.3455, allocations: 368.7 kB / 0.4896 GB, free: 32.76 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004752/0.346, allocations: 0.6238 MB / 0.4902 GB, free: 32.47 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002929/0.3462, allocations: 214.9 kB / 0.4904 GB, free: 32.36 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003704/0.3466, allocations: 288.4 kB / 0.4907 GB, free: 32.22 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002687/0.3469, allocations: 248.5 kB / 0.4909 GB, free: 32.12 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.421e-05/0.3469, allocations: 44.62 kB / 0.491 GB, free: 32.12 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006128/0.3476, allocations: 0.4935 MB / 0.4915 GB, free: 31.94 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001113/0.3477, allocations: 145 kB / 0.4916 GB, free: 31.87 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001322/0.3478, allocations: 166.9 kB / 0.4918 GB, free: 31.77 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006633/0.3485, allocations: 0.7425 MB / 0.4925 GB, free: 31.49 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3485, allocations: 6.844 kB / 0.4925 GB, free: 31.49 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.3485, allocations: 0 / 0.4925 GB, free: 31.49 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.155e-05/0.3485, allocations: 0 / 0.4925 GB, free: 31.49 MB / 446.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.00107/0.3495, allocations: 0.7437 MB / 0.4932 GB, free: 30.93 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.3496, allocations: 16.3 kB / 0.4932 GB, free: 30.92 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001017/0.3506, allocations: 111.8 kB / 0.4933 GB, free: 30.89 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004793/0.3511, allocations: 338.7 kB / 0.4937 GB, free: 30.66 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.951e-05/0.3511, allocations: 20.19 kB / 0.4937 GB, free: 30.65 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.438e-05/0.3511, allocations: 27.19 kB / 0.4937 GB, free: 30.64 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007212/0.3519, allocations: 497 kB / 0.4942 GB, free: 30.38 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.285e-05/0.3519, allocations: 3.031 kB / 0.4942 GB, free: 30.38 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.391e-05/0.3519, allocations: 10.58 kB / 0.4942 GB, free: 30.37 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.386e-05/0.3519, allocations: 23.45 kB / 0.4942 GB, free: 30.37 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008989/0.3528, allocations: 0.5173 MB / 0.4947 GB, free: 30.23 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001586/0.3544, allocations: 1.67 MB / 0.4964 GB, free: 28.95 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009549/0.3554, allocations: 409.3 kB / 0.4967 GB, free: 28.79 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003233/0.3557, allocations: 152.7 kB / 0.4969 GB, free: 28.73 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.659e-05/0.3557, allocations: 6.938 kB / 0.4969 GB, free: 28.72 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004671/0.3562, allocations: 295.3 kB / 0.4972 GB, free: 28.55 MB / 446.1 MB Notification: Performance of pre-optimization done (n=30): time 1.734e-06/0.3562, allocations: 3.156 kB / 0.4972 GB, free: 28.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=30): time 0.00123/0.3574, allocations: 0.5574 MB / 0.4977 GB, free: 28.35 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.96e-05/0.3575, allocations: 241.7 kB / 0.498 GB, free: 28.07 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003345/0.3578, allocations: 403.3 kB / 0.4983 GB, free: 27.86 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.782e-05/0.3578, allocations: 37.2 kB / 0.4984 GB, free: 27.82 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.3579, allocations: 216.9 kB / 0.4986 GB, free: 27.64 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.697e-05/0.358, allocations: 104.7 kB / 0.4987 GB, free: 27.56 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.21e-05/0.3581, allocations: 68.94 kB / 0.4988 GB, free: 27.52 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.189e-05/0.3582, allocations: 350.3 kB / 0.4991 GB, free: 27.19 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003474/0.3585, allocations: 181 kB / 0.4993 GB, free: 27.11 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003844/0.3589, allocations: 346.9 kB / 0.4996 GB, free: 26.83 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006969/0.3596, allocations: 490.7 kB / 0.5001 GB, free: 26.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.3596, allocations: 3.062 kB / 0.5001 GB, free: 26.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009181/0.3605, allocations: 0.5846 MB / 0.5006 GB, free: 26.22 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.992e-05/0.3605, allocations: 43.58 kB / 0.5007 GB, free: 26.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.3605, allocations: 6.406 kB / 0.5007 GB, free: 26.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.169e-05/0.3606, allocations: 6.375 kB / 0.5007 GB, free: 26.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003345/0.3609, allocations: 88.86 kB / 0.5008 GB, free: 26.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.3609, allocations: 13.64 kB / 0.5008 GB, free: 26.17 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002563/0.3612, allocations: 46.22 kB / 0.5008 GB, free: 26.15 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.912e-05/0.3612, allocations: 19.84 kB / 0.5008 GB, free: 26.15 MB / 446.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.0001515/0.3614, allocations: 191.4 kB / 0.501 GB, free: 26 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.228e-05/0.3614, allocations: 43.7 kB / 0.5011 GB, free: 25.97 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009027/0.3623, allocations: 490.5 kB / 0.5015 GB, free: 25.78 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.3623, allocations: 7.188 kB / 0.5015 GB, free: 25.78 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.3623, allocations: 0 / 0.5015 GB, free: 25.78 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.3623, allocations: 14.12 kB / 0.5016 GB, free: 25.77 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006138/0.3629, allocations: 0.7773 MB / 0.5023 GB, free: 25.14 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.363, allocations: 3.094 kB / 0.5023 GB, free: 25.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002829/0.3632, allocations: 73.41 kB / 0.5024 GB, free: 25.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.3632, allocations: 3.094 kB / 0.5024 GB, free: 25.14 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.897e-05/0.3633, allocations: 18.03 kB / 0.5024 GB, free: 25.13 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.3633, allocations: 3.25 kB / 0.5024 GB, free: 25.13 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.3633, allocations: 3.438 kB / 0.5024 GB, free: 25.13 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009116/0.3642, allocations: 0.5165 MB / 0.5029 GB, free: 24.88 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.768e-05/0.3642, allocations: 44.41 kB / 0.503 GB, free: 24.85 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.925e-05/0.3643, allocations: 14.5 kB / 0.503 GB, free: 24.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002122/0.3645, allocations: 24.16 kB / 0.503 GB, free: 24.84 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.3646, allocations: 42.08 kB / 0.503 GB, free: 24.83 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.481e-05/0.3647, allocations: 21.06 kB / 0.5031 GB, free: 24.82 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002542/0.3649, allocations: 279.3 kB / 0.5033 GB, free: 24.68 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3649, allocations: 0 / 0.5033 GB, free: 24.68 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000476/0.3654, allocations: 122.4 kB / 0.5034 GB, free: 24.65 MB / 446.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.001831/0.3672, allocations: 0.5506 MB / 0.504 GB, free: 24.4 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008901/0.3681, allocations: 483.5 kB / 0.5044 GB, free: 24.18 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.716e-06/0.3681, allocations: 0 / 0.5044 GB, free: 24.18 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004183/0.3685, allocations: 202.7 kB / 0.5046 GB, free: 24.12 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004409/0.369, allocations: 85.84 kB / 0.5047 GB, free: 24.08 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009925/0.37, allocations: 0.7579 MB / 0.5055 GB, free: 23.62 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001505/0.3701, allocations: 221.1 kB / 0.5057 GB, free: 23.52 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001902/0.3703, allocations: 83.5 kB / 0.5057 GB, free: 23.52 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001086/0.3704, allocations: 50.81 kB / 0.5058 GB, free: 23.5 MB / 446.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3704, allocations: 0 / 0.5058 GB, free: 23.5 MB / 446.1 MB Notification: Performance of Templates: time 0.3504/0.7209, allocations: 5.576 MB / 0.5112 GB, free: 22.8 MB / 446.1 MB " [Timeout remaining time 659] 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.mat","/var/lib/jenkins1/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: 5.7009001650149]