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.000979/0.000979, allocations: 81.86 kB / 21.42 MB, free: 3.074 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.001466/0.001466, allocations: 169.1 kB / 24.82 MB, free: 8.32 MB / 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.031/1.031, allocations: 177.1 MB / 205.2 MB, free: 5.512 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.2445/0.2445, allocations: 29.43 MB / 291.2 MB, free: 2.379 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.863e-06/1.863e-06, allocations: 0 / 370.1 MB, free: 10.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.33e-05/2.517e-05, allocations: 5.828 kB / 370.1 MB, free: 10.72 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest): time 0.004206/0.004231, allocations: 4.141 MB / 374.2 MB, free: 6.551 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002436/0.006667, allocations: 2.123 MB / 376.4 MB, free: 4.418 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002162/0.006883, allocations: 15.88 kB / 376.4 MB, free: 4.402 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007459/0.007629, allocations: 290.6 kB / 376.7 MB, free: 4.117 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001003/0.008632, allocations: 362.1 kB / 377 MB, free: 3.762 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007265/0.009358, allocations: 358.5 kB / 377.4 MB, free: 3.41 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005467/0.009905, allocations: 0.6272 MB / 378 MB, free: 2.781 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003032/0.01021, allocations: 238.1 kB / 378.2 MB, free: 2.555 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004982/0.01071, allocations: 358.9 kB / 378.6 MB, free: 2.203 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002963/0.011, allocations: 231.4 kB / 378.8 MB, free: 1.977 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.006e-05/0.01105, allocations: 44 kB / 378.9 MB, free: 1.934 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006734/0.01173, allocations: 474.7 kB / 379.3 MB, free: 1.469 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000132/0.01186, allocations: 147.6 kB / 379.5 MB, free: 1.324 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001171/0.01197, allocations: 139.6 kB / 379.6 MB, free: 1.188 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006844/0.01266, allocations: 0.6074 MB / 380.2 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.01266, allocations: 0 / 380.2 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.01266, allocations: 0 / 380.2 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.9e-06/0.01267, allocations: 0 / 380.2 MB, free: 0.5781 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.001236/0.0139, allocations: 0.8215 MB / 381 MB, free: 15.71 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.01395, allocations: 19.98 kB / 381 MB, free: 15.69 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006569/0.01461, allocations: 180.2 kB / 381.2 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003621/0.01497, allocations: 341 kB / 381.6 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.415e-05/0.01499, allocations: 20.88 kB / 381.6 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.025e-05/0.01502, allocations: 28.36 kB / 381.6 MB, free: 15.1 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003793/0.0154, allocations: 340.3 kB / 381.9 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.01542, allocations: 7.875 kB / 381.9 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.572e-05/0.01544, allocations: 8 kB / 381.9 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.2e-05/0.01547, allocations: 24.48 kB / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002444/0.01572, allocations: 189.2 kB / 382.2 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001508/0.01723, allocations: 1.877 MB / 384 MB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003977/0.01762, allocations: 250.2 kB / 384.3 MB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.218e-05/0.0177, allocations: 55.34 kB / 384.3 MB, free: 12.19 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.533e-05/0.01772, allocations: 8 kB / 384.3 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002441/0.01797, allocations: 218.6 kB / 384.6 MB, free: 11.92 MB / 362.7 MB Notification: Performance of pre-optimization done (n=30): time 2.234e-06/0.01797, allocations: 4 kB / 384.6 MB, free: 11.92 MB / 362.7 MB Notification: Performance of matching and sorting (n=30): time 0.000434/0.0184, allocations: 295.9 kB / 384.8 MB, free: 11.62 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.497e-05/0.01848, allocations: 239.3 kB / 385.1 MB, free: 11.34 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002472/0.01872, allocations: 382.5 kB / 385.5 MB, free: 10.95 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.708e-05/0.01875, allocations: 33.7 kB / 385.5 MB, free: 10.91 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/0.01887, allocations: 264 kB / 385.7 MB, free: 10.64 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.762e-05/0.01893, allocations: 107.1 kB / 385.9 MB, free: 10.54 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.992e-05/0.01901, allocations: 91.2 kB / 385.9 MB, free: 10.44 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.01914, allocations: 0.5234 MB / 386.5 MB, free: 9.906 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.504e-05/0.01922, allocations: 66.05 kB / 386.5 MB, free: 9.832 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001681/0.01938, allocations: 293.8 kB / 386.8 MB, free: 9.449 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002401/0.01962, allocations: 327.4 kB / 387.1 MB, free: 9.043 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.01963, allocations: 0 / 387.1 MB, free: 9.043 MB / 362.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0003888/0.02002, allocations: 384.1 kB / 387.5 MB, free: 8.648 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.002e-05/0.02006, allocations: 44.34 kB / 387.6 MB, free: 8.602 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.02006, allocations: 4.562 kB / 387.6 MB, free: 8.598 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/0.02008, allocations: 12 kB / 387.6 MB, free: 8.586 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001954/0.02028, allocations: 87.77 kB / 387.7 MB, free: 8.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.924e-06/0.02029, allocations: 8 kB / 387.7 MB, free: 8.492 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001415/0.02043, allocations: 47.72 kB / 387.7 MB, free: 8.445 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.153e-05/0.02045, allocations: 23.98 kB / 387.7 MB, free: 8.422 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.000139/0.02059, allocations: 192.3 kB / 387.9 MB, free: 8.223 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.832e-05/0.02065, allocations: 47.77 kB / 388 MB, free: 8.176 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003591/0.02101, allocations: 292.6 kB / 388.3 MB, free: 7.883 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.201e-06/0.02101, allocations: 11.98 kB / 388.3 MB, free: 7.871 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.02102, allocations: 7.938 kB / 388.3 MB, free: 7.863 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.02102, allocations: 0 / 388.3 MB, free: 7.863 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005275/0.02155, allocations: 0.8846 MB / 389.2 MB, free: 6.926 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.02155, allocations: 0 / 389.2 MB, free: 6.926 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001534/0.0217, allocations: 71.91 kB / 389.2 MB, free: 6.855 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.02171, allocations: 7.938 kB / 389.2 MB, free: 6.848 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/0.02172, allocations: 11.98 kB / 389.2 MB, free: 6.836 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.02173, allocations: 8.125 kB / 389.3 MB, free: 6.828 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.02173, allocations: 3.938 kB / 389.3 MB, free: 6.824 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003371/0.02207, allocations: 373 kB / 389.6 MB, free: 6.414 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.927e-05/0.02211, allocations: 43.69 kB / 389.7 MB, free: 6.371 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.644e-05/0.02214, allocations: 11.94 kB / 389.7 MB, free: 6.359 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.02225, allocations: 23.98 kB / 389.7 MB, free: 6.336 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.496e-05/0.02232, allocations: 35.88 kB / 389.7 MB, free: 6.301 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.318e-05/0.02234, allocations: 19.98 kB / 389.8 MB, free: 6.281 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001485/0.02249, allocations: 243 kB / 390 MB, free: 6.043 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.02249, allocations: 4 kB / 390 MB, free: 6.039 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003321/0.02282, allocations: 115.8 kB / 390.1 MB, free: 5.926 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.001166/0.02399, allocations: 0.5088 MB / 390.6 MB, free: 5.602 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003187/0.02431, allocations: 284.7 kB / 390.9 MB, free: 5.301 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.02431, allocations: 0 / 390.9 MB, free: 5.301 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004152/0.02473, allocations: 108.8 kB / 391 MB, free: 5.191 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003002/0.02503, allocations: 88.7 kB / 391.1 MB, free: 5.109 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/0.02609, allocations: 0.6804 MB / 391.8 MB, free: 4.371 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.891e-05/0.02617, allocations: 118.1 kB / 391.9 MB, free: 4.238 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001343/0.0263, allocations: 67.25 kB / 392 MB, free: 4.168 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001793/0.02648, allocations: 150.2 kB / 392.1 MB, free: 4.02 MB / 362.7 MB Notification: Performance of SimCode: time 9.92e-07/0.02648, allocations: 3.938 kB / 392.1 MB, free: 4.016 MB / 362.7 MB Notification: Performance of Templates: time 0.008166/0.03465, allocations: 6.172 MB / 398.3 MB, free: 13.91 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.1958509841933846]