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.0009169/0.000917, allocations: 93.62 kB / 16.3 MB, free: 5.996 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.001028/0.001028, allocations: 179.9 kB / 17.2 MB, free: 5.914 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.23/1.23, allocations: 223.2 MB / 241.1 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.2765/0.2765, allocations: 38.07 MB / 330.3 MB, free: 14.23 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003101/0.0003102, allocations: 8 kB / 400 MB, free: 9.277 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2513/0.2516, allocations: 59.17 MB / 459.1 MB, free: 30.05 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest): time 0.003549/0.2552, allocations: 4.15 MB / 463.3 MB, free: 27.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002614/0.2578, allocations: 2.453 MB / 465.7 MB, free: 25.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002199/0.258, allocations: 21.41 kB / 465.8 MB, free: 25.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003227/0.2584, allocations: 81.56 kB / 465.8 MB, free: 25.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005826/0.259, allocations: 267 kB / 466.1 MB, free: 25.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007308/0.2597, allocations: 301.9 kB / 466.4 MB, free: 25.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004349/0.2602, allocations: 324.3 kB / 466.7 MB, free: 24.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005034/0.2607, allocations: 297.1 kB / 467 MB, free: 24.67 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004371/0.2611, allocations: 199.6 kB / 467.2 MB, free: 24.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002318/0.2614, allocations: 156.7 kB / 467.3 MB, free: 24.51 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.025e-05/0.2614, allocations: 16.72 kB / 467.4 MB, free: 24.51 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006278/0.262, allocations: 269.3 kB / 467.6 MB, free: 24.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001159/0.2622, allocations: 97.52 kB / 467.7 MB, free: 24.38 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.898e-05/0.2623, allocations: 88.06 kB / 467.8 MB, free: 24.31 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006959/0.263, allocations: 0.5031 MB / 468.3 MB, free: 24.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.263, allocations: 1.375 kB / 468.3 MB, free: 24.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.263, allocations: 0 / 468.3 MB, free: 24.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.065e-05/0.263, allocations: 0 / 468.3 MB, free: 24.18 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.001089/0.2641, allocations: 0.7155 MB / 469 MB, free: 23.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.2641, allocations: 8.844 kB / 469 MB, free: 23.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001025/0.2652, allocations: 119.1 kB / 469.1 MB, free: 23.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005522/0.2657, allocations: 398.5 kB / 469.5 MB, free: 23.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.536e-05/0.2658, allocations: 26.34 kB / 469.6 MB, free: 23.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.198e-05/0.2658, allocations: 24.78 kB / 469.6 MB, free: 23.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009089/0.2667, allocations: 459 kB / 470 MB, free: 23.02 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.2668, allocations: 0.875 kB / 470 MB, free: 23.02 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.75e-05/0.2668, allocations: 11.28 kB / 470 MB, free: 23.01 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.316e-05/0.2669, allocations: 23.59 kB / 470.1 MB, free: 23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001064/0.2679, allocations: 0.5019 MB / 470.6 MB, free: 22.87 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001978/0.2699, allocations: 1.784 MB / 472.4 MB, free: 21.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001032/0.271, allocations: 411.3 kB / 472.8 MB, free: 21.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.905e-05/0.271, allocations: 10.06 kB / 472.8 MB, free: 21.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005542/0.2716, allocations: 287.4 kB / 473 MB, free: 21.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 2.534e-06/0.2716, allocations: 0 / 473 MB, free: 21.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.001379/0.273, allocations: 0.5454 MB / 473.6 MB, free: 20.99 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.873e-05/0.2731, allocations: 248.5 kB / 473.8 MB, free: 20.7 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003663/0.2735, allocations: 356.2 kB / 474.2 MB, free: 20.51 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.045e-05/0.2735, allocations: 33.66 kB / 474.2 MB, free: 20.47 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.2736, allocations: 201 kB / 474.4 MB, free: 20.3 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.118e-05/0.2737, allocations: 105.4 kB / 474.5 MB, free: 20.23 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.636e-05/0.2737, allocations: 6.062 kB / 474.5 MB, free: 20.22 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.929e-05/0.2738, allocations: 352 kB / 474.9 MB, free: 19.89 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003524/0.2742, allocations: 155.1 kB / 475 MB, free: 19.84 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003837/0.2745, allocations: 289.8 kB / 475.3 MB, free: 19.62 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003749/0.2749, allocations: 218 kB / 475.5 MB, free: 19.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.349e-06/0.2749, allocations: 1.375 kB / 475.5 MB, free: 19.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009665/0.2759, allocations: 0.5458 MB / 476.1 MB, free: 19.28 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.7e-05/0.276, allocations: 37.22 kB / 476.1 MB, free: 19.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.276, allocations: 3.594 kB / 476.1 MB, free: 19.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.626e-05/0.276, allocations: 10.7 kB / 476.1 MB, free: 19.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003412/0.2764, allocations: 96.52 kB / 476.2 MB, free: 19.24 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.409e-05/0.2764, allocations: 12.14 kB / 476.2 MB, free: 19.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002946/0.2767, allocations: 57.02 kB / 476.3 MB, free: 19.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.245e-05/0.2767, allocations: 20.3 kB / 476.3 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.000176/0.2769, allocations: 192.7 kB / 476.5 MB, free: 19.05 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.313e-05/0.277, allocations: 37.81 kB / 476.5 MB, free: 19.03 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.183e-05/0.2771, allocations: 53.78 kB / 476.6 MB, free: 19 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.275e-06/0.2771, allocations: 9.719 kB / 476.6 MB, free: 18.99 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.2771, allocations: 1.656 kB / 476.6 MB, free: 18.99 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.2771, allocations: 6.641 kB / 476.6 MB, free: 18.99 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000676/0.2778, allocations: 0.8411 MB / 477.4 MB, free: 18.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.2778, allocations: 5.141 kB / 477.4 MB, free: 18.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000247/0.2781, allocations: 75.23 kB / 477.5 MB, free: 18.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.2781, allocations: 2.156 kB / 477.5 MB, free: 18.29 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.312e-05/0.2781, allocations: 7.156 kB / 477.5 MB, free: 18.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.2781, allocations: 3.609 kB / 477.5 MB, free: 18.29 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.2781, allocations: 9.312 kB / 477.5 MB, free: 18.28 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008264/0.279, allocations: 0.5424 MB / 478.1 MB, free: 17.94 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.799e-05/0.279, allocations: 123.4 kB / 478.2 MB, free: 17.81 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.998e-05/0.2791, allocations: 15.22 kB / 478.2 MB, free: 17.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000214/0.2793, allocations: 30.64 kB / 478.2 MB, free: 17.8 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.2794, allocations: 38.17 kB / 478.3 MB, free: 17.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.025e-05/0.2795, allocations: 16 kB / 478.3 MB, free: 17.79 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002734/0.2797, allocations: 247.2 kB / 478.5 MB, free: 17.66 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2797, allocations: 0 / 478.5 MB, free: 17.66 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000432/0.2802, allocations: 89.92 kB / 478.6 MB, free: 17.64 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.0009226/0.2811, allocations: 476 kB / 479.1 MB, free: 17.41 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000885/0.282, allocations: 436.6 kB / 479.5 MB, free: 17.24 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.282, allocations: 0.75 kB / 479.5 MB, free: 17.24 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004058/0.2824, allocations: 203.2 kB / 479.7 MB, free: 17.16 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003455/0.2828, allocations: 66.78 kB / 479.8 MB, free: 17.12 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001027/0.2838, allocations: 0.7857 MB / 480.6 MB, free: 16.54 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002092/0.284, allocations: 0.817 MB / 481.4 MB, free: 15.77 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000225/0.2843, allocations: 97.08 kB / 481.5 MB, free: 15.73 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.617e-05/0.2844, allocations: 47.73 kB / 481.5 MB, free: 15.71 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2844, allocations: 1.219 kB / 481.5 MB, free: 15.71 MB / 350.1 MB Notification: Performance of Templates: time 0.007229/0.2916, allocations: 4.239 MB / 485.8 MB, free: 12.71 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