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.001507/0.001507, allocations: 112.5 kB / 21.19 MB, free: 0.7812 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.001682/0.001682, allocations: 214.5 kB / 24.49 MB, free: 4.18 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.391/1.391, allocations: 230.6 MB / 258.3 MB, free: 8.02 MB / 206.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.179/0.179, allocations: 38.53 MB / 353.2 MB, free: 12.59 MB / 286.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.001973/0.001973, allocations: 63.89 kB / 493.8 MB, free: 4.434 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2741/0.2761, allocations: 62.47 MB / 0.5432 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest): time 0.005645/0.2817, allocations: 4.403 MB / 0.5475 GB, free: 13.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003898/0.2856, allocations: 2.703 MB / 0.5502 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001731/0.2858, allocations: 19.34 kB / 0.5502 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001/0.2868, allocations: 343.9 kB / 0.5505 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007929/0.2876, allocations: 380.2 kB / 0.5509 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007612/0.2883, allocations: 358.8 kB / 0.5512 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006939/0.289, allocations: 0.6355 MB / 0.5518 GB, free: 9.828 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003644/0.2894, allocations: 224.4 kB / 0.552 GB, free: 9.668 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005064/0.2899, allocations: 289.3 kB / 0.5523 GB, free: 9.492 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003633/0.2903, allocations: 266.6 kB / 0.5526 GB, free: 9.32 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.392e-05/0.2903, allocations: 39.41 kB / 0.5526 GB, free: 9.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009262/0.2912, allocations: 0.5971 MB / 0.5532 GB, free: 9.004 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001611/0.2914, allocations: 147.5 kB / 0.5533 GB, free: 8.898 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002115/0.2916, allocations: 201.7 kB / 0.5535 GB, free: 8.75 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009438/0.2926, allocations: 0.7433 MB / 0.5543 GB, free: 8.266 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.2926, allocations: 0 / 0.5543 GB, free: 8.266 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.2926, allocations: 1.125 kB / 0.5543 GB, free: 8.266 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.074e-06/0.2926, allocations: 0 / 0.5543 GB, free: 8.266 MB / 398.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.001327/0.2939, allocations: 0.7363 MB / 0.555 GB, free: 7.645 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.219e-05/0.2939, allocations: 13.42 kB / 0.555 GB, free: 7.641 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009937/0.2949, allocations: 118.8 kB / 0.5551 GB, free: 7.586 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006303/0.2955, allocations: 367.1 kB / 0.5555 GB, free: 7.281 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.531e-05/0.2956, allocations: 17.95 kB / 0.5555 GB, free: 7.273 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.063e-05/0.2956, allocations: 28.88 kB / 0.5555 GB, free: 7.262 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008204/0.2964, allocations: 453.9 kB / 0.5559 GB, free: 6.949 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.2965, allocations: 1.156 kB / 0.5559 GB, free: 6.949 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.243e-05/0.2965, allocations: 6.125 kB / 0.5559 GB, free: 6.945 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.804e-05/0.2965, allocations: 28.05 kB / 0.556 GB, free: 6.934 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009417/0.2975, allocations: 484.6 kB / 0.5564 GB, free: 6.711 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002154/0.2996, allocations: 1.751 MB / 0.5581 GB, free: 5.016 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009788/0.3006, allocations: 369.2 kB / 0.5585 GB, free: 4.637 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003425/0.3009, allocations: 133.6 kB / 0.5586 GB, free: 4.5 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.103e-05/0.301, allocations: 15.92 kB / 0.5586 GB, free: 4.484 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005538/0.3015, allocations: 281.5 kB / 0.5589 GB, free: 4.176 MB / 398.1 MB Notification: Performance of pre-optimization done (n=30): time 1.863e-06/0.3015, allocations: 0 / 0.5589 GB, free: 4.176 MB / 398.1 MB Notification: Performance of matching and sorting (n=30): time 0.001301/0.3028, allocations: 0.5158 MB / 0.5594 GB, free: 3.656 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000156/0.303, allocations: 247.5 kB / 0.5596 GB, free: 3.359 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004506/0.3034, allocations: 377.6 kB / 0.56 GB, free: 2.98 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.069e-05/0.3035, allocations: 33.7 kB / 0.56 GB, free: 2.941 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001607/0.3037, allocations: 204.6 kB / 0.5602 GB, free: 2.738 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.556e-05/0.3037, allocations: 107.1 kB / 0.5603 GB, free: 2.633 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001207/0.3039, allocations: 73.66 kB / 0.5604 GB, free: 2.555 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.304, allocations: 350.8 kB / 0.5607 GB, free: 2.203 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003727/0.3044, allocations: 140.3 kB / 0.5609 GB, free: 2.062 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004602/0.3049, allocations: 277.8 kB / 0.5611 GB, free: 1.73 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008484/0.3057, allocations: 461.6 kB / 0.5616 GB, free: 1.215 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.164e-06/0.3057, allocations: 8 kB / 0.5616 GB, free: 1.207 MB / 398.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001056/0.3068, allocations: 0.522 MB / 0.5621 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.737e-05/0.3068, allocations: 33.7 kB / 0.5621 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.3068, allocations: 4 kB / 0.5621 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.3068, allocations: 8 kB / 0.5621 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003531/0.3072, allocations: 95.81 kB / 0.5622 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/0.3072, allocations: 8.359 kB / 0.5622 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002822/0.3075, allocations: 63.66 kB / 0.5623 GB, free: 468 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.193e-05/0.3075, allocations: 15.98 kB / 0.5623 GB, free: 452 kB / 398.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.0002173/0.3077, allocations: 197.6 kB / 0.5625 GB, free: 244 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.386e-05/0.3078, allocations: 43.7 kB / 0.5625 GB, free: 200 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009811/0.3088, allocations: 405 kB / 0.5629 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.398e-06/0.3088, allocations: 7.984 kB / 0.5629 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.3088, allocations: 4 kB / 0.5629 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.3088, allocations: 0 / 0.5629 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008914/0.3097, allocations: 0.8382 MB / 0.5638 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.3097, allocations: 0 / 0.5638 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002598/0.31, allocations: 63.89 kB / 0.5638 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.31, allocations: 4 kB / 0.5638 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.324e-05/0.31, allocations: 11.94 kB / 0.5638 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.961e-06/0.31, allocations: 4 kB / 0.5638 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.31, allocations: 4 kB / 0.5638 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000911/0.3109, allocations: 460.6 kB / 0.5643 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.927e-05/0.311, allocations: 43.69 kB / 0.5643 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.016e-05/0.311, allocations: 8 kB / 0.5643 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002122/0.3113, allocations: 27.97 kB / 0.5644 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.621e-05/0.3113, allocations: 39.83 kB / 0.5644 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.74e-05/0.3114, allocations: 11.98 kB / 0.5644 GB, free: 14.18 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003005/0.3117, allocations: 263.2 kB / 0.5647 GB, free: 13.92 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3117, allocations: 4 kB / 0.5647 GB, free: 13.92 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004412/0.3121, allocations: 111.8 kB / 0.5648 GB, free: 13.81 MB / 414.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 (30): * Single equations (assignments): 25 * 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.001731/0.3138, allocations: 0.5162 MB / 0.5653 GB, free: 13.48 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000897/0.3147, allocations: 395.7 kB / 0.5656 GB, free: 13.08 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3147, allocations: 0 / 0.5656 GB, free: 13.08 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004195/0.3152, allocations: 175.6 kB / 0.5658 GB, free: 12.91 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004495/0.3156, allocations: 77.38 kB / 0.5659 GB, free: 12.83 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001277/0.3169, allocations: 0.7447 MB / 0.5666 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004571/0.3173, allocations: 0.815 MB / 0.5674 GB, free: 11.19 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001323/0.3175, allocations: 47.42 kB / 0.5675 GB, free: 11.14 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3175, allocations: 4 kB / 0.5675 GB, free: 11.14 MB / 414.1 MB Notification: Performance of Templates: time 0.009001/0.3265, allocations: 5.948 MB / 0.5733 GB, free: 5.223 MB / 414.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/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: 7.780934798065573]