Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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.0008516/0.0008516, allocations: 92.33 kB / 20.96 MB, free: 3.477 MB / 18.57 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.0008532/0.0008532, allocations: 161.3 kB / 24.26 MB, free: 176 kB / 18.57 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.9155/0.9155, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2275/0.2275, allocations: 29.42 MB / 290.5 MB, free: 2.438 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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_PowerSystems_Examples_PowerWorld_Test_WindFarmHVDCTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest,fileNamePrefix="PowerSystems_PowerSystems_Examples_PowerWorld_Test_WindFarmHVDCTest",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 368.4 MB, free: 11.84 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.245e-05/1.397e-05, allocations: 2.312 kB / 368.4 MB, free: 11.83 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest): time 0.004021/0.004035, allocations: 4.164 MB / 372.6 MB, free: 7.645 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002527/0.006562, allocations: 2.457 MB / 375 MB, free: 5.176 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002094/0.006772, allocations: 15.88 kB / 375 MB, free: 5.16 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009952/0.007767, allocations: 346.4 kB / 375.4 MB, free: 4.82 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007556/0.008522, allocations: 386 kB / 375.7 MB, free: 4.441 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000684/0.009206, allocations: 370.4 kB / 376.1 MB, free: 4.078 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005795/0.009786, allocations: 0.6388 MB / 376.7 MB, free: 3.438 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003299/0.01012, allocations: 226.1 kB / 377 MB, free: 3.223 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004966/0.01061, allocations: 374.7 kB / 377.3 MB, free: 2.859 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002636/0.01088, allocations: 227.4 kB / 377.5 MB, free: 2.637 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.356e-05/0.01092, allocations: 44 kB / 377.6 MB, free: 2.594 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006182/0.01154, allocations: 0.5024 MB / 378.1 MB, free: 2.09 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001204/0.01166, allocations: 151.5 kB / 378.2 MB, free: 1.941 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001072/0.01177, allocations: 135.7 kB / 378.4 MB, free: 1.809 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007484/0.01251, allocations: 0.7906 MB / 379.2 MB, free: 1.016 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.01252, allocations: 4 kB / 379.2 MB, free: 1.012 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.01252, allocations: 0 / 379.2 MB, free: 1.012 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.01252, allocations: 4 kB / 379.2 MB, free: 1.008 MB / 346.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.0009089/0.01343, allocations: 0.7294 MB / 379.9 MB, free: 244 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.564e-05/0.01347, allocations: 11.98 kB / 379.9 MB, free: 232 kB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.993e-05/0.01352, allocations: 66.64 kB / 380 MB, free: 156 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007528/0.01427, allocations: 200.2 kB / 380.2 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00037/0.01464, allocations: 349.5 kB / 380.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/0.01466, allocations: 20.88 kB / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.046e-05/0.01469, allocations: 24.36 kB / 380.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005333/0.01522, allocations: 498.5 kB / 381 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.01523, allocations: 3.938 kB / 381.1 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.299e-05/0.01526, allocations: 12 kB / 381.1 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.639e-05/0.01528, allocations: 20.48 kB / 381.1 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006144/0.0159, allocations: 0.5249 MB / 381.6 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001535/0.01743, allocations: 1.711 MB / 383.3 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006471/0.01808, allocations: 405.1 kB / 383.7 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002059/0.01829, allocations: 153.6 kB / 383.9 MB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.485e-05/0.01831, allocations: 8 kB / 383.9 MB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003384/0.01865, allocations: 285.2 kB / 384.1 MB, free: 11.75 MB / 362.7 MB Notification: Performance of pre-optimization done (n=30): time 1.513e-06/0.01865, allocations: 0 / 384.1 MB, free: 11.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=30): time 0.0008361/0.01949, allocations: 0.5732 MB / 384.7 MB, free: 11.18 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.732e-05/0.01956, allocations: 244.1 kB / 385 MB, free: 10.88 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003051/0.01987, allocations: 421.5 kB / 385.4 MB, free: 10.46 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.648e-05/0.0199, allocations: 37.7 kB / 385.4 MB, free: 10.42 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.866e-05/0.01999, allocations: 200.6 kB / 385.6 MB, free: 10.22 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.763e-05/0.02005, allocations: 111.1 kB / 385.7 MB, free: 10.11 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.983e-05/0.02013, allocations: 73.64 kB / 385.8 MB, free: 10.04 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.94e-05/0.02022, allocations: 350.8 kB / 386.1 MB, free: 9.684 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002373/0.02046, allocations: 182 kB / 386.3 MB, free: 9.496 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002796/0.02074, allocations: 349.1 kB / 386.6 MB, free: 9.082 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004847/0.02122, allocations: 489.5 kB / 387.1 MB, free: 8.539 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.02123, allocations: 0 / 387.1 MB, free: 8.539 MB / 362.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.00065/0.02188, allocations: 0.5981 MB / 387.7 MB, free: 7.922 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.698e-05/0.0219, allocations: 33.7 kB / 387.8 MB, free: 7.883 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/0.02191, allocations: 7.938 kB / 387.8 MB, free: 7.875 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.02193, allocations: 8 kB / 387.8 MB, free: 7.867 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001944/0.02212, allocations: 95.81 kB / 387.9 MB, free: 7.773 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.02213, allocations: 11.98 kB / 387.9 MB, free: 7.762 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001538/0.02228, allocations: 51.97 kB / 387.9 MB, free: 7.711 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.996e-05/0.0223, allocations: 19.98 kB / 387.9 MB, free: 7.691 MB / 362.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.0001402/0.02245, allocations: 197.6 kB / 388.1 MB, free: 7.488 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.375e-05/0.0225, allocations: 47.77 kB / 388.2 MB, free: 7.441 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005871/0.02309, allocations: 492.5 kB / 388.7 MB, free: 6.949 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.02309, allocations: 8 kB / 388.7 MB, free: 6.941 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.0231, allocations: 4 kB / 388.7 MB, free: 6.938 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.0231, allocations: 3.984 kB / 388.7 MB, free: 6.934 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008066/0.02391, allocations: 0.8265 MB / 389.5 MB, free: 6.043 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.02391, allocations: 0 / 389.5 MB, free: 6.043 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001603/0.02407, allocations: 79.88 kB / 389.6 MB, free: 5.965 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.147e-06/0.02408, allocations: 4 kB / 389.6 MB, free: 5.961 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.801e-05/0.02409, allocations: 12 kB / 389.6 MB, free: 5.949 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.015e-06/0.0241, allocations: 8.125 kB / 389.6 MB, free: 5.941 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.0241, allocations: 7.875 kB / 389.6 MB, free: 5.934 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005784/0.02468, allocations: 0.5202 MB / 390.1 MB, free: 5.379 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.157e-05/0.02472, allocations: 51.58 kB / 390.2 MB, free: 5.328 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.058e-05/0.02476, allocations: 16 kB / 390.2 MB, free: 5.312 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.02486, allocations: 27.97 kB / 390.2 MB, free: 5.285 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.846e-05/0.02493, allocations: 43.88 kB / 390.3 MB, free: 5.242 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.297e-05/0.02496, allocations: 23.91 kB / 390.3 MB, free: 5.219 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002087/0.02516, allocations: 295.2 kB / 390.6 MB, free: 4.93 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.02516, allocations: 0 / 390.6 MB, free: 4.93 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003117/0.02548, allocations: 111.8 kB / 390.7 MB, free: 4.82 MB / 362.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.001486/0.02696, allocations: 1.51 MB / 392.2 MB, free: 3.496 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005846/0.02755, allocations: 482 kB / 392.7 MB, free: 3.008 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.02755, allocations: 0 / 392.7 MB, free: 3.008 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002723/0.02782, allocations: 207.7 kB / 392.9 MB, free: 2.805 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002918/0.02811, allocations: 87.59 kB / 393 MB, free: 2.73 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00389/0.032, allocations: 4.061 MB / 397 MB, free: 14.41 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001375/0.03214, allocations: 222 kB / 397.2 MB, free: 14.17 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001604/0.0323, allocations: 95.14 kB / 397.3 MB, free: 14.07 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001557/0.03246, allocations: 132.4 kB / 397.5 MB, free: 13.94 MB / 378.7 MB Notification: Performance of SimCode: time 4.01e-07/0.03246, allocations: 0 / 397.5 MB, free: 13.94 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0207/0.05316, allocations: 10.72 MB / 408.2 MB, free: 3.262 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.179/7.232, allocations: 6.906 kB / 408.2 MB, free: 3.258 MB / 378.7 MB " [Timeout remaining time 653] (rm -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.sim & python3 -m fmpy simulate --output-file PowerSystems_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_PowerSystems_Examples_PowerWorld_Test_WindFarmHVDCTest.fmu > PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.137926960363984]