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.001497/0.001497, allocations: 87.58 kB / 21.19 MB, free: 3.383 MB / 18.57 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.00165/0.00165, allocations: 165 kB / 24.56 MB, free: 16 kB / 18.57 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 1.011/1.011, allocations: 177.1 MB / 205 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.2321/0.2321, allocations: 29.43 MB / 290.9 MB, free: 2.508 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 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="Time|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="Time|inverter.I|windFarm.p.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.684e-06/1.684e-06, allocations: 0 / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.64e-05/2.808e-05, allocations: 6.312 kB / 369.6 MB, free: 10.99 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest): time 0.005755/0.005783, allocations: 4.171 MB / 373.8 MB, free: 6.797 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003585/0.009369, allocations: 2.15 MB / 376 MB, free: 4.637 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003345/0.009703, allocations: 15.88 kB / 376 MB, free: 4.621 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009155/0.01062, allocations: 298.6 kB / 376.3 MB, free: 4.328 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009522/0.01157, allocations: 358.1 kB / 376.6 MB, free: 3.977 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009125/0.01248, allocations: 354.5 kB / 377 MB, free: 3.629 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008064/0.01329, allocations: 0.6389 MB / 377.6 MB, free: 2.988 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004597/0.01375, allocations: 230.1 kB / 377.8 MB, free: 2.77 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006801/0.01443, allocations: 359 kB / 378.2 MB, free: 2.418 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004222/0.01485, allocations: 235.4 kB / 378.4 MB, free: 2.188 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.453e-05/0.01494, allocations: 44 kB / 378.5 MB, free: 2.145 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009063/0.01584, allocations: 474.6 kB / 378.9 MB, free: 1.68 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001728/0.01602, allocations: 151.5 kB / 379.1 MB, free: 1.531 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001627/0.01618, allocations: 131.7 kB / 379.2 MB, free: 1.402 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001082/0.01726, allocations: 0.6035 MB / 379.8 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.01726, allocations: 4 kB / 379.8 MB, free: 0.793 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.01727, allocations: 4 kB / 379.8 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.007e-05/0.01728, allocations: 0 / 379.8 MB, free: 0.7891 MB / 346.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.00123/0.01851, allocations: 0.8138 MB / 380.6 MB, free: 15.93 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.01855, allocations: 11.98 kB / 380.6 MB, free: 15.92 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009434/0.01949, allocations: 196.1 kB / 380.8 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005201/0.02001, allocations: 353 kB / 381.2 MB, free: 15.35 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.719e-05/0.02004, allocations: 16.86 kB / 381.2 MB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.952e-05/0.02008, allocations: 24.38 kB / 381.2 MB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005504/0.02063, allocations: 364.3 kB / 381.6 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.02064, allocations: 7.875 kB / 381.6 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.737e-05/0.02067, allocations: 8 kB / 381.6 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.422e-05/0.0207, allocations: 24.48 kB / 381.6 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004771/0.02118, allocations: 258.6 kB / 381.9 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001881/0.02306, allocations: 1.874 MB / 383.7 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005901/0.02365, allocations: 286.1 kB / 384 MB, free: 12.33 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001313/0.02378, allocations: 67.34 kB / 384.1 MB, free: 12.26 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.899e-05/0.0238, allocations: 4 kB / 384.1 MB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002941/0.02409, allocations: 226.7 kB / 384.3 MB, free: 11.99 MB / 362.7 MB Notification: Performance of pre-optimization done (n=30): time 1.784e-06/0.02409, allocations: 0 / 384.3 MB, free: 11.99 MB / 362.7 MB Notification: Performance of matching and sorting (n=30): time 0.0006344/0.02473, allocations: 324.6 kB / 384.6 MB, free: 11.67 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.433e-05/0.02482, allocations: 239.3 kB / 384.9 MB, free: 11.38 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003526/0.02518, allocations: 390.7 kB / 385.2 MB, free: 10.98 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.6e-05/0.02521, allocations: 37.7 kB / 385.3 MB, free: 10.94 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001497/0.02536, allocations: 259.2 kB / 385.5 MB, free: 10.68 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.021e-05/0.02544, allocations: 111.1 kB / 385.6 MB, free: 10.57 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/0.02555, allocations: 83.3 kB / 385.7 MB, free: 10.48 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.02572, allocations: 0.5196 MB / 386.2 MB, free: 9.949 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001575/0.02587, allocations: 82.05 kB / 386.3 MB, free: 9.859 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002421/0.02612, allocations: 293.8 kB / 386.6 MB, free: 9.477 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003921/0.02651, allocations: 351.4 kB / 386.9 MB, free: 9.047 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.02651, allocations: 4 kB / 386.9 MB, free: 9.043 MB / 362.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005854/0.0271, allocations: 404.5 kB / 387.3 MB, free: 8.629 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.284e-05/0.02713, allocations: 37.69 kB / 387.4 MB, free: 8.586 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.02714, allocations: 4 kB / 387.4 MB, free: 8.582 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.02716, allocations: 8 kB / 387.4 MB, free: 8.574 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002608/0.02742, allocations: 95.77 kB / 387.5 MB, free: 8.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.02743, allocations: 4 kB / 387.5 MB, free: 8.477 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001964/0.02762, allocations: 51.72 kB / 387.5 MB, free: 8.426 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.555e-05/0.02766, allocations: 19.98 kB / 387.6 MB, free: 8.406 MB / 362.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.0001397/0.0278, allocations: 188.5 kB / 387.7 MB, free: 8.211 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.734e-05/0.02788, allocations: 55.7 kB / 387.8 MB, free: 8.156 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004964/0.02837, allocations: 316.6 kB / 388.1 MB, free: 7.84 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-06/0.02838, allocations: 8 kB / 388.1 MB, free: 7.832 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.02838, allocations: 3.938 kB / 388.1 MB, free: 7.828 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.02839, allocations: 4 kB / 388.1 MB, free: 7.824 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007375/0.02913, allocations: 0.9387 MB / 389.1 MB, free: 6.824 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.02913, allocations: 128 / 389.1 MB, free: 6.824 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002036/0.02934, allocations: 75.84 kB / 389.1 MB, free: 6.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/0.02934, allocations: 4 kB / 389.1 MB, free: 6.746 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.55e-05/0.02937, allocations: 15.98 kB / 389.2 MB, free: 6.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.477e-06/0.02937, allocations: 0 / 389.2 MB, free: 6.73 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.02937, allocations: 7.938 kB / 389.2 MB, free: 6.723 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005034/0.02988, allocations: 389.1 kB / 389.5 MB, free: 6.297 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003103/0.03019, allocations: 47.62 kB / 389.6 MB, free: 6.25 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.487e-05/0.03024, allocations: 12 kB / 389.6 MB, free: 6.238 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001275/0.03037, allocations: 23.98 kB / 389.6 MB, free: 6.215 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.301e-05/0.03045, allocations: 39.88 kB / 389.7 MB, free: 6.176 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.697e-05/0.03048, allocations: 19.98 kB / 389.7 MB, free: 6.156 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002596/0.03074, allocations: 255.1 kB / 389.9 MB, free: 5.906 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.03074, allocations: 0 / 389.9 MB, free: 5.906 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004682/0.03121, allocations: 115.8 kB / 390 MB, free: 5.793 MB / 362.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.disturbance.count,windFarm.wind.nextTimeEvent,windFarm.wind.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 34 * 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.001272/0.03248, allocations: 0.515 MB / 390.6 MB, free: 5.461 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004727/0.03295, allocations: 297.7 kB / 390.9 MB, free: 5.148 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.03295, allocations: 0 / 390.9 MB, free: 5.148 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001855/0.03314, allocations: 123.7 kB / 391 MB, free: 5.023 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004002/0.03354, allocations: 94.5 kB / 391.1 MB, free: 4.941 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001507/0.03505, allocations: 0.6922 MB / 391.8 MB, free: 4.191 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.165e-05/0.03514, allocations: 114.1 kB / 391.9 MB, free: 4.062 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002029/0.03534, allocations: 79.2 kB / 391.9 MB, free: 3.98 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001206/0.03546, allocations: 52.42 kB / 392 MB, free: 3.93 MB / 362.7 MB Notification: Performance of SimCode: time 8.41e-07/0.03546, allocations: 0 / 392 MB, free: 3.93 MB / 362.7 MB Notification: Performance of Templates: time 0.01038/0.04584, allocations: 6.039 MB / 398 MB, free: 13.95 MB / 378.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.374215873889625]