Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest") translateModel(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001338/0.001338, allocations: 173.1 kB / 15.77 MB, free: 6.32 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.648/1.648, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000841/0.0008411, allocations: 94.23 kB / 270.3 MB, free: 13.35 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1662/0.1662, allocations: 38.07 MB / 356.6 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003814/0.0003815, allocations: 12 kB / 422.7 MB, free: 26.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09531/0.0957, allocations: 56.34 MB / 479.1 MB, free: 2.051 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest): time 0.004817/0.1006, allocations: 4.283 MB / 483.3 MB, free: 13.75 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003327/0.104, allocations: 2.441 MB / 485.8 MB, free: 11.29 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002236/0.1042, allocations: 19.88 kB / 485.8 MB, free: 11.27 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003605/0.1046, allocations: 95.38 kB / 485.9 MB, free: 11.18 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000628/0.1052, allocations: 298.6 kB / 486.2 MB, free: 10.89 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000667/0.1059, allocations: 271.3 kB / 486.5 MB, free: 10.62 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005964/0.1065, allocations: 0.6467 MB / 487.1 MB, free: 9.973 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004839/0.107, allocations: 298 kB / 487.4 MB, free: 9.664 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003708/0.1074, allocations: 211.1 kB / 487.6 MB, free: 9.457 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002677/0.1077, allocations: 235.1 kB / 487.8 MB, free: 9.227 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.282e-05/0.1077, allocations: 16 kB / 487.8 MB, free: 9.211 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004992/0.1082, allocations: 279.3 kB / 488.1 MB, free: 8.938 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001031/0.1083, allocations: 115.6 kB / 488.2 MB, free: 8.824 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 8.424e-05/0.1084, allocations: 85.45 kB / 488.3 MB, free: 8.734 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005217/0.109, allocations: 0.5027 MB / 488.8 MB, free: 8.23 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.109, allocations: 3.938 kB / 488.8 MB, free: 8.227 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.109, allocations: 0 / 488.8 MB, free: 8.227 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.101e-06/0.109, allocations: 0 / 488.8 MB, free: 8.227 MB / 330.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.00114/0.1101, allocations: 0.7238 MB / 489.5 MB, free: 7.449 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.1102, allocations: 12.02 kB / 489.6 MB, free: 7.438 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009633/0.1112, allocations: 115.4 kB / 489.7 MB, free: 7.324 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005273/0.1117, allocations: 394.6 kB / 490.1 MB, free: 6.895 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.294e-05/0.1118, allocations: 20.55 kB / 490.1 MB, free: 6.875 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.631e-05/0.1118, allocations: 23.98 kB / 490.1 MB, free: 6.852 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008262/0.1126, allocations: 461.2 kB / 490.5 MB, free: 6.367 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.1127, allocations: 3.938 kB / 490.6 MB, free: 6.363 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.683e-05/0.1127, allocations: 8 kB / 490.6 MB, free: 6.355 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.156e-05/0.1128, allocations: 32.38 kB / 490.6 MB, free: 6.32 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009706/0.1137, allocations: 0.4935 MB / 491.1 MB, free: 5.828 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001943/0.1157, allocations: 1.787 MB / 492.9 MB, free: 3.934 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009889/0.1167, allocations: 410 kB / 493.3 MB, free: 3.516 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003567/0.1171, allocations: 157.6 kB / 493.4 MB, free: 3.355 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.844e-05/0.1171, allocations: 11.97 kB / 493.4 MB, free: 3.344 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005351/0.1177, allocations: 285.2 kB / 493.7 MB, free: 3.031 MB / 330.7 MB Notification: Performance of pre-optimization done (n=30): time 2.084e-06/0.1177, allocations: 0 / 493.7 MB, free: 3.031 MB / 330.7 MB Notification: Performance of matching and sorting (n=30): time 0.001297/0.119, allocations: 0.5479 MB / 494.3 MB, free: 2.477 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001268/0.1191, allocations: 239.6 kB / 494.5 MB, free: 2.188 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003823/0.1195, allocations: 353.6 kB / 494.8 MB, free: 1.836 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.835e-05/0.1196, allocations: 37.7 kB / 494.9 MB, free: 1.793 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/0.1197, allocations: 204.3 kB / 495.1 MB, free: 1.59 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.75e-05/0.1198, allocations: 98.64 kB / 495.2 MB, free: 1.492 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.871e-05/0.1198, allocations: 12 kB / 495.2 MB, free: 1.48 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.12, allocations: 350.8 kB / 495.5 MB, free: 1.129 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003665/0.1203, allocations: 152.3 kB / 495.7 MB, free: 0.9766 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004448/0.1208, allocations: 301.5 kB / 496 MB, free: 0.6211 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004081/0.1212, allocations: 213.5 kB / 496.2 MB, free: 416 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.1212, allocations: 0 / 496.2 MB, free: 416 kB / 330.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.00103/0.1223, allocations: 0.5418 MB / 496.7 MB, free: 15.85 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.427e-05/0.1223, allocations: 33.7 kB / 496.8 MB, free: 15.81 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.1223, allocations: 8 kB / 496.8 MB, free: 15.8 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.1223, allocations: 4 kB / 496.8 MB, free: 15.8 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003485/0.1227, allocations: 99.81 kB / 496.9 MB, free: 15.7 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.1227, allocations: 7.938 kB / 496.9 MB, free: 15.7 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002848/0.123, allocations: 63.69 kB / 496.9 MB, free: 15.63 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.249e-05/0.123, allocations: 20 kB / 497 MB, free: 15.61 MB / 346.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 ($whenCondition2,$PRE.windFarm.wind.nextTimeEvent,$whenCondition1,windFarm.wind.nextTimeEvent,$PRE.windFarm.wind.nextTimeEventScaled,windFarm.wind.nextTimeEventScaled,$PRE.windFarm.disturbance.T_start,windFarm.disturbance.T_start,$PRE.windFarm.disturbance.count,windFarm.disturbance.count,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002058/0.1233, allocations: 197.3 kB / 497.1 MB, free: 15.41 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.237e-05/0.1233, allocations: 43.52 kB / 497.2 MB, free: 15.37 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001057/0.1234, allocations: 47.28 kB / 497.2 MB, free: 15.31 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/0.1235, allocations: 4 kB / 497.2 MB, free: 15.31 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/0.1235, allocations: 0 / 497.2 MB, free: 15.31 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.565e-06/0.1235, allocations: 15.92 kB / 497.3 MB, free: 15.29 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007867/0.1243, allocations: 0.8469 MB / 498.1 MB, free: 14.38 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.1243, allocations: 0 / 498.1 MB, free: 14.38 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002669/0.1246, allocations: 72.02 kB / 498.2 MB, free: 14.3 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.1246, allocations: 4 kB / 498.2 MB, free: 14.3 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.296e-05/0.1246, allocations: 8 kB / 498.2 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.1246, allocations: 4 kB / 498.2 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.1246, allocations: 3.953 kB / 498.2 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008851/0.1255, allocations: 486 kB / 498.7 MB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.434e-05/0.1256, allocations: 120.6 kB / 498.8 MB, free: 13.64 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.644e-05/0.1257, allocations: 12 kB / 498.8 MB, free: 13.62 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002265/0.1259, allocations: 35.97 kB / 498.8 MB, free: 13.59 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.159e-05/0.126, allocations: 35.91 kB / 498.9 MB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.664e-05/0.126, allocations: 12 kB / 498.9 MB, free: 13.54 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002512/0.1263, allocations: 251.2 kB / 499.1 MB, free: 13.3 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1263, allocations: 0 / 499.1 MB, free: 13.3 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003799/0.1267, allocations: 87.94 kB / 499.2 MB, free: 13.21 MB / 346.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.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008787/0.1276, allocations: 481 kB / 499.7 MB, free: 12.8 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008958/0.1285, allocations: 439.9 kB / 0.4884 GB, free: 12.36 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1285, allocations: 0 / 0.4884 GB, free: 12.36 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004146/0.1289, allocations: 183.8 kB / 0.4886 GB, free: 12.18 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000415/0.1293, allocations: 69.83 kB / 0.4886 GB, free: 12.11 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001193/0.1305, allocations: 0.8481 MB / 0.4895 GB, free: 11.21 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003817/0.1309, allocations: 0.8115 MB / 0.4903 GB, free: 10.38 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001212/0.1311, allocations: 39.42 kB / 0.4903 GB, free: 10.34 MB / 346.7 MB Notification: Performance of SimCode: time 3.31e-07/0.1311, allocations: 0 / 0.4903 GB, free: 10.34 MB / 346.7 MB Notification: Performance of Templates: time 0.007628/0.1387, allocations: 5.479 MB / 0.4956 GB, free: 4.848 MB / 346.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.sim & ./PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe 2>&1)