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.0009967/0.0009967, allocations: 86.91 kB / 16.31 MB, free: 5.66 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.0009988/0.0009989, allocations: 176.6 kB / 17.21 MB, free: 5.578 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.247/1.247, allocations: 223.3 MB / 241.2 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.268/0.268, allocations: 38.07 MB / 330.4 MB, free: 14.18 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002738/0.0002738, allocations: 8 kB / 400.1 MB, free: 9.25 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.253/0.2532, allocations: 59.15 MB / 459.2 MB, free: 30.47 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest): time 0.003851/0.2571, allocations: 4.275 MB / 463.5 MB, free: 27.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002831/0.26, allocations: 2.518 MB / 466 MB, free: 25.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002169/0.2602, allocations: 21.5 kB / 466 MB, free: 25.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000339/0.2606, allocations: 93.53 kB / 466.1 MB, free: 25.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005948/0.2612, allocations: 296.8 kB / 466.4 MB, free: 25.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006626/0.2618, allocations: 283 kB / 466.7 MB, free: 25.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006461/0.2625, allocations: 0.6518 MB / 467.4 MB, free: 25.03 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005067/0.263, allocations: 301.2 kB / 467.6 MB, free: 24.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003649/0.2634, allocations: 215.5 kB / 467.9 MB, free: 24.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002688/0.2637, allocations: 226.9 kB / 468.1 MB, free: 24.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.01e-05/0.2637, allocations: 15.84 kB / 468.1 MB, free: 24.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005049/0.2642, allocations: 277.6 kB / 468.4 MB, free: 24.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001124/0.2643, allocations: 109.3 kB / 468.5 MB, free: 24.53 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.946e-05/0.2644, allocations: 92.27 kB / 468.6 MB, free: 24.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005448/0.265, allocations: 0.506 MB / 469.1 MB, free: 24.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.265, allocations: 5.5 kB / 469.1 MB, free: 24.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.185e-06/0.265, allocations: 1.031 kB / 469.1 MB, free: 24.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.265, allocations: 0 / 469.1 MB, free: 24.32 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.0009263/0.2659, allocations: 0.7148 MB / 469.8 MB, free: 23.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.898e-05/0.266, allocations: 13.47 kB / 469.8 MB, free: 23.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00093/0.2669, allocations: 109.8 kB / 469.9 MB, free: 23.7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004729/0.2674, allocations: 398.1 kB / 470.3 MB, free: 23.4 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.774e-05/0.2674, allocations: 23.06 kB / 470.3 MB, free: 23.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.711e-05/0.2675, allocations: 24.44 kB / 470.3 MB, free: 23.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007745/0.2683, allocations: 465 kB / 470.8 MB, free: 23.15 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.2683, allocations: 0 / 470.8 MB, free: 23.15 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.339e-05/0.2683, allocations: 7.5 kB / 470.8 MB, free: 23.14 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.675e-05/0.2684, allocations: 28.19 kB / 470.8 MB, free: 23.14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008873/0.2693, allocations: 0.4975 MB / 471.3 MB, free: 23.01 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001695/0.271, allocations: 1.785 MB / 473.1 MB, free: 21.64 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008706/0.2719, allocations: 406.9 kB / 473.5 MB, free: 21.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003173/0.2722, allocations: 151.9 kB / 473.7 MB, free: 21.43 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.735e-05/0.2722, allocations: 12.2 kB / 473.7 MB, free: 21.42 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005036/0.2727, allocations: 290.6 kB / 474 MB, free: 21.25 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 1.603e-06/0.2728, allocations: 0 / 474 MB, free: 21.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.001216/0.274, allocations: 0.5448 MB / 474.5 MB, free: 21.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.018e-05/0.274, allocations: 245.9 kB / 474.7 MB, free: 20.78 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003669/0.2744, allocations: 357.1 kB / 475.1 MB, free: 20.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.024e-05/0.2745, allocations: 34.53 kB / 475.1 MB, free: 20.55 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.2746, allocations: 201 kB / 475.3 MB, free: 20.39 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.566e-05/0.2746, allocations: 105.1 kB / 475.4 MB, free: 20.31 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.725e-05/0.2747, allocations: 9.406 kB / 475.4 MB, free: 20.3 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.457e-05/0.2747, allocations: 347.9 kB / 475.8 MB, free: 19.97 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003419/0.2751, allocations: 151.7 kB / 475.9 MB, free: 19.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003845/0.2755, allocations: 288.1 kB / 476.2 MB, free: 19.71 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003733/0.2759, allocations: 215.8 kB / 476.4 MB, free: 19.6 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.2759, allocations: 1.375 kB / 476.4 MB, free: 19.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009112/0.2768, allocations: 0.5454 MB / 477 MB, free: 19.31 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.844e-05/0.2768, allocations: 34.45 kB / 477 MB, free: 19.28 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.2769, allocations: 7.641 kB / 477 MB, free: 19.28 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.2769, allocations: 6.75 kB / 477 MB, free: 19.28 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003119/0.2772, allocations: 98.06 kB / 477.1 MB, free: 19.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.29e-05/0.2772, allocations: 17.39 kB / 477.1 MB, free: 19.24 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000247/0.2775, allocations: 50.3 kB / 477.2 MB, free: 19.22 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.195e-05/0.2775, allocations: 22.98 kB / 477.2 MB, free: 19.21 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 ($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.0001611/0.2777, allocations: 191.7 kB / 477.4 MB, free: 19.05 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.367e-05/0.2777, allocations: 45.56 kB / 477.4 MB, free: 19.02 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.308e-05/0.2778, allocations: 60.67 kB / 477.5 MB, free: 18.97 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.2778, allocations: 7.672 kB / 477.5 MB, free: 18.97 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.2779, allocations: 2.5 kB / 477.5 MB, free: 18.97 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.2779, allocations: 5.062 kB / 477.5 MB, free: 18.96 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005789/0.2785, allocations: 0.8476 MB / 478.3 MB, free: 18.17 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.2785, allocations: 6.094 kB / 478.3 MB, free: 18.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002445/0.2787, allocations: 70.52 kB / 478.4 MB, free: 18.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.2787, allocations: 3 kB / 478.4 MB, free: 18.14 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.439e-05/0.2788, allocations: 13.55 kB / 478.4 MB, free: 18.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.2788, allocations: 2.094 kB / 478.4 MB, free: 18.14 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.2788, allocations: 6.531 kB / 478.4 MB, free: 18.13 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007641/0.2795, allocations: 476.9 kB / 478.9 MB, free: 17.85 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.947e-05/0.2796, allocations: 124 kB / 479 MB, free: 17.72 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.798e-05/0.2797, allocations: 18.05 kB / 479 MB, free: 17.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001927/0.2799, allocations: 25.92 kB / 479.1 MB, free: 17.7 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.037e-05/0.28, allocations: 39.67 kB / 479.1 MB, free: 17.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.796e-05/0.28, allocations: 18.02 kB / 479.1 MB, free: 17.67 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002104/0.2802, allocations: 249.6 kB / 479.4 MB, free: 17.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2802, allocations: 4 kB / 479.4 MB, free: 17.51 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003741/0.2806, allocations: 87.83 kB / 479.5 MB, free: 17.5 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 (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.0008867/0.2815, allocations: 469.8 kB / 479.9 MB, free: 17.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007873/0.2823, allocations: 444.4 kB / 480.4 MB, free: 17.03 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.2823, allocations: 0.875 kB / 480.4 MB, free: 17.03 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004077/0.2827, allocations: 203.2 kB / 480.6 MB, free: 16.95 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003977/0.2831, allocations: 67.19 kB / 480.6 MB, free: 16.91 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009902/0.2841, allocations: 0.7926 MB / 481.4 MB, free: 16.32 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002288/0.2844, allocations: 0.8148 MB / 482.2 MB, free: 15.56 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002297/0.2846, allocations: 85.61 kB / 482.3 MB, free: 15.52 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/0.2847, allocations: 39.58 kB / 482.3 MB, free: 15.51 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2847, allocations: 0 / 482.3 MB, free: 15.51 MB / 350.1 MB Notification: Performance of Templates: time 0.006737/0.2915, allocations: 4.265 MB / 486.6 MB, free: 12.13 MB / 350.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