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.001355/0.001355, allocations: 116 kB / 20.43 MB, free: 1.449 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.001647/0.001647, allocations: 214.5 kB / 23.74 MB, free: 4.66 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.478/1.478, allocations: 230.6 MB / 257.5 MB, free: 7.98 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.1868/0.1868, allocations: 38.52 MB / 352.5 MB, free: 12.52 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: "" <> buildModelFMU(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_PowerWorld_Test_WindFarmHVDCTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_PowerWorld_Test_WindFarmHVDCTest",fmuType="me",version="2.0",platforms={"static"}) [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.002032/0.002032, allocations: 72.12 kB / 492.5 MB, free: 4.871 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.293/0.295, allocations: 62.47 MB / 0.542 GB, free: 448 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest): time 0.00614/0.3012, allocations: 4.41 MB / 0.5463 GB, free: 12.97 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004196/0.3054, allocations: 2.698 MB / 0.5489 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002532/0.3056, allocations: 15.34 kB / 0.549 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00107/0.3067, allocations: 359.9 kB / 0.5493 GB, free: 10.55 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009046/0.3076, allocations: 379.7 kB / 0.5497 GB, free: 10.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008719/0.3085, allocations: 354.7 kB / 0.55 GB, free: 10 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007765/0.3093, allocations: 0.6319 MB / 0.5506 GB, free: 9.625 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003883/0.3096, allocations: 217.3 kB / 0.5508 GB, free: 9.469 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005158/0.3102, allocations: 293.1 kB / 0.5511 GB, free: 9.289 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003726/0.3105, allocations: 259.1 kB / 0.5514 GB, free: 9.125 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.842e-05/0.3106, allocations: 39.53 kB / 0.5514 GB, free: 9.125 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001002/0.3116, allocations: 0.601 MB / 0.552 GB, free: 8.805 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001593/0.3118, allocations: 143.8 kB / 0.5521 GB, free: 8.703 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002127/0.312, allocations: 201.1 kB / 0.5523 GB, free: 8.555 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009843/0.3129, allocations: 0.747 MB / 0.553 GB, free: 8.066 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.313, allocations: 0 / 0.553 GB, free: 8.066 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.313, allocations: 5.406 kB / 0.553 GB, free: 8.062 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.334e-06/0.313, allocations: 0 / 0.553 GB, free: 8.062 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.001336/0.3143, allocations: 0.7389 MB / 0.5538 GB, free: 7.441 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.3143, allocations: 13.58 kB / 0.5538 GB, free: 7.438 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.035e-05/0.3144, allocations: 59.36 kB / 0.5538 GB, free: 7.379 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001066/0.3155, allocations: 126 kB / 0.554 GB, free: 7.316 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006403/0.3161, allocations: 355.1 kB / 0.5543 GB, free: 7.023 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.34e-05/0.3161, allocations: 23.64 kB / 0.5543 GB, free: 7.012 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.961e-05/0.3162, allocations: 23.97 kB / 0.5543 GB, free: 7.004 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008616/0.3171, allocations: 453.4 kB / 0.5548 GB, free: 6.691 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.3171, allocations: 5.094 kB / 0.5548 GB, free: 6.688 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.633e-05/0.3171, allocations: 11.41 kB / 0.5548 GB, free: 6.68 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.765e-05/0.3171, allocations: 19.08 kB / 0.5548 GB, free: 6.676 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001006/0.3182, allocations: 489.2 kB / 0.5553 GB, free: 6.449 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002334/0.3205, allocations: 1.755 MB / 0.557 GB, free: 4.895 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001035/0.3215, allocations: 365.2 kB / 0.5573 GB, free: 4.578 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003566/0.3219, allocations: 137.6 kB / 0.5575 GB, free: 4.438 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.89e-05/0.3219, allocations: 7.984 kB / 0.5575 GB, free: 4.43 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006355/0.3226, allocations: 293.5 kB / 0.5577 GB, free: 4.109 MB / 398.1 MB Notification: Performance of pre-optimization done (n=30): time 1.573e-06/0.3226, allocations: 0 / 0.5577 GB, free: 4.109 MB / 398.1 MB Notification: Performance of matching and sorting (n=30): time 0.001399/0.324, allocations: 0.5091 MB / 0.5582 GB, free: 3.594 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001497/0.3241, allocations: 243.3 kB / 0.5585 GB, free: 3.301 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004492/0.3245, allocations: 365.6 kB / 0.5588 GB, free: 2.934 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.76e-05/0.3246, allocations: 41.97 kB / 0.5589 GB, free: 2.887 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001667/0.3248, allocations: 208.6 kB / 0.5591 GB, free: 2.68 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.936e-05/0.3249, allocations: 107.2 kB / 0.5592 GB, free: 2.574 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001212/0.325, allocations: 69.66 kB / 0.5592 GB, free: 2.5 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.3252, allocations: 350.7 kB / 0.5596 GB, free: 2.148 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003825/0.3255, allocations: 140.3 kB / 0.5597 GB, free: 2.008 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004841/0.326, allocations: 277.8 kB / 0.56 GB, free: 1.676 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008795/0.3269, allocations: 461.5 kB / 0.5604 GB, free: 1.16 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.3269, allocations: 4 kB / 0.5604 GB, free: 1.156 MB / 398.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001153/0.3281, allocations: 0.5262 MB / 0.5609 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.628e-05/0.3281, allocations: 40.67 kB / 0.561 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/0.3281, allocations: 7.938 kB / 0.561 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.3281, allocations: 11.94 kB / 0.561 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003628/0.3285, allocations: 87.88 kB / 0.5611 GB, free: 480 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.289e-05/0.3285, allocations: 7.938 kB / 0.5611 GB, free: 472 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003145/0.3288, allocations: 63.64 kB / 0.5611 GB, free: 408 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.25e-05/0.3289, allocations: 20.09 kB / 0.5612 GB, free: 388 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.000252/0.3291, allocations: 189.7 kB / 0.5613 GB, free: 188 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.419e-05/0.3292, allocations: 47.7 kB / 0.5614 GB, free: 140 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00105/0.3302, allocations: 411.2 kB / 0.5618 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.836e-06/0.3302, allocations: 4 kB / 0.5618 GB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.795e-06/0.3303, allocations: 8 kB / 0.5618 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.265e-06/0.3303, allocations: 3.984 kB / 0.5618 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009746/0.3312, allocations: 0.8342 MB / 0.5626 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.3312, allocations: 0 / 0.5626 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002689/0.3315, allocations: 60.08 kB / 0.5627 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.061e-06/0.3315, allocations: 4 kB / 0.5627 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.847e-05/0.3315, allocations: 11.98 kB / 0.5627 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.3315, allocations: 7.938 kB / 0.5627 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.3316, allocations: 4 kB / 0.5627 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009409/0.3325, allocations: 454.3 kB / 0.5631 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.366e-05/0.3326, allocations: 39.7 kB / 0.5632 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.996e-05/0.3326, allocations: 23.97 kB / 0.5632 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000223/0.3329, allocations: 27.97 kB / 0.5632 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.451e-05/0.3329, allocations: 31.89 kB / 0.5632 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.93e-05/0.333, allocations: 12 kB / 0.5633 GB, free: 14.11 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003004/0.3333, allocations: 263.2 kB / 0.5635 GB, free: 13.86 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3333, allocations: 0 / 0.5635 GB, free: 13.86 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004752/0.3337, allocations: 107.8 kB / 0.5636 GB, free: 13.75 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.003075/0.3368, allocations: 1.397 MB / 0.565 GB, free: 12.5 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009569/0.3378, allocations: 403.6 kB / 0.5654 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.3378, allocations: 0 / 0.5654 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004671/0.3382, allocations: 176.5 kB / 0.5655 GB, free: 11.92 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005149/0.3388, allocations: 84.58 kB / 0.5656 GB, free: 11.84 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005762/0.3445, allocations: 3.781 MB / 0.5693 GB, free: 7.824 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004427/0.345, allocations: 0.8073 MB / 0.5701 GB, free: 6.992 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002466/0.3452, allocations: 87.2 kB / 0.5702 GB, free: 6.906 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002149/0.3454, allocations: 127.4 kB / 0.5703 GB, free: 6.781 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3454, allocations: 0 / 0.5703 GB, free: 6.781 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03759/0.383, allocations: 9.503 MB / 0.5796 GB, free: 13.34 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/11.98, allocations: 8.047 kB / 0.5796 GB, free: 13.33 MB / 430.1 MB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 PowerSystems_latest_PowerSystems_Examples_PowerWorld_Test_WindFarmHVDCTest.fmu > PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe 2>&1) [Timeout 52.5] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest_res.csv","/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] "Error: Could not read variable Time in file PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest_res.csv. Warning: Get data of variable Time from file PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest_res.csv failed! Error: Could not read variable windFarm.p[1] in file PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest_res.csv. Warning: Get data of variable windFarm.p[1] from file PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.051334926996788]