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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00142/0.001419, allocations: 107.8 kB / 16.92 MB, free: 5.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001597/0.001597, allocations: 191.3 kB / 17.85 MB, free: 5.176 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.294/1.294, allocations: 222.9 MB / 241.6 MB, free: 15.31 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1702/0.1702, allocations: 38.01 MB / 329.7 MB, free: 8.816 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 60.95 kB / 398.9 MB, free: 33.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0929/0.09408, allocations: 58.07 MB / 457 MB, free: 7.961 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest): time 0.005641/0.09976, allocations: 4.237 MB / 461.2 MB, free: 3.707 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003278/0.1031, allocations: 2.512 MB / 463.7 MB, free: 1.184 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001607/0.1033, allocations: 15.88 kB / 463.7 MB, free: 1.168 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001007/0.1043, allocations: 338.5 kB / 464.1 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00064/0.1049, allocations: 338.5 kB / 464.4 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007646/0.1057, allocations: 393.7 kB / 464.8 MB, free: 124 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006028/0.1063, allocations: 0.6196 MB / 465.4 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000357/0.1067, allocations: 226.1 kB / 465.6 MB, free: 15.28 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004085/0.1071, allocations: 271 kB / 465.9 MB, free: 15.01 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002925/0.1074, allocations: 243.1 kB / 466.1 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.754e-05/0.1075, allocations: 36 kB / 466.2 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007828/0.1083, allocations: 0.5417 MB / 466.7 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001412/0.1084, allocations: 139.6 kB / 466.8 MB, free: 14.06 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001781/0.1086, allocations: 191 kB / 467 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007424/0.1093, allocations: 0.6894 MB / 467.7 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1094, allocations: 4 kB / 467.7 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1094, allocations: 0 / 467.7 MB, free: 13.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.1094, allocations: 0 / 467.7 MB, free: 13.18 MB / 350.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.001223/0.1106, allocations: 0.7668 MB / 468.5 MB, free: 12.36 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.1106, allocations: 11.89 kB / 468.5 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.948e-05/0.1107, allocations: 62.72 kB / 468.5 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009764/0.1117, allocations: 120.3 kB / 468.7 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005112/0.1122, allocations: 407.7 kB / 469.1 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.621e-05/0.1123, allocations: 24.92 kB / 469.1 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.802e-05/0.1124, allocations: 19.94 kB / 469.1 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000835/0.1132, allocations: 457.2 kB / 469.6 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.1132, allocations: 0 / 469.6 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.361e-05/0.1133, allocations: 15.98 kB / 469.6 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.42e-05/0.1133, allocations: 20.42 kB / 469.6 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009745/0.1143, allocations: 493.2 kB / 470.1 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002033/0.1164, allocations: 1.775 MB / 471.8 MB, free: 8.793 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009634/0.1173, allocations: 385.1 kB / 472.2 MB, free: 8.398 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003401/0.1177, allocations: 141.6 kB / 472.4 MB, free: 8.254 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.32e-05/0.1177, allocations: 11.98 kB / 472.4 MB, free: 8.242 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005226/0.1183, allocations: 285.6 kB / 472.7 MB, free: 7.93 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 1.663e-06/0.1183, allocations: 0 / 472.7 MB, free: 7.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.00133/0.1196, allocations: 0.5117 MB / 473.2 MB, free: 7.414 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001295/0.1197, allocations: 243.3 kB / 473.4 MB, free: 7.121 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003967/0.1201, allocations: 361.5 kB / 473.8 MB, free: 6.762 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.617e-05/0.1202, allocations: 37.92 kB / 473.8 MB, free: 6.719 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001482/0.1203, allocations: 204.3 kB / 474 MB, free: 6.516 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.253e-05/0.1204, allocations: 98.7 kB / 474.1 MB, free: 6.418 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/0.1206, allocations: 73.59 kB / 474.2 MB, free: 6.34 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.1207, allocations: 346.8 kB / 474.5 MB, free: 5.992 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000379/0.1211, allocations: 148.2 kB / 474.6 MB, free: 5.844 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004451/0.1216, allocations: 280.7 kB / 474.9 MB, free: 5.512 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008218/0.1224, allocations: 462.3 kB / 475.4 MB, free: 4.996 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.1224, allocations: 4 kB / 475.4 MB, free: 4.992 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001035/0.1235, allocations: 0.5222 MB / 475.9 MB, free: 4.457 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.193e-05/0.1235, allocations: 37.7 kB / 475.9 MB, free: 4.414 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.1235, allocations: 4 kB / 475.9 MB, free: 4.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.258e-05/0.1235, allocations: 8 kB / 475.9 MB, free: 4.402 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003282/0.1239, allocations: 87.88 kB / 476 MB, free: 4.316 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.1239, allocations: 7.938 kB / 476 MB, free: 4.309 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002936/0.1242, allocations: 59.5 kB / 476.1 MB, free: 4.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.298e-05/0.1242, allocations: 20 kB / 476.1 MB, free: 4.23 MB / 350.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.0001978/0.1244, allocations: 193.8 kB / 476.3 MB, free: 4.031 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.571e-05/0.1245, allocations: 39.47 kB / 476.3 MB, free: 3.992 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001074/0.1246, allocations: 55.25 kB / 476.4 MB, free: 3.934 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.1247, allocations: 4 kB / 476.4 MB, free: 3.93 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.1247, allocations: 4 kB / 476.4 MB, free: 3.926 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.1247, allocations: 0 / 476.4 MB, free: 3.926 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007468/0.1254, allocations: 0.8586 MB / 477.3 MB, free: 2.996 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.1254, allocations: 0 / 477.3 MB, free: 2.996 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000246/0.1257, allocations: 59.89 kB / 477.3 MB, free: 2.938 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.1257, allocations: 4 kB / 477.3 MB, free: 2.934 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.35e-05/0.1257, allocations: 8 kB / 477.3 MB, free: 2.926 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.1257, allocations: 7.938 kB / 477.3 MB, free: 2.918 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.1258, allocations: 12.06 kB / 477.4 MB, free: 2.906 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008656/0.1266, allocations: 453.5 kB / 477.8 MB, free: 2.426 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.712e-05/0.1267, allocations: 112.7 kB / 477.9 MB, free: 2.297 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.302e-05/0.1268, allocations: 11.98 kB / 477.9 MB, free: 2.285 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000211/0.127, allocations: 27.97 kB / 477.9 MB, free: 2.258 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.09e-05/0.1271, allocations: 39.84 kB / 478 MB, free: 2.219 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.781e-05/0.1271, allocations: 16 kB / 478 MB, free: 2.203 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002513/0.1274, allocations: 251.2 kB / 478.2 MB, free: 1.961 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1274, allocations: 0 / 478.2 MB, free: 1.961 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004114/0.1278, allocations: 99.83 kB / 478.3 MB, free: 1.863 MB / 350.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.wind.nextTimeEventScaled,windFarm.disturbance.count,windFarm.wind.nextTimeEvent) * 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.002018/0.1298, allocations: 1.338 MB / 479.7 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009255/0.1308, allocations: 455.6 kB / 480.1 MB, free: 204 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1308, allocations: 3.938 kB / 480.1 MB, free: 200 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004231/0.1312, allocations: 185 kB / 480.3 MB, free: 16 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004421/0.1317, allocations: 86.94 kB / 480.4 MB, free: 15.93 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005125/0.1368, allocations: 3.747 MB / 484.1 MB, free: 11.95 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003702/0.1372, allocations: 0.8073 MB / 484.9 MB, free: 11.12 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002391/0.1374, allocations: 91.11 kB / 485 MB, free: 11.04 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000195/0.1376, allocations: 135.3 kB / 485.2 MB, free: 10.9 MB / 366.1 MB Notification: Performance of SimCode: time 4.2e-07/0.1377, allocations: 0 / 485.2 MB, free: 10.9 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02696/0.1646, allocations: 8.432 MB / 493.6 MB, free: 2.59 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.419/7.584, allocations: 3.312 kB / 493.6 MB, free: 2.59 MB / 366.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_PowerWorld_Test_WindFarmHVDCTest_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_PowerWorld_Test_WindFarmHVDCTest.fmu > PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe 2>&1)