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.001331/0.001331, allocations: 71.77 kB / 21.69 MB, free: 2.852 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.001519/0.001519, allocations: 166.6 kB / 24.99 MB, free: 8.789 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 0.9634/0.9634, allocations: 177.1 MB / 205.3 MB, free: 5.621 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.2499/0.2499, allocations: 29.42 MB / 291.2 MB, free: 2.504 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.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.653e-06/1.653e-06, allocations: 0 / 369.6 MB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.493e-05/2.658e-05, allocations: 5.969 kB / 369.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest): time 0.004448/0.004475, allocations: 4.37 MB / 374 MB, free: 6.926 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002836/0.007311, allocations: 2.602 MB / 376.6 MB, free: 4.312 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002236/0.007535, allocations: 15.88 kB / 376.6 MB, free: 4.297 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007608/0.008296, allocations: 346.4 kB / 376.9 MB, free: 3.957 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007176/0.009014, allocations: 390 kB / 377.3 MB, free: 3.574 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006924/0.009706, allocations: 362.5 kB / 377.7 MB, free: 3.219 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006332/0.01034, allocations: 0.6389 MB / 378.3 MB, free: 2.578 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003588/0.0107, allocations: 226.1 kB / 378.5 MB, free: 2.363 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005498/0.01125, allocations: 370.9 kB / 378.9 MB, free: 2 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002925/0.01154, allocations: 235.4 kB / 379.1 MB, free: 1.77 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.747e-05/0.01159, allocations: 40 kB / 379.2 MB, free: 1.73 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006826/0.01227, allocations: 0.5101 MB / 379.7 MB, free: 1.219 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001429/0.01241, allocations: 143.6 kB / 379.8 MB, free: 1.078 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001249/0.01254, allocations: 135.7 kB / 379.9 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007886/0.01333, allocations: 0.6152 MB / 380.6 MB, free: 336 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.01333, allocations: 0 / 380.6 MB, free: 336 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.01333, allocations: 4 kB / 380.6 MB, free: 332 kB / 346.7 MB Notification: Performance of Transformations before backend: time 8.646e-06/0.01334, allocations: 4 kB / 380.6 MB, free: 328 kB / 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.0009919/0.01434, allocations: 0.8254 MB / 381.4 MB, free: 15.45 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.01437, allocations: 11.98 kB / 381.4 MB, free: 15.44 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007955/0.01517, allocations: 192.2 kB / 381.6 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004449/0.01561, allocations: 349.1 kB / 381.9 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.472e-05/0.01564, allocations: 24.86 kB / 382 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.316e-05/0.01567, allocations: 20.38 kB / 382 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004621/0.01613, allocations: 364.2 kB / 382.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.01614, allocations: 3.938 kB / 382.3 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.965e-05/0.01617, allocations: 15.98 kB / 382.4 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.441e-05/0.01621, allocations: 20.48 kB / 382.4 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003754/0.01658, allocations: 262.6 kB / 382.6 MB, free: 14.13 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00138/0.01796, allocations: 1.874 MB / 384.5 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004896/0.01845, allocations: 277.9 kB / 384.8 MB, free: 11.86 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001085/0.01856, allocations: 71.33 kB / 384.8 MB, free: 11.79 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.01858, allocations: 4 kB / 384.9 MB, free: 11.78 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002685/0.01885, allocations: 230.7 kB / 385.1 MB, free: 11.51 MB / 362.7 MB Notification: Performance of pre-optimization done (n=30): time 1.773e-06/0.01885, allocations: 3.938 kB / 385.1 MB, free: 11.51 MB / 362.7 MB Notification: Performance of matching and sorting (n=30): time 0.0005132/0.01936, allocations: 311.9 kB / 385.4 MB, free: 11.2 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.256e-05/0.01945, allocations: 255.9 kB / 385.6 MB, free: 10.89 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002854/0.01974, allocations: 382.7 kB / 386 MB, free: 10.51 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.29e-05/0.01977, allocations: 41.7 kB / 386 MB, free: 10.46 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001248/0.0199, allocations: 259.3 kB / 386.3 MB, free: 10.2 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.405e-05/0.01996, allocations: 107.2 kB / 386.4 MB, free: 10.09 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.567e-05/0.02005, allocations: 79.3 kB / 386.5 MB, free: 10.01 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.02018, allocations: 0.5196 MB / 387 MB, free: 9.477 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001208/0.0203, allocations: 82.03 kB / 387.1 MB, free: 9.387 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001955/0.0205, allocations: 301.8 kB / 387.4 MB, free: 8.996 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003116/0.02081, allocations: 343.5 kB / 387.7 MB, free: 8.574 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.02081, allocations: 0 / 387.7 MB, free: 8.574 MB / 362.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004505/0.02127, allocations: 420.6 kB / 388.1 MB, free: 8.145 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.044e-05/0.0213, allocations: 33.7 kB / 388.2 MB, free: 8.105 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.0213, allocations: 4 kB / 388.2 MB, free: 8.102 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.02132, allocations: 4 kB / 388.2 MB, free: 8.098 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002026/0.02152, allocations: 99.75 kB / 388.3 MB, free: 8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/0.02153, allocations: 8 kB / 388.3 MB, free: 7.992 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001331/0.02166, allocations: 43.72 kB / 388.3 MB, free: 7.949 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.21e-05/0.02169, allocations: 20 kB / 388.3 MB, free: 7.93 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.0001254/0.02181, allocations: 200.4 kB / 388.5 MB, free: 7.723 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.598e-05/0.02187, allocations: 47.77 kB / 388.6 MB, free: 7.676 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004018/0.02227, allocations: 316.5 kB / 388.9 MB, free: 7.359 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.229e-06/0.02227, allocations: 4 kB / 388.9 MB, free: 7.355 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.02228, allocations: 7.938 kB / 388.9 MB, free: 7.348 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.02229, allocations: 3.984 kB / 388.9 MB, free: 7.344 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005957/0.02288, allocations: 0.9349 MB / 389.8 MB, free: 6.348 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.02288, allocations: 0 / 389.8 MB, free: 6.348 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001571/0.02304, allocations: 79.95 kB / 389.9 MB, free: 6.27 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.02305, allocations: 3.938 kB / 389.9 MB, free: 6.266 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.945e-05/0.02306, allocations: 12 kB / 389.9 MB, free: 6.254 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.02307, allocations: 7.938 kB / 389.9 MB, free: 6.246 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.02307, allocations: 3.984 kB / 389.9 MB, free: 6.242 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004038/0.02348, allocations: 392.9 kB / 390.3 MB, free: 5.812 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.189e-05/0.02352, allocations: 47.64 kB / 390.4 MB, free: 5.766 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.317e-05/0.02356, allocations: 19.98 kB / 390.4 MB, free: 5.746 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.727e-05/0.02366, allocations: 19.98 kB / 390.4 MB, free: 5.727 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.456e-05/0.02373, allocations: 39.94 kB / 390.4 MB, free: 5.688 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.083e-05/0.02375, allocations: 16 kB / 390.5 MB, free: 5.672 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001741/0.02393, allocations: 259.1 kB / 390.7 MB, free: 5.418 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02393, allocations: 0 / 390.7 MB, free: 5.418 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000327/0.02425, allocations: 115.8 kB / 390.8 MB, free: 5.305 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.001022/0.02528, allocations: 0.5011 MB / 391.3 MB, free: 4.984 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000393/0.02567, allocations: 300.7 kB / 391.6 MB, free: 4.668 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.02567, allocations: 5.062 kB / 391.6 MB, free: 4.664 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001476/0.02582, allocations: 123.8 kB / 391.8 MB, free: 4.539 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003111/0.02613, allocations: 87.72 kB / 391.8 MB, free: 4.457 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001224/0.02735, allocations: 0.6803 MB / 392.5 MB, free: 3.719 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.427e-05/0.02743, allocations: 130 kB / 392.6 MB, free: 3.574 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001573/0.02759, allocations: 83.2 kB / 392.7 MB, free: 3.488 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.388e-05/0.02768, allocations: 44.48 kB / 392.8 MB, free: 3.445 MB / 362.7 MB Notification: Performance of SimCode: time 8.72e-07/0.02768, allocations: 0 / 392.8 MB, free: 3.445 MB / 362.7 MB Notification: Performance of Templates: time 0.007666/0.03535, allocations: 5.63 MB / 398.4 MB, free: 13.87 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.227746567921713]