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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest") translateModel(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_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.001453/0.001453, allocations: 111 kB / 17.74 MB, free: 5.34 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.001569/0.001569, allocations: 196.3 kB / 18.68 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.279/1.279, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1811/0.1811, allocations: 37.97 MB / 309.9 MB, free: 5.961 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001525/0.001525, allocations: 71.91 kB / 432.5 MB, free: 15.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08905/0.09058, allocations: 55.25 MB / 487.8 MB, free: 8.355 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest): time 0.005672/0.09628, allocations: 4.243 MB / 492 MB, free: 4.086 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003384/0.0997, allocations: 2.432 MB / 494.4 MB, free: 1.641 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002562/0.09998, allocations: 11.94 kB / 494.5 MB, free: 1.629 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001104/0.1011, allocations: 346.5 kB / 494.8 MB, free: 1.289 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0008945/0.102, allocations: 334.5 kB / 495.1 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009183/0.1029, allocations: 359 kB / 495.5 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007835/0.1037, allocations: 0.6158 MB / 496.1 MB, free: 15.99 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004141/0.1042, allocations: 242 kB / 496.3 MB, free: 15.75 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005239/0.1047, allocations: 262.9 kB / 496.6 MB, free: 15.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003964/0.1051, allocations: 247.1 kB / 496.8 MB, free: 15.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.986e-05/0.1052, allocations: 40 kB / 496.9 MB, free: 15.21 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008706/0.1061, allocations: 0.5417 MB / 497.4 MB, free: 14.67 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001515/0.1062, allocations: 139.5 kB / 497.5 MB, free: 14.54 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002046/0.1064, allocations: 194.9 kB / 497.7 MB, free: 14.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009696/0.1074, allocations: 0.6934 MB / 498.4 MB, free: 13.65 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1074, allocations: 0 / 498.4 MB, free: 13.65 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1075, allocations: 0 / 498.4 MB, free: 13.65 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.74e-05/0.1075, allocations: 0 / 498.4 MB, free: 13.65 MB / 382.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.001346/0.1088, allocations: 0.7669 MB / 499.2 MB, free: 12.83 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.1089, allocations: 15.88 kB / 499.2 MB, free: 12.81 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001084/0.11, allocations: 116.3 kB / 499.3 MB, free: 12.7 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006263/0.1106, allocations: 427.6 kB / 499.7 MB, free: 12.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.24e-05/0.1106, allocations: 20.94 kB / 499.8 MB, free: 12.22 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.024e-05/0.1107, allocations: 28.11 kB / 499.8 MB, free: 12.2 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000857/0.1116, allocations: 449.2 kB / 0.4885 GB, free: 11.72 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.1116, allocations: 0 / 0.4885 GB, free: 11.72 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.813e-05/0.1116, allocations: 12 kB / 0.4885 GB, free: 11.71 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-05/0.1117, allocations: 24.36 kB / 0.4885 GB, free: 11.69 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001018/0.1127, allocations: 485.3 kB / 0.489 GB, free: 11.21 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002087/0.1148, allocations: 1.783 MB / 0.4907 GB, free: 9.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001015/0.1158, allocations: 381.1 kB / 0.4911 GB, free: 8.93 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003722/0.1162, allocations: 149.5 kB / 0.4912 GB, free: 8.777 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.019e-05/0.1163, allocations: 12 kB / 0.4913 GB, free: 8.766 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005551/0.1168, allocations: 273.2 kB / 0.4915 GB, free: 8.465 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 4.098e-06/0.1169, allocations: 0 / 0.4915 GB, free: 8.465 MB / 382.1 MB Notification: Performance of matching and sorting (n=30): time 0.001357/0.1182, allocations: 0.5169 MB / 0.492 GB, free: 7.941 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001245/0.1184, allocations: 247.3 kB / 0.4923 GB, free: 7.645 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003966/0.1188, allocations: 345.7 kB / 0.4926 GB, free: 7.297 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.282e-05/0.1188, allocations: 41.69 kB / 0.4926 GB, free: 7.25 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000149/0.119, allocations: 208.2 kB / 0.4928 GB, free: 7.043 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.389e-05/0.1191, allocations: 102.6 kB / 0.4929 GB, free: 6.941 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/0.1192, allocations: 77.59 kB / 0.493 GB, free: 6.859 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.1193, allocations: 346.8 kB / 0.4933 GB, free: 6.512 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003813/0.1197, allocations: 140.3 kB / 0.4935 GB, free: 6.371 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004708/0.1202, allocations: 289.5 kB / 0.4937 GB, free: 6.027 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008506/0.1211, allocations: 465.5 kB / 0.4942 GB, free: 5.508 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.1211, allocations: 0 / 0.4942 GB, free: 5.508 MB / 382.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001092/0.1222, allocations: 0.518 MB / 0.4947 GB, free: 4.977 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.845e-05/0.1222, allocations: 37.69 kB / 0.4947 GB, free: 4.934 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.1222, allocations: 4 kB / 0.4947 GB, free: 4.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.1223, allocations: 7.938 kB / 0.4947 GB, free: 4.922 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003711/0.1226, allocations: 96.22 kB / 0.4948 GB, free: 4.828 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.484e-05/0.1227, allocations: 15.98 kB / 0.4948 GB, free: 4.812 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003131/0.123, allocations: 55.56 kB / 0.4949 GB, free: 4.758 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.584e-05/0.123, allocations: 16 kB / 0.4949 GB, free: 4.742 MB / 382.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.0002287/0.1233, allocations: 193.6 kB / 0.4951 GB, free: 4.543 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.013e-05/0.1233, allocations: 39.56 kB / 0.4951 GB, free: 4.504 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001024/0.1235, allocations: 47.27 kB / 0.4952 GB, free: 4.457 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.1235, allocations: 4 kB / 0.4952 GB, free: 4.453 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.458e-06/0.1235, allocations: 8 kB / 0.4952 GB, free: 4.445 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.1235, allocations: 0 / 0.4952 GB, free: 4.445 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008092/0.1243, allocations: 0.8468 MB / 0.496 GB, free: 3.527 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.1243, allocations: 8 kB / 0.496 GB, free: 3.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002838/0.1246, allocations: 68.02 kB / 0.4961 GB, free: 3.453 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/0.1246, allocations: 4 kB / 0.4961 GB, free: 3.449 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.672e-05/0.1247, allocations: 11.98 kB / 0.4961 GB, free: 3.438 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.429e-06/0.1247, allocations: 4 kB / 0.4961 GB, free: 3.434 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.1247, allocations: 0 / 0.4961 GB, free: 3.434 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009523/0.1256, allocations: 457.5 kB / 0.4965 GB, free: 2.949 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.943e-05/0.1257, allocations: 108.7 kB / 0.4967 GB, free: 2.824 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.24e-05/0.1258, allocations: 16 kB / 0.4967 GB, free: 2.809 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002264/0.126, allocations: 23.97 kB / 0.4967 GB, free: 2.785 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.558e-05/0.1262, allocations: 39.89 kB / 0.4967 GB, free: 2.746 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.919e-05/0.1262, allocations: 12 kB / 0.4967 GB, free: 2.734 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002764/0.1265, allocations: 255.2 kB / 0.497 GB, free: 2.492 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1265, allocations: 3.938 kB / 0.497 GB, free: 2.488 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004359/0.1269, allocations: 91.91 kB / 0.4971 GB, free: 2.398 MB / 382.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.00101/0.1279, allocations: 452 kB / 0.4975 GB, free: 1.941 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009289/0.1289, allocations: 416.3 kB / 0.4979 GB, free: 1.523 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.1289, allocations: 4 kB / 0.4979 GB, free: 1.52 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000435/0.1293, allocations: 184.8 kB / 0.4981 GB, free: 1.34 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004719/0.1298, allocations: 81.69 kB / 0.4982 GB, free: 1.258 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001255/0.1311, allocations: 0.7373 MB / 0.4989 GB, free: 480 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000382/0.1315, allocations: 0.8111 MB / 0.4997 GB, free: 15.63 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001367/0.1316, allocations: 55.41 kB / 0.4997 GB, free: 15.57 MB / 398.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1316, allocations: 0 / 0.4997 GB, free: 15.57 MB / 398.1 MB Notification: Performance of Templates: time 0.00904/0.1407, allocations: 5.547 MB / 0.5051 GB, free: 10.02 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.makefile (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 & ./PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe 2>&1)