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/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="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/Complex 3.2.3+maint.om/package.mo): time 0.001193/0.001193, allocations: 184.9 kB / 17.27 MB, free: 4.504 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.477/1.477, allocations: 205.1 MB / 223.1 MB, free: 8.465 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.0009747/0.0009748, allocations: 106.8 kB / 270.5 MB, free: 8.426 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1712/0.1712, allocations: 38.01 MB / 355.8 MB, free: 2.922 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001005/0.001005, allocations: 51.92 kB / 421.9 MB, free: 37.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3068/0.3078, allocations: 55.24 MB / 477.1 MB, free: 9.91 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest): time 0.005979/0.3138, allocations: 4.891 MB / 482 MB, free: 6.449 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003792/0.3176, allocations: 2.636 MB / 484.6 MB, free: 4.602 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003644/0.318, allocations: 27.06 kB / 484.6 MB, free: 4.59 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00105/0.3191, allocations: 326 kB / 485 MB, free: 4.395 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008514/0.3199, allocations: 308.7 kB / 485.3 MB, free: 4.23 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009573/0.3209, allocations: 336.8 kB / 485.6 MB, free: 4.051 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008979/0.3218, allocations: 0.7852 MB / 486.4 MB, free: 3.77 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004029/0.3222, allocations: 180.9 kB / 486.6 MB, free: 3.699 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004365/0.3227, allocations: 226.8 kB / 486.8 MB, free: 3.602 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003578/0.323, allocations: 247.9 kB / 487 MB, free: 3.5 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.317e-05/0.3231, allocations: 18.47 kB / 487 MB, free: 3.5 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00113/0.3242, allocations: 0.6413 MB / 487.7 MB, free: 3.258 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001538/0.3244, allocations: 120.8 kB / 487.8 MB, free: 3.207 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000185/0.3246, allocations: 172.5 kB / 488 MB, free: 3.102 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001078/0.3257, allocations: 0.7088 MB / 488.7 MB, free: 2.84 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.3257, allocations: 4 kB / 488.7 MB, free: 2.836 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.3257, allocations: 0 / 488.7 MB, free: 2.836 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.113e-06/0.3257, allocations: 5.5 kB / 488.7 MB, free: 2.832 MB / 314.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.001326/0.3271, allocations: 0.767 MB / 489.5 MB, free: 2.219 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.3271, allocations: 9 kB / 489.5 MB, free: 2.219 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001002/0.3281, allocations: 113.8 kB / 489.6 MB, free: 2.191 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006035/0.3287, allocations: 410.9 kB / 490 MB, free: 1.875 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.194e-05/0.3288, allocations: 22.5 kB / 490 MB, free: 1.863 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.758e-05/0.3288, allocations: 28.75 kB / 490 MB, free: 1.852 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008542/0.3297, allocations: 450.8 kB / 490.5 MB, free: 1.625 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.3297, allocations: 1.703 kB / 490.5 MB, free: 1.625 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.624e-05/0.3298, allocations: 15.67 kB / 490.5 MB, free: 1.613 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.223e-05/0.3298, allocations: 23.48 kB / 490.5 MB, free: 1.609 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001065/0.3309, allocations: 489.2 kB / 491 MB, free: 1.477 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002106/0.333, allocations: 1.772 MB / 492.8 MB, free: 120 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001079/0.3341, allocations: 384.2 kB / 493.1 MB, free: 15.96 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003804/0.3345, allocations: 147.7 kB / 493.3 MB, free: 15.9 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.297e-05/0.3346, allocations: 6.453 kB / 493.3 MB, free: 15.9 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005721/0.3351, allocations: 280.6 kB / 493.6 MB, free: 15.73 MB / 330.7 MB Notification: Performance of pre-optimization done (n=30): time 2.665e-06/0.3352, allocations: 1.438 kB / 493.6 MB, free: 15.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=30): time 0.001389/0.3366, allocations: 0.5123 MB / 494.1 MB, free: 15.55 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001377/0.3367, allocations: 243.7 kB / 494.3 MB, free: 15.26 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005005/0.3372, allocations: 354.1 kB / 494.7 MB, free: 15.08 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.242e-05/0.3373, allocations: 42.88 kB / 494.7 MB, free: 15.04 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001524/0.3374, allocations: 205.6 kB / 494.9 MB, free: 14.87 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.547e-05/0.3375, allocations: 103.5 kB / 495 MB, free: 14.79 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00013/0.3377, allocations: 74.22 kB / 495.1 MB, free: 14.75 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.3378, allocations: 348.2 kB / 495.4 MB, free: 14.42 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000372/0.3382, allocations: 137.1 kB / 495.5 MB, free: 14.38 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004486/0.3386, allocations: 283.2 kB / 495.8 MB, free: 14.15 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008429/0.3395, allocations: 461.6 kB / 496.3 MB, free: 13.84 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.3395, allocations: 2.562 kB / 496.3 MB, free: 13.84 MB / 330.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001181/0.3407, allocations: 0.5218 MB / 496.8 MB, free: 13.61 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.634e-05/0.3407, allocations: 34.36 kB / 496.8 MB, free: 13.57 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/0.3408, allocations: 4.938 kB / 496.8 MB, free: 13.57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.469e-05/0.3408, allocations: 11.53 kB / 496.8 MB, free: 13.57 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003829/0.3412, allocations: 89.36 kB / 496.9 MB, free: 13.56 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.869e-05/0.3412, allocations: 11.72 kB / 496.9 MB, free: 13.56 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003275/0.3416, allocations: 55.7 kB / 497 MB, free: 13.53 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.937e-05/0.3416, allocations: 18.73 kB / 497 MB, free: 13.53 MB / 330.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.0002679/0.3419, allocations: 193.9 kB / 497.2 MB, free: 13.37 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.015e-05/0.342, allocations: 42.67 kB / 497.2 MB, free: 13.35 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001311/0.3421, allocations: 48.31 kB / 497.3 MB, free: 13.31 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.748e-06/0.3421, allocations: 5.25 kB / 497.3 MB, free: 13.31 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.218e-05/0.3421, allocations: 2.344 kB / 497.3 MB, free: 13.31 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.3422, allocations: 3.531 kB / 497.3 MB, free: 13.31 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009263/0.3431, allocations: 0.8563 MB / 498.2 MB, free: 12.61 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.3431, allocations: 1.531 kB / 498.2 MB, free: 12.61 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002657/0.3434, allocations: 64.25 kB / 498.2 MB, free: 12.6 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.3434, allocations: 3.375 kB / 498.2 MB, free: 12.6 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.132e-05/0.3434, allocations: 11.52 kB / 498.2 MB, free: 12.6 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.021e-06/0.3434, allocations: 3.438 kB / 498.2 MB, free: 12.6 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.3434, allocations: 1.656 kB / 498.2 MB, free: 12.6 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001803/0.3453, allocations: 1.227 MB / 499.5 MB, free: 11.63 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001157/0.3454, allocations: 124.3 kB / 499.6 MB, free: 11.5 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.586e-05/0.3455, allocations: 13.28 kB / 499.6 MB, free: 11.5 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002114/0.3457, allocations: 24.88 kB / 499.6 MB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/0.3458, allocations: 38.11 kB / 499.7 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.33e-05/0.3458, allocations: 11.22 kB / 499.7 MB, free: 11.46 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003231/0.3462, allocations: 260.2 kB / 499.9 MB, free: 11.29 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3462, allocations: 0 / 499.9 MB, free: 11.29 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007351/0.3469, allocations: 86.34 kB / 0.4883 GB, free: 11.28 MB / 330.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 (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.001064/0.348, allocations: 477.3 kB / 0.4888 GB, free: 10.94 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001011/0.349, allocations: 416.9 kB / 0.4891 GB, free: 10.71 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.349, allocations: 1.188 kB / 0.4892 GB, free: 10.71 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004769/0.3495, allocations: 184.5 kB / 0.4893 GB, free: 10.63 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004864/0.35, allocations: 68.7 kB / 0.4894 GB, free: 10.59 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00153/0.3515, allocations: 1.039 MB / 0.4904 GB, free: 9.793 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003915/0.3519, allocations: 0.8156 MB / 0.4912 GB, free: 9.035 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002696/0.3522, allocations: 90.42 kB / 0.4913 GB, free: 8.992 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001185/0.3524, allocations: 48.31 kB / 0.4913 GB, free: 8.973 MB / 330.7 MB Notification: Performance of SimCode: time 6.11e-07/0.3524, allocations: 0 / 0.4913 GB, free: 8.973 MB / 330.7 MB Notification: Performance of Templates: time 0.009039/0.3614, allocations: 4.55 MB / 0.4958 GB, free: 6.691 MB / 330.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.makefile (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) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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