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.001116/0.001116, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001723/0.002839, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001106/0.001106, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001405/0.002512, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9784/0.9784, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07928/1.058, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo): time 0.1406/0.1406, allocations: 29.44 MB / 273.4 MB, free: 1.496 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1289/0.2695, allocations: 9.524 MB / 283 MB, free: 12.85 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-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="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="inverter.I|windFarm.p.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 284.2 MB, free: 11.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.961e-05/2.116e-05, allocations: 4.781 kB / 284.2 MB, free: 11.93 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest): time 0.00492/0.004941, allocations: 4.246 MB / 288.5 MB, free: 8.559 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002725/0.007666, allocations: 2.191 MB / 290.7 MB, free: 6.879 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000178/0.007844, allocations: 15.19 kB / 290.7 MB, free: 6.871 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006212/0.008465, allocations: 363 kB / 291 MB, free: 6.602 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005701/0.009035, allocations: 369.7 kB / 291.4 MB, free: 6.316 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005341/0.009569, allocations: 353.1 kB / 291.7 MB, free: 6.051 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005112/0.01008, allocations: 0.6475 MB / 292.4 MB, free: 5.691 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002774/0.01036, allocations: 210.8 kB / 292.6 MB, free: 5.594 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005184/0.01088, allocations: 415.6 kB / 293 MB, free: 5.324 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002856/0.01116, allocations: 241.6 kB / 293.2 MB, free: 5.184 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.289e-05/0.01121, allocations: 45.53 kB / 293.3 MB, free: 5.18 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005602/0.01178, allocations: 477 kB / 293.8 MB, free: 4.941 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001131/0.01189, allocations: 129 kB / 293.9 MB, free: 4.895 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001115/0.012, allocations: 106.6 kB / 294 MB, free: 4.879 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005756/0.01258, allocations: 0.5558 MB / 294.5 MB, free: 4.484 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.389e-05/0.01259, allocations: 0 / 294.5 MB, free: 4.484 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.01259, allocations: 0 / 294.5 MB, free: 4.484 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.459e-05/0.0126, allocations: 0 / 294.5 MB, free: 4.484 MB / 282.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.0008287/0.01343, allocations: 0.8018 MB / 295.3 MB, free: 3.652 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.831e-05/0.01346, allocations: 8.031 kB / 295.3 MB, free: 3.645 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006017/0.01406, allocations: 261.6 kB / 295.6 MB, free: 3.371 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003258/0.01439, allocations: 314.2 kB / 295.9 MB, free: 3.039 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.01441, allocations: 16.88 kB / 295.9 MB, free: 3.023 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.605e-05/0.01443, allocations: 20.38 kB / 295.9 MB, free: 3.004 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003292/0.01476, allocations: 329.6 kB / 296.3 MB, free: 2.645 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.01477, allocations: 7.875 kB / 296.3 MB, free: 2.637 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.467e-05/0.0148, allocations: 11.98 kB / 296.3 MB, free: 2.625 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.908e-05/0.01483, allocations: 24.48 kB / 296.3 MB, free: 2.602 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002122/0.01504, allocations: 180 kB / 296.5 MB, free: 2.422 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009623/0.016, allocations: 1.348 MB / 297.8 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003592/0.01636, allocations: 275.3 kB / 298.1 MB, free: 0.6992 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.727e-05/0.01642, allocations: 41.7 kB / 298.1 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.765e-05/0.01643, allocations: 8 kB / 298.2 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002001/0.01663, allocations: 200 kB / 298.3 MB, free: 424 kB / 282.7 MB Notification: Performance of pre-optimization done (n=30): time 1.463e-06/0.01664, allocations: 0 / 298.3 MB, free: 424 kB / 282.7 MB Notification: Performance of matching and sorting (n=30): time 0.0002738/0.01691, allocations: 194.5 kB / 298.5 MB, free: 224 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.007e-05/0.01699, allocations: 225.5 kB / 298.8 MB, free: 15.95 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004571/0.01745, allocations: 317 kB / 299.1 MB, free: 15.62 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.596e-05/0.01747, allocations: 38.45 kB / 299.1 MB, free: 15.58 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.204e-05/0.01755, allocations: 181.1 kB / 299.3 MB, free: 15.4 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.526e-05/0.0176, allocations: 107.1 kB / 299.4 MB, free: 15.3 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.839e-05/0.01767, allocations: 77.55 kB / 299.5 MB, free: 15.21 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.725e-05/0.01776, allocations: 350.7 kB / 299.8 MB, free: 14.86 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.684e-05/0.01782, allocations: 68.89 kB / 299.9 MB, free: 14.79 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000119/0.01794, allocations: 227.4 kB / 300.1 MB, free: 14.5 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001909/0.01813, allocations: 272 kB / 300.4 MB, free: 14.16 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.01814, allocations: 8 kB / 300.4 MB, free: 14.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000243/0.01838, allocations: 291.7 kB / 300.7 MB, free: 13.85 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.241e-05/0.01841, allocations: 41.77 kB / 300.7 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.01842, allocations: 4 kB / 300.7 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.01843, allocations: 8 kB / 300.7 MB, free: 13.79 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002397/0.01867, allocations: 111.7 kB / 300.8 MB, free: 13.68 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.01867, allocations: 4 kB / 300.8 MB, free: 13.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001187/0.01879, allocations: 43.77 kB / 300.9 MB, free: 13.64 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.01881, allocations: 16 kB / 300.9 MB, free: 13.62 MB / 298.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.0001051/0.01892, allocations: 149.1 kB / 301 MB, free: 13.46 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.779e-05/0.01895, allocations: 35.97 kB / 301.1 MB, free: 13.43 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002317/0.01919, allocations: 215.5 kB / 301.3 MB, free: 13.22 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.01919, allocations: 11.94 kB / 301.3 MB, free: 13.21 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.01919, allocations: 0 / 301.3 MB, free: 13.21 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.952e-06/0.0192, allocations: 4 kB / 301.3 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004155/0.01962, allocations: 0.6235 MB / 301.9 MB, free: 12.54 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.01962, allocations: 0 / 301.9 MB, free: 12.54 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001816/0.0198, allocations: 95.94 kB / 302 MB, free: 12.45 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.066e-05/0.01983, allocations: 39.64 kB / 302 MB, free: 12.41 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.01983, allocations: 7.984 kB / 302 MB, free: 12.4 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.01985, allocations: 12 kB / 302.1 MB, free: 12.39 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.01985, allocations: 4 kB / 302.1 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.01985, allocations: 3.938 kB / 302.1 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002035/0.02006, allocations: 262.3 kB / 302.3 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.452e-05/0.02009, allocations: 8 kB / 302.3 MB, free: 12.08 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.079e-05/0.02017, allocations: 27.97 kB / 302.4 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.703e-05/0.02023, allocations: 39.88 kB / 302.4 MB, free: 12.01 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.666e-05/0.02025, allocations: 12 kB / 302.4 MB, free: 12 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.143e-05/0.02034, allocations: 131.6 kB / 302.5 MB, free: 11.87 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.02034, allocations: 0 / 302.5 MB, free: 11.87 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000248/0.02059, allocations: 115.8 kB / 302.7 MB, free: 11.76 MB / 298.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.001441/0.02203, allocations: 0.7185 MB / 303.4 MB, free: 11.44 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002667/0.02229, allocations: 273.9 kB / 303.6 MB, free: 11.15 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.246e-05/0.02231, allocations: 8 kB / 303.6 MB, free: 11.14 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.818e-05/0.0224, allocations: 96.61 kB / 303.7 MB, free: 11.04 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002425/0.02265, allocations: 116.1 kB / 303.9 MB, free: 10.94 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003687/0.02633, allocations: 0.6836 MB / 304.5 MB, free: 10.21 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.031e-05/0.0264, allocations: 114.1 kB / 304.6 MB, free: 10.08 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001316/0.02654, allocations: 59.25 kB / 304.7 MB, free: 10.02 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000169/0.0267, allocations: 131.3 kB / 304.8 MB, free: 9.891 MB / 298.7 MB Notification: Performance of SimCode: time 9.51e-07/0.02671, allocations: 4 kB / 304.8 MB, free: 9.887 MB / 298.7 MB Notification: Performance of Templates: time 0.01044/0.03715, allocations: 6.22 MB / 311.1 MB, free: 3.73 MB / 298.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 -ignoreHideResult -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: 2.9761851858347654]