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.001748/0.001748, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002138/0.002138, allocations: 209 kB / 24.48 MB, free: 3.938 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.459/1.459, allocations: 230.6 MB / 258.2 MB, free: 7.797 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.1854/0.1854, allocations: 38.55 MB / 353.2 MB, free: 12.39 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.002092/0.002092, allocations: 71.91 kB / 493.7 MB, free: 4.207 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2712/0.2733, allocations: 62.46 MB / 0.5432 GB, free: 420 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest): time 0.005782/0.2791, allocations: 4.189 MB / 0.5472 GB, free: 13.19 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004001/0.2831, allocations: 2.474 MB / 0.5497 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001688/0.2833, allocations: 14.88 kB / 0.5497 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001056/0.2843, allocations: 328.6 kB / 0.55 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008333/0.2851, allocations: 382.4 kB / 0.5504 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000799/0.2859, allocations: 367.5 kB / 0.5507 GB, free: 10.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006941/0.2866, allocations: 0.6225 MB / 0.5513 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003893/0.287, allocations: 218.5 kB / 0.5515 GB, free: 9.961 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005083/0.2875, allocations: 277.7 kB / 0.5518 GB, free: 9.793 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003778/0.2879, allocations: 255.2 kB / 0.552 GB, free: 9.633 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.323e-05/0.288, allocations: 42.34 kB / 0.5521 GB, free: 9.633 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008418/0.2888, allocations: 0.498 MB / 0.5526 GB, free: 9.375 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001655/0.289, allocations: 147.4 kB / 0.5527 GB, free: 9.27 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001819/0.2892, allocations: 158.4 kB / 0.5528 GB, free: 9.164 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009786/0.2901, allocations: 0.765 MB / 0.5536 GB, free: 8.664 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.2901, allocations: 0 / 0.5536 GB, free: 8.664 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2901, allocations: 1.219 kB / 0.5536 GB, free: 8.664 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.2902, allocations: 0 / 0.5536 GB, free: 8.664 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.001352/0.2915, allocations: 0.7302 MB / 0.5543 GB, free: 8.051 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.2915, allocations: 13.8 kB / 0.5543 GB, free: 8.047 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001033/0.2926, allocations: 122.1 kB / 0.5544 GB, free: 7.988 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006132/0.2932, allocations: 333.6 kB / 0.5548 GB, free: 7.707 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.592e-05/0.2932, allocations: 18.64 kB / 0.5548 GB, free: 7.699 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.878e-05/0.2933, allocations: 32.11 kB / 0.5548 GB, free: 7.684 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008933/0.2942, allocations: 492.6 kB / 0.5553 GB, free: 7.336 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.2942, allocations: 3.938 kB / 0.5553 GB, free: 7.332 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.761e-05/0.2942, allocations: 11.89 kB / 0.5553 GB, free: 7.324 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.751e-05/0.2943, allocations: 23.62 kB / 0.5553 GB, free: 7.316 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0011/0.2954, allocations: 0.5215 MB / 0.5558 GB, free: 7.062 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002311/0.2977, allocations: 1.668 MB / 0.5575 GB, free: 5.367 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00121/0.2989, allocations: 417 kB / 0.5578 GB, free: 4.941 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003996/0.2993, allocations: 150.5 kB / 0.558 GB, free: 4.789 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.526e-05/0.2993, allocations: 4 kB / 0.558 GB, free: 4.785 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006237/0.2999, allocations: 301.5 kB / 0.5583 GB, free: 4.457 MB / 398.1 MB Notification: Performance of pre-optimization done (n=30): time 2.174e-06/0.2999, allocations: 0 / 0.5583 GB, free: 4.457 MB / 398.1 MB Notification: Performance of matching and sorting (n=30): time 0.001485/0.3014, allocations: 0.5515 MB / 0.5588 GB, free: 3.898 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001532/0.3016, allocations: 240.1 kB / 0.5591 GB, free: 3.609 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004994/0.3021, allocations: 397.6 kB / 0.5594 GB, free: 3.211 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.428e-05/0.3021, allocations: 41.7 kB / 0.5595 GB, free: 3.164 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001762/0.3023, allocations: 212.5 kB / 0.5597 GB, free: 2.953 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001062/0.3024, allocations: 103.2 kB / 0.5598 GB, free: 2.852 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001253/0.3025, allocations: 77.69 kB / 0.5598 GB, free: 2.77 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.3027, allocations: 342.8 kB / 0.5602 GB, free: 2.426 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004382/0.3031, allocations: 186 kB / 0.5603 GB, free: 2.234 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005739/0.3037, allocations: 347.2 kB / 0.5607 GB, free: 1.824 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009482/0.3047, allocations: 489.5 kB / 0.5611 GB, free: 1.281 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.3047, allocations: 0 / 0.5611 GB, free: 1.281 MB / 398.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001225/0.3059, allocations: 0.5864 MB / 0.5617 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.392e-05/0.3059, allocations: 41.58 kB / 0.5618 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.3059, allocations: 4 kB / 0.5618 GB, free: 0.625 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.306, allocations: 4 kB / 0.5618 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003821/0.3063, allocations: 91.88 kB / 0.5619 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.427e-05/0.3063, allocations: 11.94 kB / 0.5619 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003049/0.3067, allocations: 47.97 kB / 0.5619 GB, free: 484 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.803e-05/0.3067, allocations: 27.98 kB / 0.5619 GB, free: 456 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.000231/0.3069, allocations: 185.8 kB / 0.5621 GB, free: 260 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.715e-05/0.307, allocations: 43.64 kB / 0.5622 GB, free: 216 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001153/0.3082, allocations: 488.4 kB / 0.5626 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/0.3082, allocations: 8 kB / 0.5626 GB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.3082, allocations: 4 kB / 0.5626 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.679e-06/0.3082, allocations: 7.984 kB / 0.5626 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009514/0.3091, allocations: 0.7803 MB / 0.5634 GB, free: 14.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.3091, allocations: 3.938 kB / 0.5634 GB, free: 14.87 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003267/0.3095, allocations: 79.88 kB / 0.5635 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.3095, allocations: 4 kB / 0.5635 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.008e-05/0.3095, allocations: 15.94 kB / 0.5635 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.3095, allocations: 4.125 kB / 0.5635 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.3095, allocations: 4 kB / 0.5635 GB, free: 14.77 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001095/0.3106, allocations: 0.5161 MB / 0.564 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.604e-05/0.3107, allocations: 43.69 kB / 0.5641 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.633e-05/0.3107, allocations: 12 kB / 0.5641 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002403/0.311, allocations: 35.97 kB / 0.5641 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.729e-05/0.3111, allocations: 31.94 kB / 0.5641 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.733e-05/0.3111, allocations: 23.92 kB / 0.5642 GB, free: 14.07 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003459/0.3114, allocations: 283.2 kB / 0.5644 GB, free: 13.8 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3114, allocations: 0 / 0.5644 GB, free: 13.8 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004866/0.3119, allocations: 115.8 kB / 0.5645 GB, free: 13.69 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 (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.001953/0.3139, allocations: 0.5481 MB / 0.5651 GB, free: 13.36 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001071/0.315, allocations: 480.5 kB / 0.5655 GB, free: 12.87 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.315, allocations: 0 / 0.5655 GB, free: 12.87 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005092/0.3155, allocations: 213.1 kB / 0.5657 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004703/0.3159, allocations: 65.33 kB / 0.5658 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001411/0.3173, allocations: 0.7877 MB / 0.5666 GB, free: 11.75 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002443/0.3176, allocations: 218 kB / 0.5668 GB, free: 11.52 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001482/0.3177, allocations: 47.42 kB / 0.5668 GB, free: 11.47 MB / 414.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3177, allocations: 0 / 0.5668 GB, free: 11.47 MB / 414.1 MB Notification: Performance of Templates: time 0.009454/0.3272, allocations: 6.178 MB / 0.5729 GB, free: 5.32 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: 8.158023031894118]