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.001327/0.001327, allocations: 111.6 kB / 17.28 MB, free: 6.199 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.001257/0.001257, allocations: 193.3 kB / 18.21 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.373/2.373, allocations: 222.9 MB / 241.9 MB, free: 15.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.3579/0.3579, allocations: 38.04 MB / 330.1 MB, free: 9.023 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002464/0.002464, allocations: 61.33 kB / 398.9 MB, free: 34.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1666/0.1691, allocations: 58.05 MB / 457 MB, free: 8.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest): time 0.01095/0.1802, allocations: 4.887 MB / 461.9 MB, free: 3.516 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006563/0.1868, allocations: 2.684 MB / 464.6 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000731/0.1876, allocations: 23.81 kB / 464.6 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001784/0.1894, allocations: 322.8 kB / 464.9 MB, free: 492 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001464/0.1909, allocations: 318.9 kB / 465.2 MB, free: 172 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001674/0.1926, allocations: 346.2 kB / 465.6 MB, free: 15.83 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001223/0.1938, allocations: 0.6234 MB / 466.2 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008065/0.1947, allocations: 254.1 kB / 466.4 MB, free: 14.95 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008813/0.1956, allocations: 259 kB / 466.7 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006278/0.1962, allocations: 263 kB / 466.9 MB, free: 14.44 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001366/0.1964, allocations: 40 kB / 467 MB, free: 14.4 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001488/0.1979, allocations: 0.5417 MB / 467.5 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002774/0.1982, allocations: 131.6 kB / 467.7 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003824/0.1986, allocations: 195 kB / 467.8 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001261/0.1999, allocations: 0.5341 MB / 468.4 MB, free: 13 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.1999, allocations: 0 / 468.4 MB, free: 13 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.073e-06/0.1999, allocations: 0 / 468.4 MB, free: 13 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.482e-05/0.2, allocations: 4 kB / 468.4 MB, free: 13 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.002306/0.2023, allocations: 0.7706 MB / 469.1 MB, free: 12.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.412e-05/0.2023, allocations: 11.89 kB / 469.2 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00223/0.2046, allocations: 112.4 kB / 469.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001069/0.2057, allocations: 415.6 kB / 469.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.868e-05/0.2057, allocations: 12.94 kB / 469.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.152e-05/0.2058, allocations: 32.12 kB / 469.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001504/0.2074, allocations: 449.2 kB / 470.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.832e-05/0.2074, allocations: 4 kB / 470.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.344e-05/0.2075, allocations: 15.97 kB / 470.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.429e-05/0.2076, allocations: 24.36 kB / 470.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001897/0.2095, allocations: 481.3 kB / 470.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003798/0.2133, allocations: 1.787 MB / 472.5 MB, free: 8.684 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001858/0.2152, allocations: 385.1 kB / 472.8 MB, free: 8.289 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006227/0.2159, allocations: 143.3 kB / 473 MB, free: 8.145 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.738e-05/0.2159, allocations: 11.98 kB / 473 MB, free: 8.133 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009553/0.2169, allocations: 277.1 kB / 473.3 MB, free: 7.828 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 4.729e-06/0.2169, allocations: 0 / 473.3 MB, free: 7.828 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.002413/0.2194, allocations: 0.5158 MB / 473.8 MB, free: 7.309 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001665/0.2196, allocations: 243.3 kB / 474 MB, free: 7.016 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007692/0.2204, allocations: 353.6 kB / 474.4 MB, free: 6.66 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.263e-05/0.2204, allocations: 37.7 kB / 474.4 MB, free: 6.617 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002451/0.2207, allocations: 204.2 kB / 474.6 MB, free: 6.414 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001474/0.2209, allocations: 98.73 kB / 474.7 MB, free: 6.316 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001976/0.2211, allocations: 73.61 kB / 474.8 MB, free: 6.238 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001838/0.2213, allocations: 350.8 kB / 475.1 MB, free: 5.887 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007287/0.222, allocations: 144.2 kB / 475.2 MB, free: 5.742 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008831/0.2229, allocations: 277.8 kB / 475.5 MB, free: 5.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001606/0.2245, allocations: 470.3 kB / 476 MB, free: 4.887 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.198e-06/0.2246, allocations: 4 kB / 476 MB, free: 4.883 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001957/0.2265, allocations: 0.5178 MB / 476.5 MB, free: 4.352 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.674e-05/0.2266, allocations: 33.7 kB / 476.5 MB, free: 4.312 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.829e-05/0.2267, allocations: 4 kB / 476.5 MB, free: 4.309 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.319e-05/0.2267, allocations: 8.562 kB / 476.5 MB, free: 4.301 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006863/0.2274, allocations: 95.81 kB / 476.6 MB, free: 4.207 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.04e-05/0.2275, allocations: 8 kB / 476.6 MB, free: 4.199 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000572/0.2281, allocations: 51.59 kB / 476.7 MB, free: 4.148 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.148e-05/0.2281, allocations: 20 kB / 476.7 MB, free: 4.129 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.0004077/0.2286, allocations: 197.6 kB / 476.9 MB, free: 3.926 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000173/0.2287, allocations: 43.47 kB / 476.9 MB, free: 3.883 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000185/0.229, allocations: 51.28 kB / 477 MB, free: 3.828 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.3e-05/0.229, allocations: 4 kB / 477 MB, free: 3.824 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.206e-05/0.229, allocations: 4 kB / 477 MB, free: 3.82 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.209e-05/0.229, allocations: 3.984 kB / 477 MB, free: 3.816 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001466/0.2305, allocations: 0.8468 MB / 477.9 MB, free: 2.898 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.308e-06/0.2306, allocations: 8.125 kB / 477.9 MB, free: 2.891 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004878/0.2311, allocations: 59.89 kB / 477.9 MB, free: 2.832 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.183e-05/0.2311, allocations: 4 kB / 477.9 MB, free: 2.828 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.579e-05/0.2311, allocations: 8 kB / 477.9 MB, free: 2.82 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.728e-06/0.2312, allocations: 4 kB / 477.9 MB, free: 2.816 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.114e-06/0.2312, allocations: 3.984 kB / 477.9 MB, free: 2.812 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001797/0.233, allocations: 465.5 kB / 478.4 MB, free: 2.32 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001614/0.2332, allocations: 112.7 kB / 478.5 MB, free: 2.191 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001312/0.2333, allocations: 12 kB / 478.5 MB, free: 2.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004451/0.2338, allocations: 27.97 kB / 478.5 MB, free: 2.152 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001485/0.234, allocations: 35.84 kB / 478.6 MB, free: 2.117 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.106e-05/0.234, allocations: 19.98 kB / 478.6 MB, free: 2.098 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005604/0.2346, allocations: 247.2 kB / 478.8 MB, free: 1.863 MB / 350.1 MB Notification: Performance of sort global known variables: time 5.82e-07/0.2346, allocations: 0 / 478.8 MB, free: 1.863 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009258/0.2356, allocations: 103.8 kB / 478.9 MB, free: 1.762 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.002087/0.2377, allocations: 474.4 kB / 479.4 MB, free: 1.465 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00183/0.2395, allocations: 443.3 kB / 479.8 MB, free: 1.02 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.79e-06/0.2396, allocations: 1.125 kB / 479.8 MB, free: 1.02 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007572/0.2403, allocations: 184.1 kB / 480 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008992/0.2412, allocations: 72.34 kB / 480.1 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002336/0.2436, allocations: 0.8666 MB / 481 MB, free: 15.86 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005847/0.2442, allocations: 0.8073 MB / 481.8 MB, free: 15.03 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002448/0.2445, allocations: 51.36 kB / 481.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of SimCode: time 1.002e-06/0.2445, allocations: 3.938 kB / 481.8 MB, free: 14.97 MB / 366.1 MB Notification: Performance of Templates: time 0.01651/0.261, allocations: 5.515 MB / 487.3 MB, free: 9.484 MB / 366.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches