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.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-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/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: translateModel(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="Time|inverter.I|windFarm.p.1.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000758/0.000758, allocations: 91.44 kB / 16.65 MB, free: 6.59 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.000858/0.000858, allocations: 185.2 kB / 17.57 MB, free: 6.203 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.238/1.238, allocations: 223.3 MB / 241.6 MB, free: 104 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1602/0.1602, allocations: 38.09 MB / 330.8 MB, free: 8.75 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002753/0.0002752, allocations: 8 kB / 400.7 MB, free: 34.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09119/0.09148, allocations: 59.17 MB / 459.9 MB, free: 7.078 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest): time 0.005009/0.09652, allocations: 4.496 MB / 464.4 MB, free: 2.559 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003659/0.1002, allocations: 2.669 MB / 467.1 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004064/0.1007, allocations: 27.81 kB / 467.1 MB, free: 15.85 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003619/0.101, allocations: 71.61 kB / 467.1 MB, free: 15.78 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007273/0.1018, allocations: 306.9 kB / 467.4 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008201/0.1026, allocations: 343.2 kB / 467.8 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007885/0.1034, allocations: 0.7872 MB / 468.6 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005722/0.104, allocations: 324.4 kB / 468.9 MB, free: 14.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004601/0.1045, allocations: 211 kB / 469.1 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003276/0.1048, allocations: 235.1 kB / 469.3 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.125e-05/0.1049, allocations: 16 kB / 469.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008956/0.1058, allocations: 0.6469 MB / 470 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001262/0.1059, allocations: 115.6 kB / 470.1 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001885/0.1061, allocations: 192.7 kB / 470.3 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008637/0.107, allocations: 0.697 MB / 471 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.107, allocations: 0 / 471 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.107, allocations: 0 / 471 MB, free: 11.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.548e-06/0.107, allocations: 3.938 kB / 471 MB, free: 11.91 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.00112/0.1081, allocations: 0.7046 MB / 471.7 MB, free: 11.15 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.1082, allocations: 16.02 kB / 471.7 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001011/0.1092, allocations: 112.4 kB / 471.8 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005127/0.1097, allocations: 411.6 kB / 472.2 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.895e-05/0.1098, allocations: 24.94 kB / 472.2 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.897e-05/0.1098, allocations: 28.11 kB / 472.3 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007955/0.1106, allocations: 461.2 kB / 472.7 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.1106, allocations: 3.938 kB / 472.7 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.666e-05/0.1107, allocations: 15.92 kB / 472.7 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.598e-05/0.1107, allocations: 24.42 kB / 472.8 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009541/0.1117, allocations: 0.4935 MB / 473.3 MB, free: 9.508 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001841/0.1135, allocations: 1.787 MB / 475 MB, free: 7.613 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000951/0.1145, allocations: 409.1 kB / 475.4 MB, free: 7.195 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003572/0.1149, allocations: 155.3 kB / 475.6 MB, free: 7.039 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.353e-05/0.1149, allocations: 7.984 kB / 475.6 MB, free: 7.031 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005141/0.1154, allocations: 297 kB / 475.9 MB, free: 6.707 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 3.546e-06/0.1154, allocations: 0 / 475.9 MB, free: 6.707 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.001262/0.1167, allocations: 0.5482 MB / 476.4 MB, free: 6.152 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/0.1168, allocations: 235.3 kB / 476.7 MB, free: 5.867 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003511/0.1172, allocations: 361.7 kB / 477 MB, free: 5.504 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.561e-05/0.1172, allocations: 37.7 kB / 477.1 MB, free: 5.461 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001309/0.1174, allocations: 212.2 kB / 477.3 MB, free: 5.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.345e-05/0.1174, allocations: 94.72 kB / 477.4 MB, free: 5.156 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.861e-05/0.1175, allocations: 33.7 kB / 477.4 MB, free: 5.117 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.1176, allocations: 346.8 kB / 477.7 MB, free: 4.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003658/0.118, allocations: 156.3 kB / 477.9 MB, free: 4.613 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000438/0.1184, allocations: 293.7 kB / 478.2 MB, free: 4.266 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008256/0.1193, allocations: 494.3 kB / 478.7 MB, free: 3.719 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.1193, allocations: 4 kB / 478.7 MB, free: 3.715 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001007/0.1203, allocations: 0.5377 MB / 479.2 MB, free: 3.164 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.019e-05/0.1203, allocations: 33.7 kB / 479.2 MB, free: 3.125 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/0.1204, allocations: 8 kB / 479.2 MB, free: 3.117 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.1204, allocations: 4 kB / 479.2 MB, free: 3.113 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003272/0.1207, allocations: 99.81 kB / 479.3 MB, free: 3.016 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.1207, allocations: 12.31 kB / 479.4 MB, free: 3.004 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002725/0.121, allocations: 63.5 kB / 479.4 MB, free: 2.941 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.963e-05/0.1211, allocations: 16 kB / 479.4 MB, free: 2.926 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.0001894/0.1212, allocations: 193.6 kB / 479.6 MB, free: 2.727 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.776e-05/0.1213, allocations: 39.55 kB / 479.7 MB, free: 2.688 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.927e-05/0.1214, allocations: 47.28 kB / 479.7 MB, free: 2.633 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.1214, allocations: 12 kB / 479.7 MB, free: 2.621 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.1214, allocations: 0 / 479.7 MB, free: 2.621 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.647e-06/0.1215, allocations: 7.984 kB / 479.7 MB, free: 2.613 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007086/0.1222, allocations: 0.8546 MB / 480.6 MB, free: 1.688 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.1222, allocations: 128 / 480.6 MB, free: 1.688 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002668/0.1225, allocations: 79.83 kB / 480.7 MB, free: 1.609 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/0.1225, allocations: 4 kB / 480.7 MB, free: 1.605 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.027e-05/0.1225, allocations: 4 kB / 480.7 MB, free: 1.602 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.1225, allocations: 4 kB / 480.7 MB, free: 1.598 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.1225, allocations: 0 / 480.7 MB, free: 1.598 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008675/0.1234, allocations: 489.5 kB / 481.1 MB, free: 1.082 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.082e-05/0.1235, allocations: 116.7 kB / 481.3 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.797e-05/0.1235, allocations: 12 kB / 481.3 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002115/0.1238, allocations: 35.91 kB / 481.3 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.923e-05/0.1238, allocations: 39.89 kB / 481.3 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.616e-05/0.1239, allocations: 12 kB / 481.4 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002658/0.1242, allocations: 255.2 kB / 481.6 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1242, allocations: 0 / 481.6 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004197/0.1246, allocations: 99.84 kB / 481.7 MB, free: 0.5117 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.0009625/0.1256, allocations: 461 kB / 482.2 MB, free: 232 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008812/0.1264, allocations: 443.9 kB / 482.6 MB, free: 15.78 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1265, allocations: 0 / 482.6 MB, free: 15.78 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004276/0.1269, allocations: 204.5 kB / 482.8 MB, free: 15.58 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004733/0.1274, allocations: 71.42 kB / 482.9 MB, free: 15.51 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001166/0.1286, allocations: 0.8459 MB / 483.7 MB, free: 14.62 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003512/0.1289, allocations: 0.8076 MB / 484.5 MB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002417/0.1292, allocations: 91.19 kB / 484.6 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/0.1293, allocations: 43.42 kB / 484.6 MB, free: 13.65 MB / 366.1 MB Notification: Performance of SimCode: time 6.52e-07/0.1293, allocations: 0 / 484.6 MB, free: 13.65 MB / 366.1 MB Notification: Performance of Templates: time 0.00784/0.1371, allocations: 4.36 MB / 489 MB, free: 9.348 MB / 366.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.mat","../files/PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches