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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007185/0.0007185, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009856/0.001704, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007153/0.0007153, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009426/0.001658, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8977/0.8977, allocations: 177.2 MB / 189.8 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08896/0.9866, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo): time 0.1099/0.1099, allocations: 29.45 MB / 273.6 MB, free: 1.391 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1101/0.2201, allocations: 9.527 MB / 283.1 MB, free: 12.83 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="inverter.I|windFarm.p.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest") translateModel(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="inverter.I|windFarm.p.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 284.4 MB, free: 11.87 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.126e-05/2.278e-05, allocations: 4.828 kB / 284.4 MB, free: 11.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest): time 0.004319/0.004342, allocations: 4.263 MB / 288.7 MB, free: 8.477 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002415/0.006757, allocations: 2.19 MB / 290.9 MB, free: 6.797 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001691/0.006926, allocations: 15.44 kB / 290.9 MB, free: 6.789 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006628/0.007589, allocations: 368 kB / 291.3 MB, free: 6.516 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005705/0.008159, allocations: 365.3 kB / 291.6 MB, free: 6.234 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005654/0.008724, allocations: 356.7 kB / 292 MB, free: 5.965 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005379/0.009262, allocations: 0.6519 MB / 292.6 MB, free: 5.602 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002864/0.009549, allocations: 214.3 kB / 292.8 MB, free: 5.5 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005225/0.01007, allocations: 416.9 kB / 293.2 MB, free: 5.23 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003007/0.01037, allocations: 238.7 kB / 293.5 MB, free: 5.094 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.188e-05/0.01042, allocations: 42.03 kB / 293.5 MB, free: 5.094 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006723/0.0111, allocations: 488.3 kB / 294 MB, free: 4.844 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001246/0.01122, allocations: 127.3 kB / 294.1 MB, free: 4.801 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.878e-05/0.01132, allocations: 105.1 kB / 294.2 MB, free: 4.785 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006081/0.01193, allocations: 0.5551 MB / 294.8 MB, free: 4.352 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.531e-05/0.01194, allocations: 0 / 294.8 MB, free: 4.352 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.01194, allocations: 0 / 294.8 MB, free: 4.352 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.629e-06/0.01195, allocations: 0 / 294.8 MB, free: 4.352 MB / 282.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.0008083/0.01276, allocations: 0.8057 MB / 295.6 MB, free: 3.516 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.795e-05/0.01279, allocations: 8.031 kB / 295.6 MB, free: 3.508 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006216/0.01341, allocations: 265.5 kB / 295.9 MB, free: 3.23 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003145/0.01373, allocations: 306.2 kB / 296.2 MB, free: 2.902 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.986e-05/0.01375, allocations: 20.86 kB / 296.2 MB, free: 2.879 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.857e-05/0.01377, allocations: 20.38 kB / 296.2 MB, free: 2.859 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003325/0.01411, allocations: 329.6 kB / 296.5 MB, free: 2.496 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.01412, allocations: 7.938 kB / 296.5 MB, free: 2.488 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.993e-05/0.01414, allocations: 8 kB / 296.5 MB, free: 2.48 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.853e-05/0.01417, allocations: 20.48 kB / 296.5 MB, free: 2.461 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002106/0.01438, allocations: 184 kB / 296.7 MB, free: 2.281 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009805/0.01536, allocations: 1.348 MB / 298.1 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000333/0.01569, allocations: 263.2 kB / 298.3 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.074e-05/0.01575, allocations: 53.7 kB / 298.4 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.613e-05/0.01577, allocations: 4 kB / 298.4 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001976/0.01597, allocations: 194.2 kB / 298.6 MB, free: 296 kB / 282.7 MB Notification: Performance of pre-optimization done (n=30): time 1.212e-06/0.01597, allocations: 0 / 298.6 MB, free: 296 kB / 282.7 MB Notification: Performance of matching and sorting (n=30): time 0.0002625/0.01623, allocations: 188.9 kB / 298.8 MB, free: 100 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.727e-05/0.0163, allocations: 166.2 kB / 298.9 MB, free: 15.9 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000192/0.01649, allocations: 328.9 kB / 299.2 MB, free: 15.56 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.682e-05/0.01652, allocations: 38.2 kB / 299.3 MB, free: 15.52 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.152e-05/0.01659, allocations: 181.1 kB / 299.5 MB, free: 15.34 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.265e-05/0.01664, allocations: 107.1 kB / 299.6 MB, free: 15.23 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.082e-05/0.01671, allocations: 69.61 kB / 299.6 MB, free: 15.16 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.01e-05/0.01679, allocations: 350.7 kB / 300 MB, free: 14.81 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.2e-05/0.01686, allocations: 68.89 kB / 300 MB, free: 14.73 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001184/0.01698, allocations: 213.8 kB / 300.3 MB, free: 14.46 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001941/0.01717, allocations: 273.5 kB / 300.5 MB, free: 14.13 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.01718, allocations: 0 / 300.5 MB, free: 14.13 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0002389/0.01742, allocations: 291.4 kB / 300.8 MB, free: 13.82 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.374e-05/0.01745, allocations: 41.69 kB / 300.8 MB, free: 13.78 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.341e-06/0.01746, allocations: 4.5 kB / 300.8 MB, free: 13.77 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.01747, allocations: 4 kB / 300.9 MB, free: 13.77 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002402/0.01771, allocations: 111.7 kB / 301 MB, free: 13.66 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.01772, allocations: 8 kB / 301 MB, free: 13.65 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001134/0.01783, allocations: 43.77 kB / 301 MB, free: 13.61 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.864e-05/0.01785, allocations: 16 kB / 301 MB, free: 13.59 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 9.843e-05/0.01795, allocations: 141.2 kB / 301.2 MB, free: 13.45 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.725e-05/0.01798, allocations: 39.91 kB / 301.2 MB, free: 13.41 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002474/0.01823, allocations: 224.1 kB / 301.4 MB, free: 13.18 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.01824, allocations: 15.94 kB / 301.4 MB, free: 13.17 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-06/0.01824, allocations: 0 / 301.4 MB, free: 13.17 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.01824, allocations: 4 kB / 301.4 MB, free: 13.16 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003569/0.0186, allocations: 466.2 kB / 301.9 MB, free: 12.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.0186, allocations: 7.938 kB / 301.9 MB, free: 12.67 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001782/0.01878, allocations: 87.88 kB / 302 MB, free: 12.58 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.632e-05/0.01882, allocations: 47.64 kB / 302 MB, free: 12.54 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.01882, allocations: 4 kB / 302 MB, free: 12.53 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/0.01884, allocations: 11.98 kB / 302.1 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.01884, allocations: 4 kB / 302.1 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.01884, allocations: 0 / 302.1 MB, free: 12.52 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000202/0.01904, allocations: 246.2 kB / 302.3 MB, free: 12.24 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.465e-05/0.01908, allocations: 16 kB / 302.3 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.992e-05/0.01916, allocations: 19.97 kB / 302.3 MB, free: 12.21 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.773e-05/0.01922, allocations: 39.94 kB / 302.4 MB, free: 12.17 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/0.01923, allocations: 16 kB / 302.4 MB, free: 12.15 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.072e-05/0.01932, allocations: 123.6 kB / 302.5 MB, free: 12.03 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01932, allocations: 0 / 302.5 MB, free: 12.03 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002416/0.01956, allocations: 127.7 kB / 302.6 MB, free: 11.91 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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.disturbance.count,windFarm.wind.nextTimeEvent,windFarm.wind.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 36 * 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.001384/0.02095, allocations: 0.7249 MB / 303.4 MB, free: 11.58 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002506/0.0212, allocations: 270.6 kB / 303.6 MB, free: 11.3 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.066e-05/0.02121, allocations: 4 kB / 303.6 MB, free: 11.29 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001262/0.02134, allocations: 124.6 kB / 303.7 MB, free: 11.17 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003383/0.02167, allocations: 0.5031 MB / 304.3 MB, free: 10.59 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003559/0.02523, allocations: 0.6897 MB / 304.9 MB, free: 9.855 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.516e-05/0.0253, allocations: 122.1 kB / 305.1 MB, free: 9.719 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001224/0.02542, allocations: 59.25 kB / 305.1 MB, free: 9.66 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001759/0.0256, allocations: 139.3 kB / 305.3 MB, free: 9.523 MB / 298.7 MB Notification: Performance of SimCode: time 6.91e-07/0.0256, allocations: 0 / 305.3 MB, free: 9.523 MB / 298.7 MB Notification: Performance of Templates: time 0.007655/0.03325, allocations: 6.367 MB / 311.6 MB, free: 3.223 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.makefile [Timeout 660] (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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.mat","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8740130718797445]